Commit 3c71a04d by BellCodeEditor

save project

parent c7a0b95b
Showing with 1 additions and 1 deletions
...@@ -18,7 +18,7 @@ path = "C:\\Users\\EDY\\Desktop\\text" ...@@ -18,7 +18,7 @@ path = "C:\\Users\\EDY\\Desktop\\text"
filelist = os.listdir(path) filelist = os.listdir(path)
print(filelist) print(filelist)
for i in filelist: for i in filelist:
if i[-4:]==".wav" or i[-4:]==".ogg" or i[-4]=="mp3": if i[-4:]==".wav" or i[-4:]==".ogg" or i[-4]==".mp3":
music_list.append(i) music_list.append(i)
print(music_list) print(music_list)
num=-1 num=-1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment