我已经用pygame,easygui和shelve在python中制作了一个简单的赛车游戏。我完成了游戏,并且从闲置和从我的.desktop文件中运行都很好。之后,我决定尝试添加高分系统。该系统在闲置状态下工作良好,但从.desktop文件中,我收到了一个错误“致命的python错误:(pygame降落伞)分段错误。”我真的想留在游戏中的排行榜系统,因此任何帮助将是appreciated.` if
我想在Python 3.3上安装EasyGui,我没有看到它。我已经得到它与Python 2.7的工作,但不是3.3。 我将从他们的网站上的说明: Unpack the archive file into a temporary directory Open a console window and navigate to the temporary directory. At the comma
这是我在Python中的第二个程序。我似乎对我的进步感到满意。问题是我试图做的是: choice=eg.ynbox(msg='wat to do')
for["true","1"] in choice:
print("yes")
for["false","0"] in choice:
print("no")
问题是,这对于条件不起作用。我在查看前一个问题的答案时看到