标签: python module
我有2个文件,tictactoe.py和tictactoe_functions.py。两者都在同一个文件夹中,tictactoe.py通过
import tictactoe_functions
这会显示错误消息“没有名为tictactoe_functions的模块”。
我在学校的电脑上试过这个,它在那里工作,但不在我的私人电脑上。学校计算机运行linux,如果相关,则使用Windows 8。
如何解决此问题,以便导入模块?