[Python-ideas] Small enhancement to os.path.splitext

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Apr 21 02:19:56 CEST 2010


Tarek Ziadé wrote:

> The only simple way that comes in my mind is to write a test file to
> try it out but that's a hack

Not to mention failing if the user doesn't have write
permission on the file system.

-- 
Greg



More information about the Python-ideas mailing list