+ 1
Why is there a rule in PEP: don't use «from module import *»?
Told me pls: WHY?
2 ответов
+ 4
The problem is that different modules can use the same names for stuff. If you just import everything from modules this will lead to naming conflicts that can seriously screw things up.
+ 1
Thanks