Python 3.x 如何从另一个子包中导入另一个子包中的python文件
如何在python中从file2内部导入file1Python 3.x 如何从另一个子包中导入另一个子包中的python文件,python-3.x,package,python-import,python-module,Python 3.x,Package,Python Import,Python Module,如何在python中从file2内部导入file1 /project /packages /subpack1 __init__.py file1.py /subpack2 __init__.py file2.py
/project
/packages
/subpack1
__init__.py
file1.py
/subpack2
__init__.py
file2.py