And the reverse? Does os also import os.path?

Wilbert Berendsen wbsoft at xs4all.nl
Thu Mar 27 14:56:50 CET 2008


If i do

>>> import os
>>> os.path.abspath("bla")
'/home/wilbert/bla'
>>>

it seems that just import os also makes available al os.path functions.

But is that always true?

Thanks,
Wilbert

-- 
http://www.wilbertberendsen.nl/
"You must be the change you wish to see in the world."
        -- Mahatma Gandhi



More information about the Python-list mailing list