Folks,
I am an absolute novice in GUI prgramming though not a novice to Python
and object oriented stuff in general.
After shopping around for a software tool to develop GUI stuff in Python,
I've settled with wxPython. The begining has been pretty frustrating
though.
It wasn't difficult to reproduce the simple examples in the wxPython
documentation using the PythonWin environment. However, reproducing the
examples in the wxPython Demo has proofed to be much more harder. Take for
e.g. the wxFrame example which is under 'Base Frames and Dialogs' section.
The Demo Code is made up of the class MyFrame, the function runTest and
the main section. I can't run the program as such because my python
interpreter installation doesn't find the 'run module'. Any help?
Thanks in anticipation,
Ashu Akoachere
If you're trying to run a Demo example outside the original
folder, you must make sure that any files imported or needed
by the example is available in that context.
As minimum, you need the file run.py from the Demo folder.
But there may be more required, depends on the Demo.
/Dipl.-Ing. J. Brouwers
ยทยทยท
Dipl._-Ing._Ashu_Akoachere/Private_Edition@limbe.eurobell.co.uk wrote:
Folks,
I am an absolute novice in GUI prgramming though not a novice to Python and object oriented stuff in general.
After shopping around for a software tool to develop GUI stuff in Python, I've settled with wxPython. The begining has been pretty frustrating though.
It wasn't difficult to reproduce the simple examples in the wxPython documentation using the PythonWin environment. However, reproducing the examples in the wxPython Demo has proofed to be much more harder. Take for e.g. the wxFrame example which is under 'Base Frames and Dialogs' section. The Demo Code is made up of the class MyFrame, the function runTest and the main section. I can't run the program as such because my python interpreter installation doesn't find the 'run module'. Any help?
Thanks in anticipation,
Ashu Akoachere