Is there a way to compile a Windows program, written in wxpython, so that it can be distributed with an automatic installer and
install in binary form?
http://wiki.wxpython.org/index.cgi/CreatingStandaloneExecutables
See 2, 2.1 and 4.
I need this to write a shareware program. Don't want the source to be seen by users and don't want to request them to separately
install Python and wxPython.
You should be aware that it isn't too hard to get something resembling your source back again.
The source is turned into bytecodes by the tools that make the binaries. From the bytecodes,
someone can get something back somewhat resembling your original source. It will
be missing all your comments etc and will have lost some formatting.
Note that this is true for other modern languages as well, such as Java and C#.
You can also consider other licensing schemes, for example making the source code available
but not allowing anyone to make derivative products or to change it (the Microsoft model).
With this you may find others who want to help you, or find bugs and tell you exactly
where they are.
Roger