The ruby lib is object oriented, so I assumed that was what he was looking for, because I didn't think someone would need to ask if python had functionality for path manipulation. It just seemed too obvious.
Lots of people have made OO-style interfaces to pathname manipulation. No-one has come up with one that everyone's happy to put in the stdlib though. See [PEP 355](http://www.python.org/dev/peps/pep-0355/)