Adding A Status Bar - Python Tkinter GUI Tutorial #10

  Рет қаралды 90,122

Codemy.com

Codemy.com

Күн бұрын

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

Пікірлер: 49
@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 4 жыл бұрын
i don't know why but when you say insanely cheap every time i love that part of video
@Codemycom
@Codemycom 4 жыл бұрын
ha, glad to hear it!
@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!
@Elias.._..
@Elias.._.. 4 жыл бұрын
I love when he says: "insanely cheap".
@Codemycom
@Codemycom 4 жыл бұрын
Love it enough to sign up for membership? :-p
@ExploringNew1
@ExploringNew1 8 ай бұрын
I mean it's insanely cheap
@suwort7250
@suwort7250 3 жыл бұрын
Nice, friendly guy and good explanations. Great videos :)
@Codemycom
@Codemycom 3 жыл бұрын
Thanks!
@surajthakur5554
@surajthakur5554 5 жыл бұрын
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 5 жыл бұрын
Not a bad idea :-)
@surajthakur5554
@surajthakur5554 5 жыл бұрын
Thanks a lot sir
@Codemycom
@Codemycom 5 жыл бұрын
@@surajthakur5554 You're very welcome.
@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.
@Franco-ss4bu
@Franco-ss4bu Жыл бұрын
i really appreciate how well you can explain
@Codemycom
@Codemycom Жыл бұрын
Thanks!
@akramelomrani8728
@akramelomrani8728 4 жыл бұрын
for those who work with sublim text use control+b to execute the program automaticly
@adrianojose7172
@adrianojose7172 4 жыл бұрын
you are god send
@Python12321
@Python12321 3 жыл бұрын
thanks :)
@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)
@parsabahrambeik4381
@parsabahrambeik4381 4 жыл бұрын
Hi, thank you very much for your video. You helped me a lot with the database.
@Codemycom
@Codemycom 4 жыл бұрын
Glad it helped
@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?
@ExploringNew1
@ExploringNew1 8 ай бұрын
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 8 ай бұрын
it really is!
@siddigalssadig9581
@siddigalssadig9581 4 жыл бұрын
Thank You Very Much For These Videos .. Very Helpful , Really Thank You Again :)
@Codemycom
@Codemycom 4 жыл бұрын
Glad you enjoyed them!
@MasterFrechmen732
@MasterFrechmen732 3 жыл бұрын
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.
@romanpikulenko
@romanpikulenko 2 жыл бұрын
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.
@codeghost3253
@codeghost3253 5 ай бұрын
would it not have been better to use f strings instead of concatenating things?
@Codemycom
@Codemycom 5 ай бұрын
Sure, we talk about f-strings later
@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...
@joeyblaq9952
@joeyblaq9952 3 жыл бұрын
👍
@Codemycom
@Codemycom 3 жыл бұрын
:-)
@ExploringNew1
@ExploringNew1 8 ай бұрын
2:10 well I have to make a python program to add names to the python list lol
@mikebrignol157
@mikebrignol157 11 ай бұрын
You could have used f string like f'Image {image_number} of {len(img_list)}'
@ayushjha360
@ayushjha360 3 жыл бұрын
Make a video to make minecraft on Python
@Codemycom
@Codemycom 3 жыл бұрын
:-p
@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.
@ishahzaibkhan
@ishahzaibkhan 3 жыл бұрын
i think f string is much better option to use
@Codemycom
@Codemycom 3 жыл бұрын
Whatever floats your boat. lol
@mycodebitejunior3809
@mycodebitejunior3809 3 жыл бұрын
If you are not alert at zero sec. This guy will gives you a heart attack.
@Codemycom
@Codemycom 3 жыл бұрын
lol
Adding Frames To Your Program - Python Tkinter GUI Tutorial #11
9:00
Python Tkinter GUI Design Using ttkbootstrap - Complete Course
3:23:58
freeCodeCamp.org
Рет қаралды 350 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Adding a Full Screen ScrollBar - Python Tkinter GUI Tutorial #96
15:08
Menu Bars With tKinter - Python Tkinter GUI Tutorial #46
11:02
Codemy.com
Рет қаралды 104 М.
Python Tkinter Tutorial | Skill Web Part 1
13:06
CodeQuest
Рет қаралды 64
Create New Windows in tKinter - Python Tkinter GUI Tutorial #14
9:52
Open Files Dialog Box - Python Tkinter GUI Tutorial #15
12:34
Codemy.com
Рет қаралды 195 М.
Update A Record With SQLite - Python Tkinter GUI Tutorial #22
15:04
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН