why "import wx" doesn't work?
Kartic
removethis.kartic.krishnamurthy at gmail.com
Thu Apr 28 18:02:52 EDT 2005
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 using the default "from wxPython.wx import *", it works.
See my previous post for examples... you are mixing the new import style
and old style of using the classes. That will not work.
Thanks,
-K
More information about the Python-list
mailing list