13.07.2015 Views

The wxPython tutorial

The wxPython tutorial

The wxPython tutorial

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Introduction to <strong>wxPython</strong>http://www.zetcode.com/wxpython/introduction/Figure: Installing <strong>wxPython</strong> on Windows XP<strong>The</strong>re is also another separate package. It is calledwin32-docs-demos It contains the famous demo example,documentation and examples. This is geared towardsdevelopers. One useful note regarding python interpreter onwindows. If we click on the python script file a command linewindow pops up. This is the default behaviour. We can changethis by associating python programs with the pythonw.exe file.Right click on the python icon. Choose properties. PressChange button. And choose the pythonw.exe, which is locatedin the python install directory. On my box it is C:\ProgramFiles\Python25\pythonw.exe.Setting up <strong>wxPython</strong> on Ubuntu Linux<strong>The</strong> installation process is even simplier than on Windows XP.Ubuntu is a great linux distro. Installing <strong>wxPython</strong> is a piece ofcake. <strong>The</strong> installation is done with the Synaptic PackageManager. We can find it under System - Administration menu.<strong>The</strong> <strong>wxPython</strong> package is called python-wxgtkx.x. <strong>The</strong>package manager automatically cares about all the necessarydependencies. We mark the package for installation and clickapply. <strong>The</strong> <strong>wxPython</strong> library is downloaded and installed onour system. Packages on Ubuntu are pretty fresh. Other linuxdistros might have older packages. <strong>wxPython</strong> is a rapidly8 de 9 27/04/2008 0:59

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!