from sprites import Screen,showerror screen = Screen() screen.setup(480,360) r = showerror('提示','有错误') print(r) screen.mainloop()