Hi guys. It's been ages since I tried making anything halfway useful in python, and back when I did, I was almost never successful...
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?
[Code=python]
for n in range(1000)
bandname=raw_in put("Band Name? ")
folderpath=raw_ input("The exact path to the folder in which the mp3's are? ")
l1=[]
l1.append(filen ames 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("Wan na start again? ")
if questionthingie =="Yeah":
print "Okay, here we go"
else:
break
[/Code]
Anyone have any suggestions as to where I should go from here?
I would greatly appreciate it ^^
Burnie
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?
[Code=python]
for n in range(1000)
bandname=raw_in put("Band Name? ")
folderpath=raw_ input("The exact path to the folder in which the mp3's are? ")
l1=[]
l1.append(filen ames 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("Wan na start again? ")
if questionthingie =="Yeah":
print "Okay, here we go"
else:
break
[/Code]
Anyone have any suggestions as to where I should go from here?
I would greatly appreciate it ^^
Burnie
Comment