Commit 47dff94d by BellCodeEditor

save project

parent 8822d9e5
Showing with 2 additions and 2 deletions
......@@ -14,10 +14,10 @@ logo_img = pygame.image.load('logo.png') # 下一曲按钮
# 载入音乐
music_list=[]
path=C:\\Users\\BBTC\\Desktop\\text
path="\\Users\\BBTC\\Desktop\\text"
filelist= os.listdir(path)
for i in filelist:
if i[-4:]==".ogg"or i[-4:]==".wav"
if i[-4:]==".ogg" or i[-4:]==".wav":
music_list.append(i)
filelist=['歌曲1.wav','歌曲2.wav','歌曲3.wav','歌曲4.ogg']
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