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 import a module using "import anything", then all the names
> imported from the module must begin with "anything.". If you import wx
> using "import wx", then ALL the wx commands, classes and variables
> (all the names) MUST begin with 'wx.". Change them, and your program
> will work.
>
> "from wx import *" is a special shortcut, allowing you to use all the
> names without "wx.". If you change "from something import *" to
> "import something", your code will always break, this is normal.
>
> regards,
> Filip Dreger
>
>


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to