Timers and Clocks with TKinter - Python Tkinter GUI Tutorial #79

  Рет қаралды 71,610

Codemy.com

Codemy.com

Күн бұрын

Пікірлер: 108
@Codemycom
@Codemycom 4 жыл бұрын
▶️ Watch Entire Tkinter Playlist ✅ Subscribe To My KZbin Channel: bit.ly/2UFLKgj bit.ly/2IGzvOR ▶️ See More At: ✅ Join My Facebook Group: Codemy.com bit.ly/2GFmOBz ▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt! Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN
@sunnyRajkarnikar
@sunnyRajkarnikar 4 жыл бұрын
I really appreciate how you start from the ground up! first make a simple display, then add update to it, and then add clock to it.. this makes it so easy
@Codemycom
@Codemycom 4 жыл бұрын
Glad you're enjoying the videos!
@wingielee
@wingielee 4 жыл бұрын
hello john elder , this greetings from Nigeria your tutorials are quite fascinating always learning new things in tkinter and am so grateful
@Codemycom
@Codemycom 4 жыл бұрын
You are very welcome...thanks for watching!
@Xboerefijn1
@Xboerefijn1 3 жыл бұрын
Thanks for the explanation, got my GUI all up and running just like I want to now with everything keeping up to date with whatever happens in the big system I'm monitoring.
@Lilxbandit432
@Lilxbandit432 3 жыл бұрын
your videos have literally saved me so much time and taught me alot!
@Codemycom
@Codemycom 3 жыл бұрын
Happy to hear it!
@soupnoodles
@soupnoodles 3 жыл бұрын
This was really helpful! Thank you for these videos!
@Codemycom
@Codemycom 3 жыл бұрын
Very welcome!
@SammarpanDasguptaOfficial
@SammarpanDasguptaOfficial 3 жыл бұрын
Thanks a lot sir.... This helps me a lot in my current project
@Codemycom
@Codemycom 3 жыл бұрын
Glad to hear it!
@adistar-964
@adistar-964 4 жыл бұрын
Amazing tutorial... I have been following u from the start when u uploaded this series.
@Codemycom
@Codemycom 4 жыл бұрын
Awesome, I appreciate it!
@shubhamh7451
@shubhamh7451 3 жыл бұрын
damn, the weather update at the beginning, was quite comforting.
@Codemycom
@Codemycom 3 жыл бұрын
lol
@ronaldcovington113
@ronaldcovington113 4 жыл бұрын
Love your video been very helpful to create new things with python. This one was a big help. Thanks!!! When are you doing a multithreading one? I like to have a clock work with in my app with another part of the program running
@Codemycom
@Codemycom 4 жыл бұрын
Yeah will eventually get to that
@adeleyeadenola7769
@adeleyeadenola7769 6 ай бұрын
Nice teaching likes to be your students
@Codemycom
@Codemycom 6 ай бұрын
Thanks and welcome
@tania020
@tania020 2 ай бұрын
Really useful. Thanks
@Codemycom
@Codemycom 2 ай бұрын
Glad it was helpful!
@sameerkhanna2051
@sameerkhanna2051 3 жыл бұрын
Very Nice tutorial. Thank you very much
@Codemycom
@Codemycom 3 жыл бұрын
Thanks for watching!
@siddheshmhatre2389
@siddheshmhatre2389 4 жыл бұрын
Thats great man!!
@Codemycom
@Codemycom 4 жыл бұрын
Thanks!
@jenilchudgar
@jenilchudgar 2 жыл бұрын
101 Comment! Please heart! Love from India!
@Codemycom
@Codemycom 2 жыл бұрын
thanks!
@RyanDanielG
@RyanDanielG 3 жыл бұрын
Hit that like button Python Fans! Great tutorial. Feed the Algorithm!
@nitishrathore14
@nitishrathore14 3 жыл бұрын
Yeah Mr White! Computer Science
@Codemycom
@Codemycom 3 жыл бұрын
Ha
@robh9184
@robh9184 4 жыл бұрын
Nice! Been waiting for this one :)
@Codemycom
@Codemycom 4 жыл бұрын
Glad you liked it
@problemer3967
@problemer3967 Ай бұрын
Your videos is very helpful, but i can't figure out how to make a stopwatch that start with 00:00:00. All those videos in KZbin didn't work. Can you make a video out of it? It would be really great!
@sknoor9521
@sknoor9521 3 жыл бұрын
thanks for this beautiful work. One query, while calling clock method u defined within after() method why it did not need parenthesis () as we are calling method so it should ask like we do for get()? whats difference please?
@dabunnisher29
@dabunnisher29 4 жыл бұрын
Great as usual
@Codemycom
@Codemycom 4 жыл бұрын
Thanks!
@javiervazquez7141
@javiervazquez7141 3 жыл бұрын
thank you man!!!!! very helpfull
@Codemycom
@Codemycom 3 жыл бұрын
Glad it helped!
@EFoxVN
@EFoxVN Жыл бұрын
Hey there, thanks for this video. Just a question: Would it be necessary to use 'threading' if we use other things on our GUI as well with this function? I know it is often the case.
@Codemycom
@Codemycom Жыл бұрын
yes possibly, it just depends on your use case
@Anish_88
@Anish_88 4 жыл бұрын
Wow😍😍 Cool Thank you so much 🙏
@Codemycom
@Codemycom 4 жыл бұрын
Sure thing
@DavidFrankland
@DavidFrankland Жыл бұрын
you can construct the whole label text without concatenating the separate components, like: time.strftime('%H:%M:%S')
@shreyaankrao968
@shreyaankrao968 2 жыл бұрын
Hello sir, warm greeting from India. Could you give some insights to include a on display timer for each question of a mcq quiz?
@Codemycom
@Codemycom 2 жыл бұрын
I don't know what a mcq quiz, but this video shows you how to make a timer
@frontogaming3338
@frontogaming3338 2 жыл бұрын
Buddy pls tell how to change it in 12 hours format
@abrarmulla1196
@abrarmulla1196 3 жыл бұрын
NIce video
@Codemycom
@Codemycom 3 жыл бұрын
Thanks!
@ab123-j7v
@ab123-j7v 2 жыл бұрын
Great video, can i use it with 24h , .after(86400000 ms) , and if i cant can i use schedule with tkinter.
@bhavesh9378
@bhavesh9378 2 жыл бұрын
Sir the entire program is cool but there is an issue. I ran the program and observed for minute and I found the issue in seconds label...sometimes it icrements 2 seconds... So on that I found solution ie instead of 1000 put 1 ie delay of 1ms ... it works fine
@AsimAli-pw6uo
@AsimAli-pw6uo 4 жыл бұрын
damn zero dislikes manz a legend
@Codemycom
@Codemycom 4 жыл бұрын
Ha, just lucky!
@Aartiarora1230
@Aartiarora1230 4 жыл бұрын
can you pls tell why we can't use grid after packing some widgets..can we use both of them simultaneously?
@Aartiarora1230
@Aartiarora1230 4 жыл бұрын
also i would be glad if u'll answer my ques since i am trying to make an app...sir I am not able to see my images when i pack them in if-else condition after making 2-3 windows..but the code run when i run them individually..thanks!
@Codemycom
@Codemycom 4 жыл бұрын
You can't use both grid and pack in the same parent widget
@Aartiarora1230
@Aartiarora1230 4 жыл бұрын
ohk sir!..thanks
@Codemycom
@Codemycom 4 жыл бұрын
@@Aartiarora1230 sure thing
@KevinKoolx
@KevinKoolx 4 жыл бұрын
Great tutorial! I've been trying to develop a program that has countdown timers being activated by a press of a button in Tkinter. Would you be interested in make a video from about that?
@Codemycom
@Codemycom 4 жыл бұрын
I have videos on making buttons, just set the command of the button to the function for your timer...you shouldn't need a video explaining that :-p
@dipankarpanda8414
@dipankarpanda8414 3 жыл бұрын
@@Codemycom True, all explained earlier... :)
@sunanditamadhumita4901
@sunanditamadhumita4901 4 жыл бұрын
Can you please make a video of how to add scroll bars to scroll through the entire screen
@Codemycom
@Codemycom 4 жыл бұрын
Might do that
@sunanditamadhumita4901
@sunanditamadhumita4901 4 жыл бұрын
@@Codemycom thanks a lot
@justspacing9031
@justspacing9031 2 жыл бұрын
Hello, I made a pomodoro timer, but I want the window to come out on top every time a work, or break timer is finished. How do I do that?
@codingly2390
@codingly2390 3 жыл бұрын
why it is showing no attribute after in my code
@kionmahuermicio9860
@kionmahuermicio9860 2 жыл бұрын
It works with RTC or the Internet?
@Codemycom
@Codemycom 2 жыл бұрын
Huh?
@keymediastudioitself
@keymediastudioitself 3 жыл бұрын
Just a question: how to make a func that can loop, let`s say, 2 labels one after another in interval of a sec?
@abdurrehmankhalid5863
@abdurrehmankhalid5863 3 жыл бұрын
use Label.config method
@TomKnudsen
@TomKnudsen 2 жыл бұрын
How can I ask the creator a question?
@shashankbingi3436
@shashankbingi3436 3 жыл бұрын
Can we code for flipclock using python
@Codemycom
@Codemycom 3 жыл бұрын
I don't know what that is
@haywirelive
@haywirelive 3 жыл бұрын
How can I pause the clock if I want to?
@chironpugh162
@chironpugh162 3 жыл бұрын
How do I time text while using canvas?
@pranavmarella6136
@pranavmarella6136 2 жыл бұрын
I don't know what's happening with my code when I run it, but my clock is 5 hours a head of the time!
@Codemycom
@Codemycom 2 жыл бұрын
Your system is likely 5 off. Check your clock
@TK-yu5tt
@TK-yu5tt 4 жыл бұрын
i very like your courses, but why You don't use F - string?
@Codemycom
@Codemycom 4 жыл бұрын
Personal preference.
@hannahsargeant9298
@hannahsargeant9298 3 жыл бұрын
With this code, how would you stop the time? I am trying to use after_cancel with this code and I can't stop the time
@chief4536
@chief4536 3 жыл бұрын
Do you know how to position the time
@ridaa7914
@ridaa7914 3 жыл бұрын
hello, do you know how to make a timer but without TKinter? as example, it's 8am and i'll do my homework at 9am. The program will counting, @, @,@, until @ (it printed on python btw)
@Codemycom
@Codemycom 3 жыл бұрын
How would it run if you didn't use Tkinter?
@mujassimjamal24
@mujassimjamal24 4 жыл бұрын
Sir how to make a desktop database app using python and other......!(for example python and mysql or any other)
@Codemycom
@Codemycom 4 жыл бұрын
I discuss that in this playlist...
@mujassimjamal24
@mujassimjamal24 4 жыл бұрын
Thanx sir😊
@syedhyder5630
@syedhyder5630 4 жыл бұрын
Sir! Can we use root.after() . What is the difference between root.after() and label.after() sir? Thank you
@Codemycom
@Codemycom 4 жыл бұрын
Yes you can. The difference is when they run...root.after runs after the root window runs, label.after runs when the label runs.
@syedhyder5630
@syedhyder5630 4 жыл бұрын
@@Codemycom Thank u sir
@Codemycom
@Codemycom 4 жыл бұрын
@@syedhyder5630 Sure thing
@dukescompany7855
@dukescompany7855 4 жыл бұрын
Muito bom esses mini videos, nao estou conseguindo converte o dia da semana para minha região Brasil,tentei usar o timezone
@Codemycom
@Codemycom 4 жыл бұрын
You have an error in your code then.
@sanskargr9347
@sanskargr9347 3 жыл бұрын
how to do analogue clock in tkinter
@Codemycom
@Codemycom 3 жыл бұрын
this is a computer, everything is digital :-p
@meltonenterprises6761
@meltonenterprises6761 3 жыл бұрын
Is there an absolute path for * when importing from tk() ? Or is that the absolute path? Thanks
@Codemycom
@Codemycom 3 жыл бұрын
There is no path at all. Tkinter is a part of Python. It's already there.
@meltonenterprises6761
@meltonenterprises6761 3 жыл бұрын
@@Codemycom thank you! Still new to this and just wanted to be sure I'm optimized as much as possible. I'll be purchasing your courses because you do a really great job explaining everything. Thanks for your time.
@Codemycom
@Codemycom 3 жыл бұрын
@@meltonenterprises6761 Thanks for watching :-)
@chief4536
@chief4536 3 жыл бұрын
How could I position the time? Whats the code for it thx
@Codemycom
@Codemycom 3 жыл бұрын
The same way you position anything in tkinter
@chief4536
@chief4536 3 жыл бұрын
@@Codemycom I'm new to code, it will be so helpful if you code provide the code plz thanks you
@Codemycom
@Codemycom 3 жыл бұрын
@@chief4536 github.com/flatplanet/Intro-To-TKinter-KZbin-Course
@coolaping7973
@coolaping7973 3 жыл бұрын
How would I turn this into a timer?
@Codemycom
@Codemycom 3 жыл бұрын
any number of ways...
@coolaping7973
@coolaping7973 3 жыл бұрын
Any ways that you can think of? I want to turn in into a countdown timer.
@blazedflemingo7828
@blazedflemingo7828 3 жыл бұрын
Instructions unclear. How do I fix my phone screen after smashing the like button?
@Codemycom
@Codemycom 3 жыл бұрын
ha!
Using tkinter with classes
28:23
Atlas
Рет қаралды 66 М.
إخفاء الطعام سرًا تحت الطاولة للتناول لاحقًا 😏🍽️
00:28
حرف إبداعية للمنزل في 5 دقائق
Рет қаралды 49 МЛН
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 6 МЛН
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 12 МЛН
ЭТО НАСТОЯЩАЯ МАГИЯ😬😬😬
00:19
Chapitosiki
Рет қаралды 3,2 МЛН
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 311 М.
Understanding tkinter variables
11:48
Atlas
Рет қаралды 10 М.
Convert GUI App to Real Program -  Python to exe to setup wizard
23:27
Python Simplified
Рет қаралды 527 М.
Threading With Tkinter - Python Tkinter GUI Tutorial #97
9:10
Codemy.com
Рет қаралды 77 М.
Adding a Full Screen ScrollBar - Python Tkinter GUI Tutorial #96
15:08
How To Write Better Functions In Python
14:17
Indently
Рет қаралды 28 М.
Tkinter After Method - Delayed Events in Tkinter
12:43
CodersLegacy
Рет қаралды 9 М.
Tkinter Layout Managers - Simple Crash Course
15:43
NeuralNine
Рет қаралды 8 М.
إخفاء الطعام سرًا تحت الطاولة للتناول لاحقًا 😏🍽️
00:28
حرف إبداعية للمنزل في 5 دقائق
Рет қаралды 49 МЛН