Tkinter - Writing Better Code
HTML-код
- Опубликовано: 21 июл 2024
- I'll show you poorly written Tkinter code compared with better Tkinter code and I'll explain why it's better.
The tips in this video apply to both Tkinter and Python coding in general.
Please consider supporting my work with your donations on Ko-fi:
ko-fi.com/jobinpy
0:00 Intro
1:11 Import statement issue
7:03 Tk widgets vs Ttk widgets
9:11 Instantiating and placing widgets
11:25 Use classes
12:10 Use grid or pack more than place
13:33 Well written code
15:58 Readability of code
17:45 Outro
#tkinter #pythongui #pythonguitutorial Наука
I really wish you went over the other points as in depth as you did the first section
Very useful, thank you.
Glad it was helpful!
This is a good topic. please also make a video on how to place project in different files.
I will add that idea to my list of video topics. Thanks!
As a beginner you are sometimes glad if the code does that what you want it to do, for the price that it is a result of fiddeling around. By the lack of experience, it gets circuitous.
We should get together somehow and code together a tutorial. I can ask the q and you can answer. What u think?