Resolution:
With a great deal of embarasement, the problem has been resolved.
wxPython was installed correctly. However, I managed to download the
package for Python 2.1 rather than the package for 2.2. Once I downloaded
the correct package, all behaved as advertised!
Thanks to Jeff and Chris for their responses.
This is a newbie question. I am having trouble getting wxPython to run.
Under windows98, I have installed Active Python 2.2 which seems to be
working fine.
I have downladed the prebiult binary for wxWindows 2.4.0.
I have installed wxPython in the directory "c:\active22\.
I have added "set wxpython=c:\active22", to autoexec.bat.
Printing "sys.path", shows "c:\active22" as one of the directories in the
Python path.
When I try to run code such as...
from wxPython.wx import *
class MyApp(wxApp):
def OnInit(self):
frame = wxFrame(NULL, -1, "Hello from wxPython")
frame.Show(true
···
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .