Re: Rename files with numbers

2005-11-17 Thread Dudu Figueiredo
thanks, i'll take a look ;] -- http://mail.python.org/mailman/listinfo/python-list

Re: Rename files with numbers

2005-11-02 Thread Dudu Figueiredo
I wrote a simpler script based in Micah Elliott's help, it's to add the band name to mp3 files imported with iTunes: import glob, os def renamer_itunes(songdir, band): """ Rename mp3 files imported from itunes, transformation: Song Name.mp3 --> Artists - Song Name.mp3 """ os.c

Re: Rename files with numbers

2005-10-31 Thread Dudu Figueiredo
Oh, forget what i've just said, i didn't read the __debug__ part. It worked perfectly =] Realy good Python classes! Eduardo Figueiredo http://dudufigueiredo.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Rename files with numbers

2005-10-31 Thread Dudu Figueiredo
Micah, thanks a lot, nice script! But its not completly working, i ran this: fix_ugly_song_names('C:\My Shared Folder\Rubber Soul', 'The Beatles', spacerepl=' ') And the shell prints this: 01 drive my car.mp3 --> The Beatles - Drive My Car.mp3 02 norwegian wood (this bird has flo).mp