[Python-Dev] Re: os.path.commonprefix breakage (original) (raw)
Fred L. Drake, Jr. fdrake@beopen.com
Thu, 17 Aug 2000 22:38:06 -0400 (EDT)
- Previous message: [Python-Dev] Re: os.path.commonprefix breakage
- Next message: [Python-Dev] Re: os.path.commonprefix breakage
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Greg Ewing writes:
Gordon:
os.chdir(os.pardir)
Ah, I missed that somehow. Probably I was looking in os.path instead of os.
Shouldn't everything to do with pathname semantics be in os.path?
Should be, yes. I'd vote that curdir, pardir, sep, altsep, and pathsep be added to the *path modules, and os could pick them up from there.
-Fred
-- Fred L. Drake, Jr. BeOpen PythonLabs Team Member
- Previous message: [Python-Dev] Re: os.path.commonprefix breakage
- Next message: [Python-Dev] Re: os.path.commonprefix breakage
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]