- 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.
- Mobile Application Development:JavaScript Frameworks
- DevOps with Kubernetes
- Apache Spark 2 for Beginners
- 基于差分進(jìn)化的優(yōu)化方法及應(yīng)用
- C語(yǔ)言程序設(shè)計(jì)上機(jī)指導(dǎo)與習(xí)題解答(第2版)
- Java實(shí)戰(zhàn)(第2版)
- PLC應(yīng)用技術(shù)(三菱FX2N系列)
- 案例式C語(yǔ)言程序設(shè)計(jì)實(shí)驗(yàn)指導(dǎo)
- MATLAB GUI純代碼編寫從入門到實(shí)戰(zhàn)
- Raspberry Pi Robotic Projects(Third Edition)
- Arduino Wearable Projects
- Python數(shù)據(jù)可視化之美:專業(yè)圖表繪制指南(全彩)
- SEO教程:搜索引擎優(yōu)化入門與進(jìn)階(第3版)
- C語(yǔ)言程序設(shè)計(jì)教程
- Mastering Python