マイコード:Pythonの予期しないEOF解析中
def getAppHistory(self):
path = self.APP_STORAGE + "\\history.dat"
if os.path.exists(path):
hist_file = open(path, "r")
hist_data = hist_file.read()
else:
hist_file = open(path, "w")
hist_data = "[200, \"Empty\", \"You have no device history!\", \"self.Void\"]"
hist_file.write(hist_data)
self.conn_menu.append(eval(hist_data))
エラー: