Adding A Status Bar - Python Tkinter GUI Tutorial #10

  Рет қаралды 85,350

Codemy.com

Codemy.com

5 жыл бұрын

How to Add A Status Bar in Tkinter with Python. In this video we'll build a status bar for our image viewing app using tkinter and python.
In this series I'll show you how to create graphical user interfaces for Python with Tkinter.
✅ Watch The Other Videos In This Python Playlist:
bit.ly/2UFLKgj
▶️ See More At:
Codemy.com
✅ Join My Facebook Group:
bit.ly/2GFmOBz
✅ Subscribe To My KZbin Channel:
bit.ly/2IGzvOR
▶️ Learn to Code at Codemy.com
Take $22 off with coupon code: youtube

Пікірлер: 51
@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
@himanshusinghnegi3639
@himanshusinghnegi3639 3 жыл бұрын
i don't know why but when you say insanely cheap every time i love that part of video
@Codemycom
@Codemycom 3 жыл бұрын
ha, glad to hear it!
@Elias.._..
@Elias.._.. 3 жыл бұрын
I love when he says: "insanely cheap".
@Codemycom
@Codemycom 3 жыл бұрын
Love it enough to sign up for membership? :-p
@ExploringNew1
@ExploringNew1 3 ай бұрын
I mean it's insanely cheap
@suwort7250
@suwort7250 3 жыл бұрын
Nice, friendly guy and good explanations. Great videos :)
@Codemycom
@Codemycom 3 жыл бұрын
Thanks!
@Abdulkadir-vb3vj
@Abdulkadir-vb3vj 3 жыл бұрын
From Video 9 to Video 10, the likes has decreased almost half. Video 9 was a bit difficult. But thank you in any case, you help a lot.
@raniduharshana5238
@raniduharshana5238 4 жыл бұрын
It is very easy to understand when you are teaching. I am lucky enough , I found your channel. So thank you very much.
@Codemycom
@Codemycom 4 жыл бұрын
Happy to hear that!
@slobodantajisic2762
@slobodantajisic2762 4 жыл бұрын
We can just change the text attribute of the variable status (and command attribute of the buttom_forward and button_back) inside the functions forward and back. We don't need to create a new label (or new buttons) every time we press forward or back button. global status status["text"] = "Image " + str(image_number) + " of " + str(len(image_list)) button_forward["command"] = lambda: forward(image_number + 1) button_back["command"] = lambda: back(image_number - 1)
@akramelomrani8728
@akramelomrani8728 3 жыл бұрын
for those who work with sublim text use control+b to execute the program automaticly
@adrianojose7172
@adrianojose7172 3 жыл бұрын
you are god send
@Python12321
@Python12321 3 жыл бұрын
thanks :)
@parsabahrambeik4381
@parsabahrambeik4381 3 жыл бұрын
Hi, thank you very much for your video. You helped me a lot with the database.
@Codemycom
@Codemycom 3 жыл бұрын
Glad it helped
@siddigalssadig9581
@siddigalssadig9581 4 жыл бұрын
Thank You Very Much For These Videos .. Very Helpful , Really Thank You Again :)
@Codemycom
@Codemycom 4 жыл бұрын
Glad you enjoyed them!
@Franco-ss4bu
@Franco-ss4bu 7 ай бұрын
i really appreciate how well you can explain
@Codemycom
@Codemycom 7 ай бұрын
Thanks!
@ExploringNew1
@ExploringNew1 3 ай бұрын
I remember trying to understand this when I didn't know python. I just wanted to make a gui for my arduino project. But man it's easy
@Codemycom
@Codemycom 3 ай бұрын
it really is!
@surajthakur5554
@surajthakur5554 4 жыл бұрын
Watching your tutorials since long but still my first comment.... Please make a video that how to add print button and it's functionality for text editors/image viewers and etc.. many more Please it's a humble request from India.
@Codemycom
@Codemycom 4 жыл бұрын
Not a bad idea :-)
@surajthakur5554
@surajthakur5554 4 жыл бұрын
Thanks a lot sir
@Codemycom
@Codemycom 4 жыл бұрын
@@surajthakur5554 You're very welcome.
@anokhautomation4453
@anokhautomation4453 2 жыл бұрын
🎉🎉👌nice and useful 👍
@Codemycom
@Codemycom 2 жыл бұрын
Thanks!
@milanapegaonkar3614
@milanapegaonkar3614 Жыл бұрын
why didn't we do status.grid_forget() before assigning the new status(label widget )? Is it because it overlaps and we dont have to take care of it. But in case of buttons if they overlap if we click on a button all the overlap buttons will get clicked?
@aneeshmalapaka8363
@aneeshmalapaka8363 4 жыл бұрын
can anyone suggest a book or a good website which gives all attributes of widgets available in tkinter coz the websites i tried r more confusing...
@MasterFrechmen732
@MasterFrechmen732 2 жыл бұрын
Hi, nice video, i must admit that even in 2021 your Tutorials are very helfull, but i saw you were using string cocatination in this video => 'some string' + str(var). Woudnt be better to use formating instaid? I use all the time formating instaid of concatination, bc its faster and looks better... Here are some examples -> 'some string {}'.format{var} or newer method f'some string {var}'...
@jerrysavarino2113
@jerrysavarino2113 2 жыл бұрын
Hey John. Thanks for your videos, they are really useful! I am trying to add a status bar to the bottom of my app window using the grid() position. The struggle I am facing is that I set my app window to a certain size e.g 900x500. Currently not all the widgets fit the height of the window so there is some additional space at the bottom. Once I try to grid() the status bar, it will always appear just below the next widget but I need it to sit right at the bottom. I have looked at your playlist but can't find what I am looking for. Is there anything that I can look into that I am missing?
@Codemycom
@Codemycom 2 жыл бұрын
Lots of ways to do it. Pack a frame above and below...in the above one, grid whatever you want, all your widgets...in the below one, pack the status bar and sticky it or whatever in the normal way.
@mikebrignol157
@mikebrignol157 6 ай бұрын
You could have used f string like f'Image {image_number} of {len(img_list)}'
@romanpikulenko
@romanpikulenko Жыл бұрын
Is it a usual way to recreate tkinter controls when they need to be updated? Why don't you just update their properties such as text, image, etc? I mean, no other GUI toolkit assumes it as a normal work style. Usually, UI controls are stable and created once when the container they belong to is loaded. They can be enable, disable, appear, disappear, but they remain presented on the form all the way.
@joeyblaq9952
@joeyblaq9952 2 жыл бұрын
👍
@Codemycom
@Codemycom 2 жыл бұрын
:-)
@ExploringNew1
@ExploringNew1 3 ай бұрын
2:10 well I have to make a python program to add names to the python list lol
@Glint190
@Glint190 15 күн бұрын
would it not have been better to use f strings instead of concatenating things?
@Codemycom
@Codemycom 10 күн бұрын
Sure, we talk about f-strings later
@ayushjha360
@ayushjha360 2 жыл бұрын
Make a video to make minecraft on Python
@Codemycom
@Codemycom 2 жыл бұрын
:-p
@ishahzaibkhan
@ishahzaibkhan 2 жыл бұрын
i think f string is much better option to use
@Codemycom
@Codemycom 2 жыл бұрын
Whatever floats your boat. lol
@mee8963
@mee8963 3 жыл бұрын
Sir for me..sticky is not working
@Codemycom
@Codemycom 3 жыл бұрын
Then you have a typo in the code or are using different tools than me
@mee8963
@mee8963 3 жыл бұрын
@@Codemycom yes..sir I am using pycham
@Codemycom
@Codemycom 3 жыл бұрын
@@mee8963 maybe that's the problem.
@mycodebitejunior3809
@mycodebitejunior3809 2 жыл бұрын
If you are not alert at zero sec. This guy will gives you a heart attack.
@Codemycom
@Codemycom 2 жыл бұрын
lol
Adding Frames To Your Program - Python Tkinter GUI Tutorial #11
9:00
Using tkinter with classes
28:23
Atlas
Рет қаралды 57 М.
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 43 МЛН
Summer shower by Secret Vlog
00:17
Secret Vlog
Рет қаралды 12 МЛН
Gym belt !! 😂😂  @kauermtt
00:10
Tibo InShape
Рет қаралды 17 МЛН
The most important Python script I ever wrote
19:58
John Watson Rooney
Рет қаралды 174 М.
Create Stunning Python GUIs in 10 Minutes With Drag & Drop
11:38
Coding Is Fun
Рет қаралды 35 М.
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 391 М.
Progress Bars in CustomTkinter - Tkinter CustomTkinter 6
18:56
Tkinter․com
Рет қаралды 12 М.
The grid layout method in tkinter
22:44
Atlas
Рет қаралды 27 М.
Python GUI Development With PySimpleGUI
15:15
Real Python
Рет қаралды 1 МЛН
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,5 МЛН
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 43 МЛН