Re: I just wanna know about os.path module..

2005-07-21 Thread Peter Otten
kimes wrote: > You said 'At first os - module, or package, it doesn't matter here - is > imported.' With a file mop.py in your path import mop creates a module instance and executes mop.py to fill it with content -- classes, functions, whatever python objects you can think of -- and puts that m

Re: I just wanna know about os.path module..

2005-07-19 Thread Terry Hancock
On Sunday 17 July 2005 12:47 pm, kimes wrote: > Thanks for all you guys help.. > 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 python knows it should call import when

Re: I just wanna know about os.path module..

2005-07-17 Thread kimes
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

Re: I just wanna know about os.path module..

2005-07-17 Thread gene tani
look at 'path' module too http://www.jorendorff.com/articles/python/path/ -- http://mail.python.org/mailman/listinfo/python-list

Re: I just wanna know about os.path module..

2005-07-17 Thread Peter Otten
kimes wrote: > 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.path.. > how happened under the hood? At first os - module, or package, it doesn't matter here - is imp

Re: I just wanna know about os.path module..

2005-07-17 Thread James
kimes wrote: > 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 kno

I just wanna know about os.path module..

2005-07-17 Thread kimes
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.