sha*_*hin 3 python python-2.7 codeskulptor
我在 Eclipse 中安装了 PyDev 来运行 Python 程序,但我\xe2\x80\x99m 在导入simplegui. 它向我展示了这个错误:
\n\n\nRun Code Online (Sandbox Code Playgroud)\n\nimport simplegui\n\n
ImportError: 没有命名的模块simplegui
我安装的PyDev版本是2.7.1。
\n您可以使用SimpleGUICS2Pygame。 只需在 CodeSkulptor 程序中将import simplegui更改 为 import SimpleGUICS2Pygame.simpleguics2pygame as simplegui并在标准 Python 中运行它