By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,626 Members | 1,146 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,626 IT Pros & Developers. It's quick & easy.

where to find wx package

P: n/a
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)?

Thanks,

Siggi



Jan 5 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
siggi wrote in news:en**********@zam602.zam.kfa-juelich.de in
comp.lang.python:
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 ):
pass

becomes

class MyFrame( wx.Frame ):
pass

Rob.
--
http://www.victim-prime.dsl.pipex.com/
Jan 5 '07 #2

P: n/a
siggi wrote:
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)?
It's the same project (from the people at www.wxpython.org), they just renamed
the package. You already have it installed.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco

Jan 5 '07 #3

P: n/a
Thanks Rob!

siggi

"Rob Williscroft" <rt*@freenet.co.ukschrieb im Newsbeitrag
news:Xn**********************************@216.196. 109.145...
siggi wrote in news:en**********@zam602.zam.kfa-juelich.de in
comp.lang.python:
>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 ):
pass

becomes

class MyFrame( wx.Frame ):
pass

Rob.
--
http://www.victim-prime.dsl.pipex.com/

Jan 5 '07 #4

P: n/a
Thanks to you, too, Robert!

siggi

"Robert Kern" <ro*********@gmail.comschrieb im Newsbeitrag
news:ma***************************************@pyt hon.org...
siggi wrote:
>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)?

It's the same project (from the people at www.wxpython.org), they just
renamed
the package. You already have it installed.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma
that is made terrible by our own mad attempt to interpret it as though it
had
an underlying truth."
-- Umberto Eco

Jan 5 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.