Do I have to install wxPython on another PC in order to run it on that PC?
I don't want to have to install it on another PC just to run it on that one. Is there another way to run it on another PC without installing it?
There are a bunch of differences between these, so you'll need to look into them more if this is the type of solution you'd like to pursue.
There are lots of ways to do this sort of thing. One of the simplest would be to use Portable Python. It includes wxPython and lots of other goodies. You can get it here: http://portablepython.com/
Of course if you went that route, then you would have to share your source files. If you don't want to do that, then you might want to look at the following:
- py2exe (old, but well documented) - Windows only
- PyInstaller - works on Mac, Windows, Linux, etc
- cx_freeze - cross platform
- py2app - Mac only
However, I think my favorite is GUI2Exe which is a nice GUI around all of these and makes creating an exe very easy. You can check it out here: http://code.google.com/p/gui2exe/
I also wrote tutorials on all these except for py2app. You can read about them at the following links:
- GUI2Exe - http://www.blog.pythonlibrary.org/2010/08/31/another-gui2exe-tutorial-build-a-binary-series/
- bbfreeze - http://www.blog.pythonlibrary.org/2010/08/19/a-bbfreeze-tutorial-build-a-binary-series/
- cx_freeze - http://www.blog.pythonlibrary.org/2010/08/12/a-cx_freeze-tutorial-build-a-binary-series/
- pyInstaller - http://www.blog.pythonlibrary.org/2010/08/10/a-pyinstaller-tutorial-build-a-binary-series/
- py2exe - http://www.blog.pythonlibrary.org/2010/07/31/a-py2exe-tutorial-build-a-binary-series/
You might also find this article interesting in which I describe how bundle up my exe into an installer using Inno Setup: http://www.blog.pythonlibrary.org/2008/08/27/packaging-wxpymail-for-distribution/