PyCharm 2020 does not see files in relative path

2020-05-23 python pycharm ide filepath

PyCharm 2020 does not see a file in a relative path, it works only for me if a set up the absolute path

I have tried all answers from Pycharm does not see files in relative path with ../

I marked the root directory as source root, but it's still not working.

I tested this with other editors and everything works fine there. Is this a general problem with PyCharm?

Answers

From what I saw from the post you referenced, the guy uses: '.../something/it.png'

I use in my Pyglet programs this formatting and it works: 'something/it.png'

Related