Python Tkinter Tutorial (Part 2): Using Classes for Functionality and Organization

Pubblicato il: 15 agosto 2024
sul canale di: Corey Schafer
44,286
1.4k

In this Python Tkinter Tutorial, we'll explore the importance of using classes when working with Tkinter in Python. While many tutorials introduce classes later on, I believe it's essential to start with them right away to avoid common pitfalls and simplify your code. We'll walk through refactoring a basic Tkinter application to use classes, demonstrating how this approach leads to cleaner, more maintainable code. Whether you're building small apps or planning for larger projects, this video will show you how to organize your GUI applications effectively.

The code from this video can be found at:
https://gist.github.com/09ac42ad88a3c...

Python Classes/Object-Oriented Series:
   • Python OOP Tutorials - Working with Classes  

"If _name_ == __main__" Video:
   • Python Tutorial: if __name__ == '__main__'  

✅ Support My Channel Through Patreon:
  / coreyms  

✅ Become a Channel Member:
   / @coreyms  

✅ One-Time Contribution Through PayPal:
https://goo.gl/649HFY

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist
http://a.co/inIyro1

✅ Equipment I Use and Books I Recommend:
https://www.amazon.com/shop/coreyschafer

▶️ You Can Find Me On:
My Website - http://coreyms.com/
My Second Channel -    / coreymschafer  
Facebook -   / coreymschafer  
Twitter -   / coreymschafer  
Instagram -   / coreymschafer  

#Python #TKinter


In questa pagina del sito puoi guardare il video online Python Tkinter Tutorial (Part 2): Using Classes for Functionality and Organization della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Corey Schafer 15 agosto 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 44,286 volte e gli è piaciuto 1.4 mille spettatori. Buona visione!