Marco Bizzarri wrote:
importing objects instead of the module (namespace) they live in can
cause all sorts of aliasing and dependency issues. avoid unless you
know exactly what you're doing.
</F>
I'm showing what I used in my current project, and will accept your
advices on how I should change them.
>
The style is consistently the following:
>
from package.subpack ge.module import MyClass
>
Is this an accepted way to write imports? According to what I
understood in articles, I don't think so.
advices on how I should change them.
>
The style is consistently the following:
>
from package.subpack ge.module import MyClass
>
Is this an accepted way to write imports? According to what I
understood in articles, I don't think so.
cause all sorts of aliasing and dependency issues. avoid unless you
know exactly what you're doing.
</F>