Cannot import a module in Python

后端 未结 0 1441
星月不相逢
星月不相逢 2021-01-13 05:03

I have a following problem. I would like to import a module. My folder contains files A.py and B.py. In A.py I tried:

from . import B

and

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