What is python's gui?

silencement
Release: 2020-09-18 11:21:14
Original
11181 people have browsed it

What is python's gui?

gui, Graphical User Interface (GUI for short, also known as graphical user interface) refers to a computer operation user interface displayed graphically. It is very convenient to develop GUI programs in python.

Python GUI Programming (Tkinter)

Python provides multiple graphical development interface libraries. Several commonly used Python GUI libraries are as follows:

Tkinter: The Tkinter module (Tk interface) is the interface of Python's standard Tk GUI toolkit. Tk and Tkinter can be used on most Unix platforms, and can also be applied on Windows and Macintosh in the system. Subsequent versions of Tk8.0 can implement local window styles and run well on most platforms.

wxPython: wxPython is an open source software and an excellent GUI graphics library for the Python language, allowing Python programmers to easily create complete and fully functional GUI user interfaces. .

Jython: Jython programs can be seamlessly integrated with Java. In addition to some standard modules, Jython uses Java modules. Jython has almost all the modules in standard Python that do not depend on the C language. For example, Jython's user interface will use Swing, AWT or SWT. Jython can be dynamically or statically compiled into Java bytecode.

Tkinter Programming

##Tkinter is the standard GUI library for Python. Python uses Tkinter to quickly create GUI applications.

Since Tkinter is built into the python installation package, you can import the Tkinter library after installing Python, and IDLE is also written in Tkinter. Tkinter can still handle the simple graphical interface easily.

Note: The library name used by Python3.x version is tkinter, that is, the first letter T is lowercase.

Related learning recommendations:

python tutorial

The above is the detailed content of What is python's gui?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template