Commit 0ac6e585 by BellCodeEditor

save project

parent f1279a0c
Showing with 2 additions and 1 deletions
import pygame
from pygame import locals
import os
pygame.init() # 初始化
# 创建窗口
......@@ -60,7 +61,7 @@ while True:
num += 1
if num > len(filelist)-1:
num = 0
pygame.mixer.music.load(+''+ music_list[num])
pygame.mixer.music.load(path+'\\'+ music_list[num])
pygame.mixer.music.play()
# 绘制画面
......
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