- 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.
- 數據科學實戰手冊(R+Python)
- SQL學習指南(第3版)
- Mastering Python Scripting for System Administrators
- Mastering Ubuntu Server
- Blender 3D Incredible Machines
- Learn React with TypeScript 3
- 網站構建技術
- Unreal Engine 4 Shaders and Effects Cookbook
- Teaching with Google Classroom
- Java并發編程之美
- OpenCV with Python Blueprints
- 計算機應用技能實訓教程
- Hacking Android
- TypeScript圖形渲染實戰:2D架構設計與實現
- Java程序設計實用教程(第2版)