[Python-Dev] Re: os.path.commonprefix breakage

Gordon McMillan gmcm@hypernet.com
Thu, 17 Aug 2000 07:58:26 -0400


Greg Ewing wrote:
[snip]
> While we're on the subject, another thing that's missing is
> a platform-independent way of dealing with the notion of
> "up one directory".

os.chdir(os.pardir)

- Gordon