Why don't you do like this..
import module
import mudule as module2
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for all you guys help..
But Peter,
You said 'At first os - module, or package, it doesn't matter here - is
imported.'
I'm still confused about that..
When I just call import os.path without calling import os..
In that case, you mean 'import os' is called implicitly?
Why? and How?
how pyt
I've just started digging into how python works..
I found that other mudules are clearly declared like one file per a
module..
But the only os.path doesn't have their own file..
ye I know is has actually depending on os like in my case posixpath..
What I'd love to know is..
when I call import os.