Commit da7d011f by BellCodeEditor

save project

parent 40646985
Showing with 3 additions and 3 deletions
......@@ -19,11 +19,11 @@ volume = 0.2
pygame.mixer.music.set_volume(volume) # 初始播放音量
click = 0
play_button = stop_img
path='C:\\Users\\Administrator\\Music'
path='C:\\Users\\Administrator\\Desktop\\tc'
f=os.listdir(path)
for i in f:
if i[-4:]=='.wav' or i[-4:]=='.ogg':
music_list.append(i)
#if i[-4:]=='.wav' or i[-4:]=='.ogg':
music_list.append(i)
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
......
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