Python Learning graphical interface programming:

Source: Internet
Author: User

A tkinter:tkinter is a python-backed library of TK, and Python code calls the native GUI (TKL language development) provided by the Tkinter->tk-> operating system to complete the interface development without the need to install any third-party programs. Tkinter Tutorial Second Edition Https://link.zhihu.com/?target=http%3A//pan.baidu.com/s/1hr6ortE,Python GUI programming Cookbook:https://link.zhihu.com/?target=http%3a//pan.baidu.com/s/1esimgqa

The first step is to import all the contents of the Tkinter package:
From Tkinter Import *
The second step is to derive a application class from frame, which is the parent container for all widgets

Class Application (Frame):

Pack () is the simplest
Layout, grid () allows for more complex layouts

Python Learning graphical interface programming:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.