[Python-Dev] splitext('.cshrc')

Oleg Broytmann phd at phd.pp.ru
Thu Mar 8 19:02:05 CET 2007


On Thu, Mar 08, 2007 at 06:54:30PM +0100, "Martin v. L?wis" wrote:
>      back_name = splitext(name[0]) + '.bak'

back_name = splitext(name)[0] + '.bak'

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-Dev mailing list