473,394 Members | 1,916 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

where to find wx package

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
4 6490
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: eBob.com | last post by:
Well I am now on page 84 of Bruce Eckel's "Thinking in Java". (... having made significant progress since the help you guys gave me in response to my last question about page 34.) Here he...
3
by: Ed Severn | last post by:
I'm sorry of this question has been posed and answered many times before. But I have avoided using the "package" statement because of this. Most of my classes have no "package" statement, and...
3
by: Martin | last post by:
Hi where can I get a free copy of My SQL. I'm running Redhat 9.0 on my laptop. I looked at www.mysql.com but was a bit confused as to which package I need to download. Martin
2
by: David | last post by:
I have a book which had code that includes the line: require 'DB.php'; I know that this is from the PEAR code modules, but when I downloaded them and unpacked the directory, they "DB.php"...
2
by: Michael Tholkes | last post by:
Hello, I cannot find where to download to code or dll referred to in this article: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/DBGch01.asp "Production Debugging...
5
by: Geri Reshef | last post by:
In the VB6 I used the "Package & Deployment Wizard" to create an installation package. I didn't find the VB.Net equivalent. Does anybody knows where or what is it?
5
by: Peter Nurse | last post by:
I have right clicked on my DTS package and selected Migrate... I assumed this is a good idea for future upgradeability (?) The process worked without error but I have no idea where the resulting...
5
by: Wijaya Edward | last post by:
I tried to call pydoc from my Linux box. To my realization that it doesn't contain pydoc. I thought this module should be a default module. Can anybody suggest where can I find the module? I...
0
by: krishnakant Mane | last post by:
hello all, I am struggling a bit in making python packages. when I am doing a project I want to create all my python modules inside a single package. I want to know when I make a package, what...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.