Created
November 13, 2016 19:45
-
-
Save vlazar-/e5118c0cb6de9672b59decea204e90ed to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import glob, re, os | |
counter = 1 | |
for filename in glob.glob('C:/littleBits_mp3/*.mp3'): | |
os.rename(filename, 'C:/littleBits_mp3/%d.mp3' % (counter,)) | |
counter = counter + 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment