TKinter label

hello comunity, i have a problem (again) i practice with TKinter in a platform online and i have this from Tkinter import * class interfaz: def __init__(self, contenedor): self.e1=Label(contenedor, text="pestaña 1") self.e2=Label(contenedor, text="pestaña 2") self.e3=Label(contenedor, text="pestaña 3") self.e1.pack (side=TOP) self.e2.pack (side=RIGHT) self.e3.pack (side=BOTTOM) ventana = Tk() miinterfaz = interfaz(ventana) ventana.mainloop() the IDE launch a SyntaxError: Non-ASCII character in line 4 but i don't find what is. could you help me?

18th Jan 2018, 4:09 PM
Daniel H. Cortez
Daniel H. Cortez - avatar
0 Answer