Commit 65a6df2c by BellCodeEditor

save project

parent 31c97f3a
Showing with 1 additions and 1 deletions
...@@ -16,7 +16,7 @@ logo_img = pygame.image.load('logo.png') # 下一曲按钮 ...@@ -16,7 +16,7 @@ logo_img = pygame.image.load('logo.png') # 下一曲按钮
# 载入音乐 # 载入音乐
music_list = ['歌曲1.wav','歌曲2.wav','歌曲3.wav','歌曲4.ogg'] music_list = ['歌曲1.wav','歌曲2.wav','歌曲3.wav','歌曲4.ogg']
path = 'C:\Users\Administrator\Desktop\新建文件夹' path = "C:\Users\Administrator\Desktop\新建文件夹"
filelist = os.listdir(path) filelist = os.listdir(path)
for i in filelist: for i in filelist:
if i[-4: ] == ".wav" or i[-4: ] == ".ogg": if i[-4: ] == ".wav" or i[-4: ] == ".ogg":
......
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