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. <fdrake at beopen.com> BeOpen PythonLabs Team Member
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4