No video

The ultimate introduction to modern GUIs in Python [ with tkinter ]

  Рет қаралды 921,853

Clear Code

Clear Code

Күн бұрын

This tutorial covers everything you need to know about user interfaces in Python. I will go over all of tkinter, Python's default GUI framework, cover all the basics and then create a BMI app, a calculator and a photoshop style image editor.
If you enjoy this course, consider buying the tutorial that covers 7 additional apps: A responsive weather app, the ios stopwatch, a stock market tracker, a map viewer, a paint app, a snake game and qr code generator.
Link to the paid course:
www.udemy.com/...
Other social stuff
Patreon - / clearcode
Twitter - / clear_coder
Discord - / discord
Code:
github.com/cle...
Timestamps:
00:00:00 - Intro
00:01:05 - Overview of tkinter + demo app
00:21:27 - Basic widgets
00:40:36 - Gettings and setting widget data
00:54:19 - Tkinter variables
01:06:06 - Buttons
01:32:34 - Buttons with arguments
01:40:37 - Events
01:53:40 - Combobox & Spinbox
02:10:08 - Canvas
02:34:41 - Treeview (Tables)
02:49:24 - sliders
03:08:49 - Frames & parenting
03:20:30 - Tabs
03:27:52 - Menus
03:46:51 - Customizing the window
04:04:28 - Layout intro
04:22:29 - Pack
04:46:18 - Pack + Parenting
05:01:46 - Grid
05:24:30 - Place
05:45:20 - Understanding widget sizes
05:51:34 - Stacking widgets
06:01:07 - Toggling widgets
06:17:28 - Combining layout methods
06:36:59 - Using classes
07:05:21 - Creating widgets in classes
07:25:56 - Responsive layouts
07:56:51 - Understanding scrolling
08:17:47 - Creating a scrollable frame
08:49:39 - Multiple windows
09:03:04 - Styling
09:17:50 - Using themes
09:25:49 - Colors
09:34:28 - Customtkinter
09:54:17 - Creating a ctk app
10:00:42 - ttkbootstrap
10:13:42 - ttkbootstrap editor
10:16:55 - ttkbootstrap extra widgets
10:40:11 - Animating widgets
11:11:03 - Using images
11:42:59 - Image animations
12:15:34 - Changing the title bar color
12:27:12 - BMI setup
12:36:54 - BMI widgets
13:01:04 - BMI functionality
13:16:01 - Metric units
13:24:57 - Imperial units
13:43:09 - Calculator setup
13:57:58 - Output labels
14:10:31 - Button setup
14:25:16 - Image buttons
14:34:58 - Number buttons
14:47:38 - Math buttons
15:00:32 - Calculator logic
15:21:45 - Extra operations
15:33:02 - Editor setup
15:46:19 - image import
15:57:28 - Scaling the image
16:10:39 - Closing the image
16:16:45 - Creating the menu
16:34:26 - Manipulating the image
16:56:17 - Managing the menu data
17:23:39 - Applying the effects
17:42:28 - Reverting the effects
17:53:44 - Creating the export panels
18:14:43 - Exporting the image

Пікірлер: 686
@ClearCode
@ClearCode Жыл бұрын
You can get the course here: www.udemy.com/course/learn-python-by-creating-10-apps/?referralCode=E9A57E5281220E6E8396
@101touchapps
@101touchapps Жыл бұрын
many thanks. am 80% into your game dev with python course. paid for that one. am happy i was able to snag this. but will surely support 🎉
@iporkedyourdog
@iporkedyourdog Жыл бұрын
I bought your course after watching the first ten minutes of this video. Is there any additional information on the Udemy course that isn't in this video(other than the additional projects)?
@abdulmajid-tc9pz
@abdulmajid-tc9pz Жыл бұрын
@@iporkedyourdog there is more in depth the course than this video , even though the course has 7+ extra course
@yonutzpenisoara
@yonutzpenisoara Жыл бұрын
Will you make it available for udemy business as well?
@md.moijeuddinmolla1328
@md.moijeuddinmolla1328 Жыл бұрын
Need time stamps man and thank you for this video.
@xxbongobazookaxx7170
@xxbongobazookaxx7170 8 ай бұрын
massive respect to anyone who uploads 18 hours of tutorials for free
@NSA.
@NSA. 3 ай бұрын
"ANYONE" Even %#%#%#%@+$&
@myavkat4586
@myavkat4586 2 ай бұрын
what do you mean even Taylor Swift? ​@@NSA.She already deserves it
@muslimgamerrr9479
@muslimgamerrr9479 2 ай бұрын
@@myavkat4586 ??
@usernqme124
@usernqme124 5 күн бұрын
@@myavkat4586 what is bro on
@mixlaproduction
@mixlaproduction Жыл бұрын
You deserve everything! Glad to see you back!
@ClearCode
@ClearCode Жыл бұрын
good to hear from you as well :)
@TheMrRuttazzo
@TheMrRuttazzo Жыл бұрын
Almost eighteen and a half hours of Tkinter introduction, and I'm not even through with the ultimate Pygame course yet. This is gonna be a looong week. 😵‍💫
@maxfrischdev
@maxfrischdev Жыл бұрын
At least worth it!
@Heynmffc
@Heynmffc Жыл бұрын
Welp. I’m your project check up bot, did this one get shoved in a folder with the rest?
@50lek
@50lek Жыл бұрын
@@Heynmffc lmao
@shahzaibhassan6504
@shahzaibhassan6504 Жыл бұрын
Only 1 week? Took me like 4 weeks. And learned pygame in like 3 days ( Still a beginner tho.).
@alexanderweigand6758
@alexanderweigand6758 10 ай бұрын
​@@HeynmffcNo, after some time listen to this I made a new folder for this. Sometime II will really watch this.
@deepakshetter6504
@deepakshetter6504 Жыл бұрын
Thanks for this tutorial. Really appreciate your work.
@ClearCode
@ClearCode Жыл бұрын
Thank you so much! :)
@tonnysocrates9741
@tonnysocrates9741 Жыл бұрын
I've completed this course. 18 and half hours. All I can say is thank you. You are a life saver
@efekaanbengi
@efekaanbengi 5 ай бұрын
English isn't my native but your explanation is so clear, that helps me that understand everything, thanks.
@potatocat6855
@potatocat6855 Жыл бұрын
i CANT BELIVE IT 18 hours of RAW knowledge great job keep it up
@biharilaszlo2410
@biharilaszlo2410 Жыл бұрын
Hey Christian! I am 13.5 hours in the tutorial, After making the bmi app, I now successfully finished my first individual customtkinter project which is an app converting fahrenheit to celsius and vica versa. I am very thankful for the work you do!
@daveys
@daveys 9 ай бұрын
I’m only at 1:01:04, but loving it so far. This is probably one of the most comprehensive explanations of tkinter that I’ve seen. Most of the other videos are “do this”, which leaves you thinking “I don’t really get this”, whereas your video really covers things thoroughly and also repeats it in different situations so you start to embed it. Thanks!!
@bepositive271
@bepositive271 9 ай бұрын
Now where you are
@MuhammadHanif-pq7eo
@MuhammadHanif-pq7eo 2 ай бұрын
@@bepositive271 i have completed the tutorial! thanks to clear code
@racconwarrior1235
@racconwarrior1235 Жыл бұрын
Timestamps: 00:00:00 - Intro 00:01:05 - Overview of tkinter + demo app 00:21:27 - Basic widgets 00:40:36 - Gettings and setting widget data 00:54:19 - Tkinter variables 01:06:06 - Buttons 01:32:34 - Buttons with arguments 01:40:37 - Events 01:53:40 - Combobox & Spinbox 02:10:08 - Canvas 02:34:41 - Treeview (Tables) 02:49:24 - sliders 03:08:49 - Frames & parenting 3:20:30 - Tabs 3:27:52 - Menus 3:46:51 - Customizing the window 04:04:28 - Layout intro 04:22:29 - Pack 04:46:18 - Pack + Parenting 05:01:46 - Grid 05:24:30 - Place 05:45:20 - Understanding widget sizes 05:51:34 - Stacking widgets 06:01:07 - Toggling widgets 06:17:28 - Combining layout methods 06:36:59 - Using classes 07:05:21 - Creating widgets in classes 07:25:56 - Responsive layouts 07:56:51 - Understanding scrolling 08:17:47 - Creating a scrollable frame 08:49:39 - Multiple windows 09:03:04 - Styling 09:17:50 - Using themes 09:25:49 - Colors 09:34:28 - Customtkinter 09:54:17 - Creating a ctk app 10:00:42 - ttkbootstrap 10:13:42 - ttkbootstrap editor 10:16:55 - ttkbootstrap extra widgets 10:40:11 - Animating widgets 11:11:03 - Using images 11:42:59 - Image animations 12:15:34 - Changing the title bar color 12:27:12 - BMI setup 12:36:54 - BMI widgets 13:01:04 - BMI functionality 13:16:01 - Metric units 13:24:57 - Imperial units 13:43:09 - Calculator setup 13:57:58 - Output labels 14:10:31 - Button setup 14:25:16 - Image buttons 14:34:58 - Number buttons 14:47:38 - Math buttons 15:00:32 - Calculator logic 15:21:45 - Extra operations 15:33:02 - Editor setup 15:46:19 - image import 15:57:28 - Scaling the image 16:10:39 - Closing the image 16:16:45 - Creating the menu 16:34:26 - Manipulating the image 16:56:17 - Managing the menu data 17:23:39 - Applying the effects 17:42:28 - Reverting the effects 17:53:44 - Creating the export panels 18:14:43 - Exporting the image
@tmck4138
@tmck4138 Жыл бұрын
Thank you. You are doing god’s work
@bepositive271
@bepositive271 Жыл бұрын
You just copied it from the descriptio .Right?
@IrfuTuber
@IrfuTuber Жыл бұрын
@@bepositive271 yep
@335haan5
@335haan5 11 ай бұрын
@ClearCode pls pin this
@bepositive271
@bepositive271 11 ай бұрын
@@335haan5Check the description
@JCode777
@JCode777 Жыл бұрын
This level of dedication is crazy - thanks for all your hard work!
@Clovis5119
@Clovis5119 Жыл бұрын
There's a quirk in the Spinbox exercise at 2:09:53 where it is not behaving as intended. Instead of printing the current value of the Spinbox after you decrement, it's printing the value you just decremented from. (When you go from B to A, it prints B when we actually want A). This is because when you use bind() to trigger a function, it executes *before* the StringVar is changed and the widget is updated. The order goes like this: - StringVar is 'B' and Spinbox displays 'B' - User clicks on decrement - bind() method triggers and prints the TkVar --> 'B' - TkVar decrements to the previous value --> 'A' - Spinbox now shows 'A' This issue doesn't occur when you use the built-in option to print the value, because it executes *after* the variable is changed. However the downside of is that it executes on both increments and decrements. So if you're trying to get the value of the Spinbox only on increments or decrements, but not both, then you need to know about this bind() method quirk because you'll need to work around it.
@kadirv
@kadirv 4 ай бұрын
Christian, cant thank you enough. Been on this for the past couple of weeks, going over each practice and exercise multiple times. Really great learning.
@enzym2004
@enzym2004 Ай бұрын
Just 1 hour into this, and already learned so much! This is awesome! And so thoroughly presented as well!
@Anurudh.S
@Anurudh.S 5 ай бұрын
This really is insane!! 18 hours of course and so far this feels so professional... like an actual paid course, even better than that. I feel guilty watching this for free but thanks you are really great.
@bepositive271
@bepositive271 Жыл бұрын
Day 1 : 32:46 (maked a app which can convert hour into minute or seconds and a app which can shutdown ,restart ,hibernate and logout the pc with os module ) Day 2 : 1:06:07 (Learned some concepts like -> window and widgets , getting widgets data and changing it , Tkinter Variable) Day 3: 1:32:43 (I learn the concepts of buttons and the Exercise is kinda hard but i was able to do it) Day 4 : 2:34:43 (Learned just too much about canvas i had to revise it but i maked a app which can make rectangle if press on rectangle button and it can also let you colour the object which a combobox and you can also change the colour of canvas by a combo box and a button and also you can make circles line and polygons) Day 5 : 2:40:51 (Not learned so much this day cause of some problems but yeah i am happy that i growed a little and yeah i also maked a app that shows random numbers and random names) Day 6: 3:04:00 (Learned about Treeview , sliders and scroll text and maked a Contact App) Day 7 : 3:25:00 (Learned about tabs) Day 8 : 3:40:00 (Learned about Menus it's a pretty hard one but understands it) Day 9 : 4:00:00 (Learned about window attribute it's really helpful in some programs also tried to make a table app and it's bit successful) Day 10: 4:14:00 (Not learned too much cause i am solving the problem i have while making the table app and yeah because of school work two but still I growed a little that's all matters) Day 11 : 4:26:10 (Couldn't be able to understand the concept of grid but i think when i know it more deeper then i can understand it but for now everything is good i am consistent and i think i will for several weeks cause after that course ended) Day 12 : 5:01:50 (Really pack is a very good methond we can make many thing from that but i am looking forward to learn about grid which i couldn't be able to understand earlier) Day 13: 5:12:30 (I think i make mind too comfortable and that's because i don't did work before time and the day is also sunday but yeah i worked a lot and barely saved the time to code but i want to become consistent and actually i am gonna revise can will in packing methonds) Day 14 : 5:30:04 (When i maked a basic painting app in canvas excercise i maked a slider in it and when i increase the brush size by the mouse wheel slider also increase and if i less the slider manually then brush size also becomes low and high and the biggest problem is slider also keeps increase if i push mouse wheel forward i solved it and learned about grid and place i am upgrading little by little) Day 15 : 6:00:20 (Learned about widget size and how to stack them and yeah also place methond) Day 16 : 6:17:38 (Pretty excited for next topic cause it looks cool and also one thing i am afraid of is that tommorow is my birthday and i don't want to become inconsistent) Day 17 6:30:43 (I didn't miss this day i am grateful that i am consistent and yeah birthday really means nothing and birthday is not even important) Day 18 6:41:05 (Right now i am learning about classes but i don't understand classes so easily so i am first going to watch the class tutorial of clear code and yeah i'll give progress here) Day 19 29:00 (Learn basics about the classes whenever i start to learn a new thing i always become so excited about that BTW link for the classes: kzfaq.info/get/bejne/ldyiaMmSqL6qn2w.html) Day 20 54:16 (Learned about dunder methonds and how really methonds and whatever we make in python is a object and it's awesome) Day 21 1:11:41 (It's little bit complex but completed it and and also completed the excercises) Day 22 1:23:00 (Very close to end this BTW learn inheritance) Day 23 1:35:57 (Oh the inheritance was quite powerful and Epic) Day 24 1:45:00 (Almost on the end) Day 25 1:54:02 (Understanded it )(( ̄︶ ̄)) Day 26 (Completed it) Day 27 7:14:04 (The classes are really complicated but understanded it) Day 28 7:26:02 (Now classes are really becoming easy) Day 29 ( I am currently making a calculator i maked the layout and some logic for this project i am taking a rest from the video but yeah i all give the update here) Day 30 (Created it and it have kinda a good looking GUI but it is not perfect) Day 32 (I created it it have a good looking GUI you can control it by your keyboard and like it have everything that i wanted) Day ?? (i really took a long break cause i have so much study pressure on me cause i am in 11th but i am gonna start it and i will guarantee complete it ) Day 33 7:56:55 (The Hardest topic i've ever learned really my mind just blowed up but it's ok" Finally reached 10:00:00 Learning about style after that a project is coming so excited for that and i will update it at next achievement 11:42:59 you can do it in easy way the way clear code showed is too complex So here's my way : well it's long so if you want it comment 12:22:35 Nothing seems normal here 💀 15:34:03 Finally Completed Two projects and i am really impressed by the code organization in calculator now only 3 hours of the video is remaining at 17:23:34 You know no one really read this comment that's why i don't add updates about everthing but yeah i am almost going to complete it and i also make a project for calendar and it's really good
@immasnarl292
@immasnarl292 Жыл бұрын
You quit?
@bepositive271
@bepositive271 Жыл бұрын
@@immasnarl292No just stop writing and i am currently on scrolling
@apuji7555
@apuji7555 2 ай бұрын
@@bepositive271 Have you finished yet?
@bepositive271
@bepositive271 2 ай бұрын
@@apuji7555 Yeah i finished it long agoo
@mehmetozkaya284
@mehmetozkaya284 Жыл бұрын
Thank you so much for everything. This channel can be the best python education channel. You explain everything very clear and detailed. You deserve much more of everything.
@cristobalcontreras08
@cristobalcontreras08 8 ай бұрын
Dude I don't know how to say this differently, but your content is gold. You're able to explain complicated things extremely well while being efficient with time. I'm loving watching this video and plan to watch the rest in the near future. Thank you so much!
@rutrard
@rutrard Жыл бұрын
Dude, I bought your udemy course not just because the content is marvelous, but because you also did over 18 hours of free content!
@bepositive271
@bepositive271 8 ай бұрын
Please share some code or anything i am very interested in checking those codes but i don;t have money THough
@davebunyan9135
@davebunyan9135 Жыл бұрын
Hey, thanks for this course. Learning how to make an GUI for a program I've had to make for work. Going to use this comment to keep track of where I am each day Day 1 (1:06:07) Day 2 (2:49:27) Day 3 (4:22:30) Day 4 (5:02:29) Day 5 (7:05:22) Day 6 (9:34:30)
@TheReactiveGamer
@TheReactiveGamer Жыл бұрын
Hang in there mate! No new update for a while ;)
@davebunyan9135
@davebunyan9135 Жыл бұрын
@@TheReactiveGamer Cheers mate. I was just practicing a bit with what I had learnt so far then had a busy weekend. Back to it now though :)
@bepositive271
@bepositive271 Жыл бұрын
@@davebunyan9135 Now what??
@malachycoleman1031
@malachycoleman1031 8 ай бұрын
This is one of the best tkinter tutorials on youtube! At 8 hours in, its been amazing, but the section on responsive layouts went by way too quickly. I was reasonably ahead the entire time and as soon as I reached that point it felt like I was a total beginner. Besides that it's been amazing thank you so much.
@HooptyDaDoopty
@HooptyDaDoopty Жыл бұрын
It'd be so good if you made a django or flask tutorial series for web apps! Your style of explanation and examples are insanely good and easily understandable. Thank you for making all these great content :D
@JD96893
@JD96893 Жыл бұрын
18 hour free course! WOW. Also i didn't know you could make such fantastic interfaces with tkinter, from the thumbnail i thought you were using Kivy.
@flioink
@flioink 8 ай бұрын
It took me weeks, but I actually finished every single lesson & project in this tutorial.
@gerryhoekema2561
@gerryhoekema2561 11 ай бұрын
This is certainly the best and most comprehensive tkinter tutorial that I have found. Not only that, but it's one of the best all-around tutorials I have taken. I enjoyed if very much, and recommend it to all Python programmers!
@IoTheGuardian
@IoTheGuardian Жыл бұрын
wow, you made tkinter look.. modern! I newer knew it could visually not look like something from the '90. Thanks. I learned something new today.
@lalalanding234
@lalalanding234 2 ай бұрын
18 hours of knowledge (of a completely new concept for me and so well organized). Thank you for your hard work.
@PlasmaDoesGames
@PlasmaDoesGames 11 күн бұрын
Dude, you uploaded an 18 hour video for free! Props to you man!
@TamakoYT
@TamakoYT Жыл бұрын
WOW last time I checked this channel it had 10k subs love to see you get the recognition you deserve, one of the best coding channels out there, keep it up!
@user-wo5es5sz8v
@user-wo5es5sz8v 3 ай бұрын
Defenatly one of the best TKinter tutorials. Thank you very much! Great job👍
@xancrewdhazed
@xancrewdhazed 8 ай бұрын
I needed a GUI library for a personal project, and having good experience with Guizero I thought it would be easy to jump directly to Tkinter. What a fool. Your video just helped me understand how Tkinter works and how I can do what I want to do without much complications. Thanks!
@woodnesboroughpopularfront7112
@woodnesboroughpopularfront7112 10 ай бұрын
I learned more in the first ten minutes of this turtorial than I did in two days of wading through internet articles and forum posts. Excellent work, thank you.
@AndrePetermann62
@AndrePetermann62 3 ай бұрын
Thank you for this great course. I spent more than 2 hours with your course on youtube. And I decided to buy your course on udemy. It's really valued for me.
@damus6665
@damus6665 Жыл бұрын
There is absolutely no way this video is 18 hours, you are an absolute hero
@kaifscarbrow
@kaifscarbrow Жыл бұрын
This is really awesome. Everything about tkinter is covered here. Absolutely fantastic. I had dropped tkinter because the ui was very old. Thanks for introducing ctk. That is awesome (but it still doesn't have as much functionality as pyqt/pyside in styling). All in all thank you very much
@mrkaro7468
@mrkaro7468 Жыл бұрын
Your courses are awesome, thanks a lot especially that you publish them on youtube for free. I definitely gonna buy the full package not only because I need to learn these stuff better but also because I wanna support all you do. Thanks again you are amazing.
@vitorg.teixeira
@vitorg.teixeira 9 ай бұрын
Bro, your content is INSANE!! I see that you have not uploaded in the last 4 months. I believe that it's very time consuming to make such a great work, but please, don't stop bro! I'll very likely buy your paid course to help you.
@khanezflouss
@khanezflouss Жыл бұрын
Best tkinter tutorial I've ever had, I am impressed by the calculator app project, thanks for making this course free but I am still going to buy it on udemy, the least I could do to support you
@Omer-or8pg
@Omer-or8pg Жыл бұрын
I love your videos so much. Easily some of the most helpful videos I can find anywhere on the internet. Also the time you take to properly explain your methodology and logic is unmatched. Ty so much for making these amazing, comprehensive courses
@realinfernoblitzgaming
@realinfernoblitzgaming 11 ай бұрын
1 hour in, as someone who has very little, to no coding experience this is super easy to understand and the exercises are a great way of teaching us how to actually do it on our own instead of just copy and pasting
@ujjwalchetan4907
@ujjwalchetan4907 11 ай бұрын
This is the best video on tkinter on the youtube. Very thorough and complete both in terms of content and teaching style. Thanks a lot for the hard work.🙏
@LivingGuy484
@LivingGuy484 25 күн бұрын
18 hours of lessons, as an INTRODUCTION? 😯 THAT'S SO AWESOME
@le0nz
@le0nz Жыл бұрын
This is one of the best GUI tutorial I have seen. You are great man. :)
@PSMaster1991
@PSMaster1991 Жыл бұрын
I can't understand why You do not have milions of entrys. This courses are best on youtube!
@siyandamdaka7696
@siyandamdaka7696 2 ай бұрын
This channel is a treasure trove for anyone who understands that knowledge is power🙌🏽
@flute_and_memes3231
@flute_and_memes3231 Жыл бұрын
your tutorials are the only one I truly understand, you helped me so much with coding. I cant thank you enough
@DGHere12
@DGHere12 Жыл бұрын
Hello Clear Code, I have learned a lot of things from you by watching your pygame tutorials and I just wanted to give you a suggestion to create a video based on neural networks with math behind it because you are really very good when it comes to explaining.
@attila6413
@attila6413 Жыл бұрын
I rarely comment on KZfaq but this video is so great I have to. Watched only the first 50 minutes so far but can't wait to continue! Keep it up!
@pratyushsrivastava3644
@pratyushsrivastava3644 8 ай бұрын
This is everything I've been looking for since so many days. May God bless you with all you need
@thebosscodergg
@thebosscodergg Жыл бұрын
I am eternally grateful. Thank you so much for this. Just when i was planning projects i'd want to learn tkinter for i find this gem🙇‍♂
@NXGen461
@NXGen461 Жыл бұрын
Thank you so much for this, I’ve been really getting into Python so this is gonna be great
@Okasha-j9f
@Okasha-j9f Ай бұрын
an angel honestly, give this man all the views that t series has right now
@ali_azhar
@ali_azhar Жыл бұрын
I legit love you Clear Code!!!!!!! I'm on spring break rn and i've been binging and following along with all ur videos!!! I'm pretty sure I can fully code a simulation of the universe now thanks to ur videos lol
@therealmelonious
@therealmelonious 2 ай бұрын
I can't imagine learning tkinter without this video, thank youuuuuuu
@sylviasokeschroter
@sylviasokeschroter 5 ай бұрын
Eure Inhalte sind echt inspirierend und helfen mir immer, meinen Horizont zu erweitern. Ich bin wirklich beeindruckt von eurer Art, komplexe Themen so zugänglich zu machen. Übrigens, ich bin auch ein großer Fan von Python und teile meine Leidenschaft dafür auf meinem eigenen Kanal. Dort erkunden wir gemeinsam die Welt der Programmierung. Vielleicht findet ihr ja auch dort interessante Inhalte, die euch weiterbringen! Macht weiter so mit euren tollen Videos!
@dheerparekh1305
@dheerparekh1305 5 ай бұрын
This is what I came up with for the basic paint app(without any help apart from searching for mouse hover event): import tkinter as tk from tkinter import ttk window =tk.Tk() window.geometry('600x600') def draw(event): t=entry_var.get() canvas.create_oval((event.x-t,event.y+t,event.x+t,event.y-t),fill='black') entry_var=tk.IntVar(value=1) canvas=tk.Canvas(window,bg='white') label=ttk.Label(window,text='Enter brush size') entry=ttk.Entry(window,textvariable=entry_var) button=ttk.Button(window,text='reset',command=lambda:canvas.delete('all')) canvas.pack() label.pack() entry.pack() button.pack() canvas.bind('',lambda event :draw(event)) window=tk.mainloop()
@JosephAgwuh
@JosephAgwuh 3 ай бұрын
Am enjoying this course, almost completing it. for my personal project. very clear and well explained for me to understand, and recreate. you amazing
@user-is4xs4fv4q
@user-is4xs4fv4q 5 ай бұрын
Your videos are really great and I really learn a lot from them, but I feel like for long videos like these you should add time stamps too. Not criticizing you just making it so that your content is even better.
@ClearCode
@ClearCode 5 ай бұрын
there are time stamps in the description, I don't know why KZfaq doesn't show them 😢
@user-is4xs4fv4q
@user-is4xs4fv4q 4 ай бұрын
Yeah didn't see those sorry, thanks for replying btw. Love your work 👍👍
@edwardjones2851
@edwardjones2851 Жыл бұрын
For anyone stuck at 4:00:00 you need to move the window.resizable(True,True) under the override redirect for resizing without the title bar to work. Was stuck here for 15 minutes
@rafaelgranado4168
@rafaelgranado4168 Жыл бұрын
Sir, I can only commend the job you have done with this great course, simply outstanding. It has been 18 hours, which is equivalent to much more than all the content shown, due to the simplicity with which the information has been prepared. Congratulations and thank you very much for this great piece, needless to say that you have here a faithful consumer of your content.
@-0-__-0-
@-0-__-0- Жыл бұрын
Damn! this is single-handedly the best python GUI tutorial!
@xen0076
@xen0076 Жыл бұрын
OMG i love your channel, someone who is not shoving his paid course down our throats and is geneuinly teaching ♥♥
@Bromon655
@Bromon655 Жыл бұрын
Legendary video... I mindlessly clicked on this video thinking it said 18 minutes then had to do a double take when I saw it was 18 hours lol
@pain_equals_growth
@pain_equals_growth 5 ай бұрын
day 1 = 21:28 Day 2 = 36:30 do exercise Day 3 = 54:15 Day 4 = 1:01:00
@_nabin_8848
@_nabin_8848 5 ай бұрын
reminder for your follow back
@blackpanda1302
@blackpanda1302 Жыл бұрын
man i am crying you are amazing hope you never stop making videos 🤯🤯🤯insane free content
@abulhasan923
@abulhasan923 2 ай бұрын
Hide widgets 06:00:00 Class based approach 06:42:00 Function based approach 07:00:00 Responsive Layout 07:27:00 Scrolling 07:57:00 Theme: Azure 09:22:00 Animated widgets 10:40:40
@tahaanass3097
@tahaanass3097 9 ай бұрын
This is the best tkinter course i had ever seen , keep doing such work we really apreciate that ❤❤❤
@marcelltoth9737
@marcelltoth9737 3 ай бұрын
incredible value. bought the course as well. love your style, for me its hard to focus sometimes and your style of teaching is clear and to the point. maybe a course on streamlit one day? :)
@ashersilver7388
@ashersilver7388 Жыл бұрын
YOU DESERVE THE SUPPORT AMAZING MAN!!!!!
@yuriiguz8742
@yuriiguz8742 Жыл бұрын
👍👍👍 why didn`t i find your video earlier??? 😵‍💫😵‍💫😵‍💫 so much better format and awesome job explaining TKINTER. 10 out of 10 Sir. thank you for your job. Now i know how to kill 18 hours of boredom on my days off ))
@Janatzerroual
@Janatzerroual 7 ай бұрын
in the exercice in 6:14:12 i made the label disipaire and kept the button in the same position without adding any frame, i just made the button like this: button.pack(side='bottom'), and another way it is to make fram before button and expand it will give you the same option. thanks for this tutorial 😊😍
@PixelGoose12
@PixelGoose12 2 ай бұрын
wow the dedication on this is priceless! i hope you do well in real life too!
@Ithicuss
@Ithicuss 9 ай бұрын
Just purchased the course, on Udemy. Not a fan of the platform and their pricing strategies, but the course was only 13 euro's. Looking at what I've spent on programming books and courses and what I've learned from them compared to what I've learned in this course so far this was a no brainer :)
@laurensschaap7960
@laurensschaap7960 11 ай бұрын
I'm halfway in the video and i must tell, great job on the teaching and explanation!! Keep up the good work!
@doktor.paichiwo
@doktor.paichiwo Жыл бұрын
Your tutorials are the best around, so much knowledge, lots of to the point information and how you build up our skills on each tutorial from 0 to hero is amazing. Please keep up good work
@citycrafter578
@citycrafter578 Жыл бұрын
neat, an 18 min introduction with nice examples that look fantastic starts video, oh wait, thats 18 hours nice job
@Tom-bc9zj
@Tom-bc9zj Жыл бұрын
Hello, Christian, thank you for your videos about Python and programming. These are really great studying materials. I've bought your courses on Udemy and I am really enjoying it!
@mathematics22c61
@mathematics22c61 29 күн бұрын
28:40 - 사용자에게 여러줄의 str을 입력할 수 있도록 함 - 실행할 때는 .pack() 붙여야 32:00 - 주어진 str을 화면에 display - 실행할 때는 .pack() 붙여야 33:30 - 사용자에게 한줄의 str을 입력할 수 있도록 함 - 실행할 때는 .pack() 붙여야 34:20 - 사용자가 누를 수 있는 버튼을 만든다 - optional argument "command"는 버튼을 눌렀을 때의 나타나는 일을 지정 - 실행할 때는 .pack() 붙여야 44:00 - Entry에 사용자가 적은 콘텐츠를 따올 (복사할) 수 있다 46:00 - Label의 문구를 업데이트 할 수 있다. 55:00 - Entry에 입력된 것을 자동으로 Label에 띄워주는 데이터구조 - Label에 처음에 무엇이 입력 되었건 StringVar에 Entry에 입력한 것이 저장되면 overwrite 됨 1:11:00 - 말 그대로 체크할 수 있는 버튼을 만든다 - 실행할 때는 .pack() 붙여야 3:30:00 1. menu = tk.Menu(master = window) 그대로 적고 메뉴의 틀 만들기 (아무 효과 없음) 2. sub = tk.Menu(master = menu, tearoff = False) 로 submenu를 추가하기 (아무 효과 없음) 3. sub.add_command(label = "이름", command = 함수) 로 submenu의 속성 등을 추가하기 (아무 효과 없음) 4. menu.add_cascade(label = "이름", menu = submenu) 으로 추가한 submenu를 보이게 하기 5. window.configure(menu = menu) 로 추가한 menu을 전부 보이게 하기 3:47:00 - window.geometry("가로길이x세로길이+초기왼쪽에서떨어진정도+초기위에서떨어진정도") 로 크기, 초기 window 위치 조절 가능 - window.minsize(가로, 세로) 로 window의 최소 크기 지정 가능 - window.maxsize(가로, 세로)로 window의 최대 크기 지정 가능 - window.resizeable(x = True, y = False)로 window가 특정 방향으로 크기가 조정될 수 있는지 설정 가능 5:24:30 - 아래가 y 증가방향, 오른쪽이 x 증가 방향 - window의 가로길이, 세로길이가 1이고 relative ~ 는 무조건 1보다 크지 않고 0보다 작지 않아야 한다. - .place(relx = 1, rely = 0, relheight = 1, relwidth = 0.4) 등으로 조정 가능. - relx와 rely는 "widget의 좌측 상단 꼭짓점의 좌표"이다!!! 만약 이것이 싫다면 relx, rely 뒤에 anchor = "center"로 맞춰줄 수 있다. 02:10:08 - 다른 widget과 마찬가지로 canvas = tk.Canvas(master = window ...) 후에 pack() 등으로 띄운다
@bagelicious_
@bagelicious_ 9 ай бұрын
I am trying to make a automatic responder, but I didnt like the GUI I made. Your video really helped me. Thanks alot!
@starwalker55
@starwalker55 9 ай бұрын
6:13:00 Toggling widgets - Pack layout To solve the problem of the buttom changing psition I simply add button.pack(side='bottom'). Don't understand why you use a frame to fill the space before. Great course! My compliments.
@_nabin_8848
@_nabin_8848 5 ай бұрын
Wow the video is really helpful with clear explanation in each topic. Thank you for making this video available to us and hatsoff to your effort and dedication.
@Neceros
@Neceros Жыл бұрын
Love this. Been watching it start to finish. REALLY liking tkinter now.
@alicanajtekbasli3071
@alicanajtekbasli3071 4 ай бұрын
There is gotta be a special place in heaven for people who create 18 hours long educational videos for free
@jspencer89yt
@jspencer89yt Жыл бұрын
This is a great tutorial. Start around @25:00 for best explanation breakdown
@TheNaeNae2009
@TheNaeNae2009 7 ай бұрын
Great tutorial! it was very helpful for a project I'm working on. i only watched the first 8 hours lol.
@RenderingUser
@RenderingUser Жыл бұрын
I didn't know tkinter was this capable
@KarimBenabd
@KarimBenabd Жыл бұрын
Great content! Clear logic and steady pace explanations for all covered topics! Thank you.
@akoolaider
@akoolaider Жыл бұрын
respect for this guy who sat here for 18 hours just to teach us
@zoghbiandrew97
@zoghbiandrew97 8 ай бұрын
4 hours in... amazing so far! Really appreciate it!
@janviverma7819
@janviverma7819 Жыл бұрын
I wish there were more people like you.
@toblobs
@toblobs Жыл бұрын
Spell it with me. U. N. D. E. R. R. A. T. E. D. This video is literally a gamechanger. Keep producing more bangers!
@kaifscarbrow
@kaifscarbrow Жыл бұрын
13:13:51 There's a better way to implement the update method. import operator This module has all the built-in operators as function example operator.add(a+b) returns a+b So as the update function will be self.update(self, operation, resolution): weight= self.bmi.... weight= operation(weight, 1*resolution) operation will be operator.add for plus buttons and operator.sub for minus buttons Resolution will be 1 for big buttons and 0.1 for small buttons
@sebbyapudo7357
@sebbyapudo7357 Жыл бұрын
I love this! It's exactly what I needed, I'll intergrate this in my 100DaysOfCode. Thanks mate!
@shakiestnerd
@shakiestnerd Жыл бұрын
I can see the logic for using characters in the width value in labels instead of pixels (mentioned around 5:48:30). Sometimes you want to put some text in a label and want to make sure that it all displays on the screen. If you know the text will never be more than 50 characters long, then setting the width to 50 would insure it would always be visible and not get truncated. Enjoying the tutorial a lot. Thanks
@bepositive271
@bepositive271 Жыл бұрын
I think they can also made a another made which like pixwidth and pixheight kinda something then it will be much more better
@rezashir3873
@rezashir3873 Жыл бұрын
you are the best. you are my legend in coding (and legend never die). thank you for every second that you spend for create this learning🌺🌺🌺🌺🌺🌺🌺🌺🌺🌺🌺🌺
@ThantiK
@ThantiK Жыл бұрын
This an insanely detailed video, majorly helpful!
@ProtocolPropski
@ProtocolPropski 4 ай бұрын
Alright, your marketing is working, if I can stomach an 18hr free introduction into this stuff, I think I can stomach the price for the course itself
@rayanemesbah7815
@rayanemesbah7815 4 ай бұрын
you are the best programming tutor
@JackDespero
@JackDespero Жыл бұрын
Great video. Thank you for sharing.
I made Games with Python for 10 Years...
28:52
DaFluffyPotato
Рет қаралды 319 М.
Prank vs Prank #shorts
00:28
Mr DegrEE
Рет қаралды 11 МЛН
Incredible Dog Rescues Kittens from Bus - Inspiring Story #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 29 МЛН
The ultimate introduction to PySimpleGUI [ Creating apps in Python ]
4:24:43
Learning pygame by creating Snake [python tutorial]
2:05:00
Clear Code
Рет қаралды 354 М.
I use Drag and Drop to build modern Python Apps
14:08
Softlinks
Рет қаралды 68 М.
COMPUTER SCIENCE explained in 17 Minutes
16:49
Wacky Science
Рет қаралды 925 М.
Creating a Pokémon inspired RPG in Python & Pygame
11:25:02
Clear Code
Рет қаралды 60 М.
20 Programming Projects That Will Make You A God At Coding
14:27
The Coding Sloth
Рет қаралды 937 М.
Create Stunning Python GUIs in 10 Minutes With Drag & Drop
11:38
Coding Is Fun
Рет қаралды 57 М.
Coding Adventure: Simulating Fluids
47:52
Sebastian Lague
Рет қаралды 1,8 МЛН
Creating a Mario Maker style game in Python
10:12:30
Clear Code
Рет қаралды 487 М.
Prank vs Prank #shorts
00:28
Mr DegrEE
Рет қаралды 11 МЛН