我具有以下文件夹结构
Folder
Folder1
->File1.py
->File2.py
-> import File1.py
Folder2
->File1.py
->File2.py
-> import File1.py
在这种情况下,当我从Folder Directory python运行Folder2的File2.py时,是从Folder1而不是Folder2导入File1.py。
我具有以下文件夹结构Folder Folder1-> File1.py-> File2.py-> import File1.py Folder2-> File1.py-> File2.py -...