source:
libs/vision/python/renamer.py
@
153
Revision 150, 152 bytes checked in by dave, 11 years ago (diff) | |
---|---|
|
Rev | Line | |
---|---|---|
[113] | 1 | #!/usr/bin/env python |
2 | ||
3 | import glob | |
4 | import os | |
5 | ||
6 | files = glob.glob("*") | |
7 | for f in files: | |
8 | command = "mv "+f+" "+f+".gif" | |
9 | print command | |
10 | os.system(command) |
Note: See TracBrowser
for help on using the repository browser.