Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for notenumbers in range(48, 64+1):
- note = requests.get(url.format(instrument, notenumbers))
- notebinary = note.content
- time.sleep(3)
- with open("E:\useraccount\x\x\"+str(dirname)+"\"+str(instrname)+"\"+str(instrname) +"-" +str(notenumbers) +".ogg", "wb") as o:
- print("Creating file named: " +str(instrname) +":" +str(notenumbers) +".ogg")
- o.write(notebinary)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement