jmunsch

count_up_rename

Oct 22nd, 2013
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. import os
  2. #drop this in the folder with all the wav files
  3. i =0
  4.  
  5. for filename in os.curdir():
  6.     print "renaming:"+str(filename)
  7.     os.rename(filename,str(i)+".wav")
  8.     print "done: "+str(i)
  9.     i += 1
Advertisement
Add Comment
Please, Sign In to add comment