【发布时间】:2021-05-06 11:07:19
【问题描述】:
我使用的是 python 3,我的文件夹结构如下
Main_Folder
> Export
> >exportmanager.py
> Examples
> >test.py
exportmanager.py 文件有一个 ExportManager 类,我需要在 test.py 中导入它。 到目前为止我已经尝试过
from Export.exportmanager import ExportManager
from Main_Folder.Export import exportmanager.py then from exportmanager.py import ExportManager
和其他一些。 但我一直找不到模块。
【问题讨论】:
标签: python python-3.x import