Commit 23949315 by BellCodeEditor

save project

parent 5d796b4c
Showing with 2 additions and 2 deletions
...@@ -14,11 +14,11 @@ next_img = pygame.image.load('next.png') # 下一曲按钮 ...@@ -14,11 +14,11 @@ next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 下一曲按钮 logo_img = pygame.image.load('logo.png') # 下一曲按钮
gequ = ["歌曲1.wav","test.wav"] gequ = ["歌曲1.wav","test.wav"]
path = "C:\Users\Administrator\Documents\pygame_lesson5_diy3\\" path = "C:\\Users\\Administrator\\Documents\\pygame_lesson5_diy3\\"
wj = os.listdir(path) wj = os.listdir(path)
for i in wj: for i in wj:
if i[-4:] == ".wav": if i[-4:] == ".wav":
gequ.append() gequ.append(i)
# 载入音乐 # 载入音乐
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