Commit 30f00b4c by BellCodeEditor

save project

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