Classes with tKinter - Python Tkinter GUI Tutorial #43

preview_player
Показать описание
In this video I'll start to teach you about Classes with tKinter.

Classes are a more intermediate to advanced topic in programming, but using classes with tKinter is actually pretty easy! In this video I'll start to show you how to use them, and we'll get into more advanced things in future videos.
Рекомендации по теме
Комментарии
Автор

Miss your 5 hours tutorials, when I could listen to you for the whole day !!

murodqoimdodov
Автор

Exactly what I was looking for. Thanks mate. I love your videos, you are doing very good job. They are nice, easy to understand and not very long. Well done.

peterchrien
Автор

This is great. Classes really help to clean up your code and easy to modify things.

hmaidhaydari
Автор

▶️ Watch Entire Tkinter Playlist ✅ Subscribe To My YouTube Channel:
▶️ See More At: ✅ Join My Facebook Group:

Codemycom
Автор

Nice keeping up the upload on the Tkinter series, having a university project and decided to use Tkinter, and learnt so much from you. Keep up the good job!

themoneyhive
Автор

One of the greatest channel of programming!! Keep it up! And Please upload a video about the best way how to run another tkinter file with for example clicking on the button in the first file. Thanks

Sepehr-
Автор

there is the thing i couldn't understand:
why did you create the button inside the root window instead of the frame? that frame seems useless for this case if im not mistaken.

hasankarabasan
Автор

Thank you for doing a series with classes and tkinter. Looking forward to seeing where this series goes.

askquestionstrythings
Автор

Thank you very much. I was able to create my button class with events. Awesome.

rogeriovaz
Автор

How about a video on how to create "real" reusable objects tkinter objects rather than just wrapping code inside a class definition ? Examples would be a "status line" or a "button row" object.

johnnytoobad
Автор

YO thank you this is exactly what I was looking for, I had taken a python course at my college and one chapter had us use a module they created which was an easier version of tkinter, The problem was all the code looked like this and I could not for the life of me figure out what any of this stuff meant, thanks my guy.

vchellos
Автор

Love the courses keep up the good work.

modelrailwaytheeasyway
Автор

why did we not write self before making the frame?

saransh
Автор

Thanks, listening tkinter from you is awesome.

utku_yucel
Автор

Ok guys I did stay long enough to see Johns corrections --too much in a hurry --Thanks for the help

RobertHart-or
Автор

Im always mad when i'm stuck, and i come here, and then it works. 🤦‍♀ But i guess thats a compliment to you. haha

RocketToMyBrain
Автор

By the way, in classes __init__() function is a constructor. I believe even without it python initialized it when classes are called.

hmaidhaydari
Автор

Awesome bro, thank you!
You used the variable 'myFrame' without the keyword 'self' like you did with 'myButton' and it's working perfectly without showing an error.. Can you explain that please?

whitebird
Автор

I usually make my classes inherit from the tkinter classes. For example I create a class called App that inherits from Tk, where all the app function and processing etc is done inside of the class)

bradleyhastings
Автор

The e=Elder(root)command not working and showing error that Elder does not have arguments. Can you help?

rishabchatterjee