Micah, thanks a lot,
but my focus is to learn how to acess a folder and rename all files in
this folder.
Somyhing like this:
def renamer(folder, band):
folder = #place to act
archive = #file to transform
rest = archive[3:]
print band + " -", rest.capitalize()
And t
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.
--
http://mail.python.org/m
I have one folder containing mp3 files, the folder is:
C:\My Shared Folder\Rubber Soul
And the files are:
01 drive my car.mp3
02 norwegian wood.mp3
03 you won't see me.mp3
04 nowhere man.mp3
.
.
.
I'm trying to rename files to:
The Beatles - Drive My Car.mp3
The Beatles - Norwegian Wood.mp3
The B