点击登录里的确认就报错(小白)
C:\Users\xxx\AppData\Local\Programs\Python\Python312\python.exe D:\桌面\小游戏.py
Exception in Tkinter callback
Traceback (most recent call last):
File “C:\Users\xxx\AppData\Local\Programs\Python\Python312\Lib\tkinter_init_.py”, line 1948, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File “D:\桌面\小游戏.py”, line 78, in getTextInput
root = eval(file.read())
^^^^^^^^^^^^^^^^^
File ““, line 1
管理:False
^
SyntaxError: invalid syntax
推荐文章: