[Tutor] removing padded numbers

Christopher Spears cspears2002 at yahoo.com
Thu Jan 11 02:50:28 CET 2007


Does anyone how to remove padded numbers with python? 
I want to be able to take a file like

afile.0001.cin

and convert it to

afile.1.cin

I've been checking the docs but nothing jumps out at
me.  

Thanks!


More information about the Tutor mailing list