A newbie question ... I got the 2.8 source to build with unicode
enabled in debug mode. However, upon attempting to run demo.py I get:
Traceback (most recent call last):
File "demo.py", line 3, in <module>
import Main
File "/home/pstanczyk/Downloads/wxPython-src-2.8.10.1/wxPython/demo/
Main.py", line 355, in <module>
class MyLog(wx.PyLog):
AttributeError: 'module' object has no attribute 'PyLog'
Furthermore, trying the hello world example from the wiki I get:
import wx
>>> app = wx.App(False)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'App'
Clearly, I am missing something - any tips warmly welcome
Many thanks in advance
Piotr
python2.5
Python 2.5.1 (r251:54863, Oct 10 2008, 11:26:39)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> dir(wx)
['__builtins__', '__doc__', '__file__', '__name__', '__path__']
Check where the wx module is coming from and verify that it is the one
you just built:
>>> import wx
>>> print wx.__file__
--
Robin Dunn
Software Craftsman
http://wxPython.org
--
To unsubscribe, send email to wxPython-user...@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
To unsubscribe, reply using "remove me" as the subject.