官术网_书友最值得收藏!

Introduction

Thanks to its clear syntax and the wide ecosystem of libraries and tools, Python has become a popular and general-purpose programming language. From web development to Natural Language Processing (NLP), you can easily find an open source library that fits the need of your application domain, and in the last instance, you can always use any of the modules included in the Python standard library.

The standard library follows the "batteries-included" philosophy, which means that it contains a large collection of utilities: regular expressions, mathematical functions, networking, and so on. The standard Graphical User Interface (GUI) package of this library is Tkinter, a thin object-oriented layer on top of Tcl/Tk.

Starting from Python 3, the Tkinter module was renamed to tkinter (with a lowercase t). It also affects to the tkinter.ttk and tkinter.tix extensions. We will dive into the tkinter.ttk module in the last chapter of this book, since the tkinter.tix module is officially deprecated.

In this chapter, we will explore several patterns for some basic classes of the tkinter module and some methods that are common to all widget subclasses.

主站蜘蛛池模板: 瑞丽市| 昭平县| 和林格尔县| 敖汉旗| 富川| 和静县| 大同市| 鄂伦春自治旗| 莱芜市| 驻马店市| 荆门市| 高安市| 桐庐县| 洱源县| 常州市| 孟州市| 玉树县| 太康县| 巩留县| 灵宝市| 扎囊县| 嘉兴市| 剑阁县| 城市| 盈江县| 灵丘县| 长丰县| 綦江县| 揭东县| 仙游县| 明溪县| 建德市| 潞城市| 元江| 丹寨县| 兴义市| 万源市| 宁夏| 九龙城区| 昌乐县| 高青县|