Introduction
wxPython is a Python language excellent GUI graphics library that allows Python programmers to easily create a complete, fully functioning GUI user interface. wxPython is a good way of cross-platform GUI library wxWidgets package of Python and Python modules available to users.
Like Python and wxWidgets, like, wxPython is an open-source software, and have a very good cross-platform capabilities to support running in a 32/64-bit windows, the vast majority of Unix or Unix-like systems, Macintosh OS X under.
wxPython Python programming language is a GUI toolkit. He allows Python programmers to easily create programs with a robust, powerful graphical user interface. It is the Python language bindings for the popular wxWidgets cross platform GUI tool library. The wxWidgets is written in C ++ language.
wxPython is cross-platform. This means that the same program can be run without modification on multiple platforms. Now supports the following platforms: Microsoft Windows 32/64 bit operating systems, most Unix or Unix-like systems, Apple Mac OS X.
as the use Python programming language, the wxPython write a simple, easy to understand.
permit
and use the same license wxPython wxWidgets.
LGPL agreement
history
wxPython Robin Dunn from the initial development. The first "modern" version was released in 1998.
Domestic Development Community
pythontab Chinese net
Development Steps
The basic wxPython program shows the development of either wxPython procedures necessary initialization
1 must be introduced in the package wxPython
2 subclass wxPython application class
3 define an application program: five basic steps. method
4. Create an instance of an application class
5. into this application's main event loop
* program for beginners or structural requirements few users, the use of such Boa Constructor wxPython-based development platform, can easily develop a good wxPython program.
Simple examples
import wxclass App (wx.App): def OnInit (self): frame = wx.Frame (parent = None, title = 'MyFirstWxPythonApplication') frame.Show () return Trueapp = App () app.MainLoop ()