Simple wxPython Application

ekranawetter_steyr ekranawetter at bmw.co.at
Sat Apr 19 07:55:41 EDT 2003


Hi all,

1.Problem
---------

I was not able to run this simple example from the tutorial:

from wxPython.wx import wxPySimpleApp, wxFrame
  app = wxPySimpleApp()
  frame = wxFrame(None, -1, "Hello World")
  frame.Show(1)
  app.MainLoop()

I got a syntax error in line 2


2. Problem
----------

Running wxPython on Win95 (previously posted) doesn't even run when I
add the script "sitecustomize.py" in the python installation directory
with following commands:

import sys
sys.path.append(wxPythonpath)


Please help and send an email also to ekranawetter at utanet.at

Thanks, Erwin




More information about the Python-list mailing list