where to find wx package
smusnmrNOSPAM at yahoo.com
Fri Jan 5 14:56:52 CET 2007
"Rob Williscroft" <rtw at freenet.co.uk> schrieb im Newsbeitrag
news:Xns98AF674C4339FrtwfreenetREMOVEcouk at 22.214.171.124...
> siggi wrote in news:enl7h1$49m$1 at zam602.zam.kfa-juelich.de in
>> Hi all,
>> a newbie question:
>> I have a program gui03A.py using wxPython, importing it such:
>> "from wxPython.wx import *"
>> The program works, but I get the warning message:
>> "gui03A.py:4: DeprecationWarning: The wxPython compatibility package
>> is no longer automatically generated or activly maintained. Please
>> switch to the wx package as soon as possible."
>> However, after extensive searching on www.python.org and Googling the
>> web, I do not find any package with "wx" as its only name.
>> Where can I get the wx package (for win32 XP)?
> The "wx package" talked about above is also part of WxPython,
> so you have already got it. To import it use:
> import wx
> You will need to translate all (well most) identifiers in
> your programme from wxBlah to wx.Blah so:
> class MyFrame( wxFrame ):
> class MyFrame( wx.Frame ):
More information about the Python-list