why "import wx" doesn't work?

Kartic removethis.kartic.krishnamurthy at gmail.com
Thu Apr 28 17:32:37 EDT 2005


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 can use "import wx" instead of the long one. What is wrong?
> The code pasted below:
> 
> import wx   # the default is "from wxPython.wx import *", I change it and it
> just can't work.


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?



More information about the Python-list mailing list