They both work, thanks for your instruction ( :
I suspect you are mixing program code for the namespace version (import
wx) with the old method of importing (from wxPython.wx import *).
Here are two version of a very simple app... try both and see if you get
any errors. And if so, _please_
Bright ( ; You show me a crystal clear explaination.
As a newbie in python and even oop, I find the python documentation is not
easy to figure out. That's great with you guys so nice here.
This is very good! wxApp is never defined if you use import wx. You
must use wx.wxApp instead.
If you
I just learn to make a blank windows frame with python and wxpython. I found
the statment import wx cannot work as the original from wxPython.wx
import *. I see in the readme file of wxpython that if I install it as the
default one, I can use import wx instead of the long one. What is wrong?
The
monkey wrote:
I just learn to make a blank windows frame with python and wxpython. I found
the statment import wx cannot work as the original from wxPython.wx
import *. I see in the readme file of wxpython that if I install it as the
default one, I can use import wx instead of the long one. What
The Great 'monkey' uttered these words on 4/28/2005 2:09 PM:
I just learn to make a blank windows frame with python and wxpython. I found
the statment import wx cannot work as the original from wxPython.wx
import *. I see in the readme file of wxpython that if I install it as the
default one, I
Which version of wxPython are you running? What do you mean by does not
work...does the import fail or is your code giving errors?
It is the current new version 2.6. The error message said that the class
wxApp is not defined...
But when using the default from wxPython.wx import *, it works.
The Great 'monkey' uttered these words on 4/28/2005 5:30 PM:
It is the current version of wxPython(2.6). But follow you instruction it
still can't work...
But if using the default from wxPython.wx import *, it work, don't know
what is the problem. May be this is an old example that cannot work
The Great 'monkey' uttered these words on 4/28/2005 5:50 PM:
Which version of wxPython are you running? What do you mean by does not
work...does the import fail or is your code giving errors?
It is the current new version 2.6. The error message said that the class
wxApp is not defined...
But when
U¿ytkownik monkey [EMAIL PROTECTED] napisa³ w wiadomo¶ci
news:[EMAIL PROTECTED]
Which version of wxPython are you running? What do you mean by
does not
work...does the import fail or is your code giving errors?
It is the current new version 2.6. The error message said that the
class
It is the current version of wxPython(2.6). But follow you instruction it
still can't work...
But if using the default from wxPython.wx import *, it work, don't know
what is the problem. May be this is an old example that cannot work with
import wx. Because I get another example and it is ok.
10 matches
Mail list logo