Skip to content Skip to sidebar Skip to footer

What Is The Python Equivalent Of Mark Directory As Source In Pycharm?

Context: An API I am trying to use shows every example in PyCharm. But I can't get PyCharm to work on my PC. I do have Python 3.7 installed and I run it off cmd and Sublime Text. W

Solution 1:

PyCharm adds Source Roots to PYTHONPATH in runtime. Try to mark some project directory as a source root and execute a script with the following content

import sys
print(sys.path)

Post a Comment for "What Is The Python Equivalent Of Mark Directory As Source In Pycharm?"