Created
April 27, 2017 11:07
-
-
Save WangXiaoxi/e3110fd25b769bfd5101dd431494ceee to your computer and use it in GitHub Desktop.
Batch rename files name with python
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 os | |
for filename in os.listdir("."): | |
if filename.startswith("evaluation"): | |
os.rename(filename, "review"+filename[10:]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment