我想在paraview中包含的python shell中导入基本函数。我试过:
import os
os.chdir('/path/to/my/directory')
import hello_world
结果是:
Traceback (most recent call last):
File "<console>", line 1, in <module>
NameError: name 'hello_world' is not defined
我打个招呼_世界.py在目录中。。。你知道吗
Tags:
请尝试以下操作:
相关问题 更多 >
编程相关推荐