PYTHONPATH prevents import from current directory

前端 未结 0 1857
孤城傲影
孤城傲影 2021-01-29 21:20

I a Python project, I import code from a module that resides in the \'current\' directory, in ./DIR/module.py:

import DIR.module 

Th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题