[Python-3000] Path Reform: Get the ball rolling

Oleg Broytmann phd at phd.pp.ru
Wed Nov 1 19:20:51 CET 2006


On Wed, Nov 01, 2006 at 08:32:08AM -0800, Josiah Carlson wrote:
> > p = path.normpath(path.join(__file__, os.pardir, os.pardir, "lib"))
> 
> What operating systems that Python currently supports doesn't have ".."
> mean "parent directory"?

   macpath.py defines pardir = '::'. MacOS 9, probably.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-3000 mailing list