PyWart: os.path needs immediate attention!
tjreedy at udel.edu
Sat Jul 30 01:30:55 CEST 2011
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,
A named tuple would be an even better return, so one could refer to the
parts as t.drive, etc.
More information about the Python-list