- Tkinter GUI Programming by Example
- David Love
- 166字
- 2021-08-27 18:49:12
Summary
In this chapter, we have gone over how to create and use classes in Python. We have seen that they allow for code reuse by defining methods, but these methods can have different outcomes depending on which attributes the particular instance of a class holds.
We have briefly looked at the concept of polymorphism and how easy it is to do using Python's dynamic typing.
Our basic command-line version of the blackjack game has been written and is fully playable. We are now prepared to take this up to the next level in the following chapter by utilizing some new Tkinter widgets.
The choice of interface options has been discussed so that we now know why learning a graphical framework such as Tkinter is a good idea to allow for familiarity and ease of use for our applications. This serves as our motivation for the next step with our game, so that we may make it interesting and enjoyable for as many people as possible.
- Dynamics 365 for Finance and Operations Development Cookbook(Fourth Edition)
- Mastering Ext JS(Second Edition)
- Hands-On Machine Learning with scikit:learn and Scientific Python Toolkits
- Learning Apex Programming
- 三維圖形化C++趣味編程
- Python王者歸來
- SQL基礎教程(視頻教學版)
- Node.js全程實例
- C語言程序設計
- Keras深度學習實戰
- Java面向對象程序設計
- 深入實踐DDD:以DSL驅動復雜軟件開發
- Flask Web開發:基于Python的Web應用開發實戰(第2版)
- Elasticsearch Blueprints
- Java RESTful Web Service實戰