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: DeprecationWarn ing: 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 4 6505
siggi wrote in news:en******** **@zam602.zam.k fa-juelich.de in
comp.lang.pytho n:
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: DeprecationWarn ing: 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/
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: DeprecationWarn ing: 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
Thanks Rob!
siggi
"Rob Williscroft" <rt*@freenet.co .ukschrieb im Newsbeitrag
news:Xn******** *************** ***********@216 .196.109.145...
siggi wrote in news:en******** **@zam602.zam.k fa-juelich.de in
comp.lang.pytho n:
>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 : DeprecationWarn ing: 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/
Thanks to you, too, Robert!
siggi
"Robert Kern" <ro*********@gm ail.comschrieb im Newsbeitrag
news:ma******** *************** *************** *@python.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 : DeprecationWarn ing: 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 presents a simple program which uses two classes, System and
Runtime. And he suggests using packages.html to find those two classes. He
says "If you look at the packages.html file, you'll see a list of all the
different class libraries that come with...
|
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 their class files are
stored in my current directory. Using "javac abc.java" works just fine.
But some of my classes *do* have "package" statements. I try to compile
them with "javac -d . def.java" so that the class file will be stored in a...
|
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
|
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" module does not exist.
Is this out of date or do I need to go somewhere else to get this
extra module?
Thanks
|
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 for .NET Framework Applications"
I'm looking for the DebuggingCOMLib library referenced in the article.
Thanks,
| |
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?
|
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 migrated
package can be found. The DTS package itself (apparently) remains
unchanged.
If your answer is that an SSIS package has been created, please tell me
exactly where I can find it.
I've looked at SQL Server Business Intelligence Studio...
|
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 tried:
$ easy_install pydoc
|
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 are the basic things I must
generally do in the __init__.py file?
and how do I link all the modules in my project with each other?
like when I make a compilation unit in java under a package, the first
like of that file will read "package...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |