Rename files with numbers

dudufigueiredo at gmail.com dudufigueiredo at gmail.com
Mon Oct 31 13:52:27 EST 2005


Ok, so the function simplifyed without loops:

def renamer(folder, band):
	archive = #file to transform
	rest = archive[3:]
	print band + " -",rest.capitalize()


obs: the file names came this way(with spaces or apostrophes) from the
cd i imported.




More information about the Python-list mailing list