Anyways, the thing is: I'm finally finished moving my mp3's from a great heap in a folder called "miscellany", and I'm dead tired of organizing stuff that should have been organized ages ago, and have already been organized on my laptop...
What is the matter at the moment is that most mp3's, ripped from cd's or acquired by other means, come with a free but annoying band-name at the beginning. So what did I do? I undusted python of course, and found myself sorely incompetent... This is roughly what I want... I take it you get the picture?
Expand|Select|Wrap|Line Numbers
- for n in range(1000)
- bandname=raw_input("Band Name? ")
- folderpath=raw_input("The exact path to the folder in which the mp3's are? ")
- l1=[]
- l1.append(filenames in folderpath)
- for item in l1:
- if item contains bandname:
- item=item-bandname
- for item in l1:
- assign item to corresponding file or summat like that
- questionthingie=raw_input("Wanna start again? ")
- if questionthingie=="Yeah":
- print "Okay, here we go"
- else:
- break
I would greatly appreciate it ^^
Burnie