# wxPython **Repository Path**: webget/wxPython ## Basic Information - **Project Name**: wxPython - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-03 - **Last Updated**: 2020-12-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # wxPython in Action [wxPython](http://www.wxpython.org/) is a Python extension library for developing cross platform GUI. It is an alternative to other GUI development toolkits like [PyQt](https://riverbankcomputing.com/software/pyqt/intro), [Tkinter](https://docs.python.org/2/library/tkinter.html) etc. This repostiory contains a variety of code examples for developing different GUI elements with wxPython. ## Usage Below simple module demonstrantes creation of two main objects in wxPython which are the main window object and the application object, followed by passing the control to the event-driven system by calling `MainLoop()` which manages the user-interactive part of the program. ```python #!/usr/bin/env python import wx class App(wx.App): def OnInit(self): frame = wx.Frame(parent=None, title='Bare') frame.Show() return True app = App() app.MainLoop() ``` ## Download Download or fork the repository ```sh git clone https://github.com/ubbn/wxPython.git ``` or ```sh wget https://github.com/ubbn/wxPython/archive/master.zip ``` ## Disclosure Those original code examples are found in a book [wxPython in Action](http://www.amazon.com/Wxpython-Action-Noel-Rappin/dp/1932394621) authored by [Noel Rappin](https://www.amazon.com/Noel-Rappin/e/B002BLQ488) who is a senior developer and agile Coach at Table XI. Noel has authored multiple technical books, including **Rails 4 Test Prescriptions**, **Master Space and Time With JavaScript**, **Trust-Driven Development** and several more. If you like those example codes, I encourage you to buy his book [wxPython in Action](http://www.amazon.com/Wxpython-Action-Noel-Rappin/dp/1932394621). Contact with him on his [website](http://www.noelrappin.com/) or follow him on [twitter](https://twitter.com/noelrap). DISCLAIMER: _I am not affiliated with either Noel Rappin or the sales of this book._