Closed Linkdash2019 closed 1 year ago
I can see that tkinter is installed to this python client but when run I get the error below (program worked fine on widows pc) this is my code:
import time from tkinter import * from tkinter import ttk
if name == 'main': print('3DS.py brings Python to your Nintendo 3DS!')
print('starting up program in 3') time.sleep(1) print('2') time.sleep(1) print('1') time.sleep(1)
root = Tk() frm = ttk.Frame(root, padding=10) frm.grid() ttk.Label(frm, text="Hello World!").grid(column=0, row=0) ttk.Button(frm, text="Quit", command=root.destroy).grid(column=1, row=0) root.mainloop()
you cannot use tkinter with 3ds.py
Dang :/ thanks for letting me know!
imagine if you could though that would be cursed XD
I can see that tkinter is installed to this python client but when run I get the error below (program worked fine on widows pc)
this is my code:
import time from tkinter import * from tkinter import ttk
if name == 'main': print('3DS.py brings Python to your Nintendo 3DS!')
print('starting up program in 3') time.sleep(1) print('2') time.sleep(1) print('1') time.sleep(1)
root = Tk() frm = ttk.Frame(root, padding=10) frm.grid() ttk.Label(frm, text="Hello World!").grid(column=0, row=0) ttk.Button(frm, text="Quit", command=root.destroy).grid(column=1, row=0) root.mainloop()