I would suggest NEVER to use import *, at all. It is one of those things that you should never do in python. There are certain idioms in python (like all other programming languages), and it is one of them. Why is it bad ? for the following reasons: 1. You will get things in your local namespace that you don't expect. 2. You will not know where certain names come from. 3. Your local names may be obscured by the imported module names.
Basically, this creates namespace pollution. So yea, NEVER do it. For that matter, here are few good resources for things that you should and shouldn't do in python: http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html#id4 https://docs.python.org/2/howto/doanddont.html - Alok On Tue, Aug 30, 2016 at 5:04 AM, <[email protected]> wrote: > ok thanks, this had me confused for weeks. > > thanks alot, > Sam > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/python_inside_maya/ae7ff38b-6055-4bbb-9bd4- > b02e77b415a8%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPaTLMStUZBcXD3Q%2B8__mgrY2_9RfUPcE2pArkS0FZo%2BTRM18Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
