Is there a built-in Python function to add a custom module to the PYTHONPATH?

后端 未结 0 2027
礼貌的吻别
礼貌的吻别 2020-12-11 19:53

Every time I need to use absolute import, for example:

from my_package.my_module import my_function

I declare my package to the $PYTHON

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