On 7/29/2011 1:22 PM, rantingrick wrote:
* Introduce a new method named "partition" which (along with string splitting methods) will replace the six methods "basename", "dirname", "split", "splitdrive", "splitunc", "splittext". The method will return a tuple of the path split into four parts: (drive, path, filename, extension).
A named tuple would be an even better return, so one could refer to the parts as t.drive, etc.
-- http://mail.python.org/mailman/listinfo/python-list