【发布时间】:2011-10-09 16:02:24
【问题描述】:
我在“lib/lib_add_participant.py”位置有一个 python 文件。我在文件中声明了一个类。
现在我想从文件 call_participant.py 中调用类函数。
我试过这个代码from lib/lib_add_participant.py import LibAddParticipant
它不起作用。请纠正我(我来自 Ruby)。
【问题讨论】:
标签: python class python-3.x