在vscode中设置PYTHONPATH

2019-05-15
阅读 1 分钟
14.9k
In VS Code, PYTHONPATH affects debugging, linting, IntelliSense, unit testing, and any other operation that depends on Python resolving modules. For example, suppose you have source code in a src folder and tests in a tests folder. When running tests, however, they can't normally access modules i...