Commit 601222a2 by BellCodeEditor

save project

parent 8bfb12f9
Showing with 1 additions and 1 deletions
...@@ -13,7 +13,7 @@ next_img = pygame.image.load('next.png') # 下一曲按钮 ...@@ -13,7 +13,7 @@ next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 下一曲按 logo_img = pygame.image.load('logo.png') # 下一曲按
music_list=[] music_list=[]
path="C:\\Users\\dell\\Desktop\\text" path="C:\\Users\\dell\\Desktop\\text"
filelist=os.fistdir(path) filelist=os.listdir(path)
for i in filelist: for i in filelist:
if i[-4:]== ".ogg" or i[-4:]==".way": if i[-4:]== ".ogg" or i[-4:]==".way":
music_list.append(i) music_list.append(i)
......
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