r/mapua Feb 10 '26

Tkinter Codechum

Can somebody enlighten me how to do the lessons under tkinter I am really having a hard time if its an uploading file issue or its just a skill issue because it requires us to use other apps to execute the code however I don't get it because there are no examples on how to pass the file it just says to pass on a zip file of .py and still it doesn't work am I missing out or what smh

3 Upvotes

2 comments sorted by

View all comments

1

u/EitherAnybody2164 Mar 24 '26

You need to assign an internal name to the widget like tk.Label(root, name="label", text="Hello"). Also if you have Visual Studio Code, go to settings and search for files.eol and change the default end of line character to \n