Commit 19793151 by BellCodeEditor

save project

parent dee16c6b
Showing with 5 additions and 0 deletions
import pygame
import os
from pygame import locals
pygame.init() # 初始化
......@@ -12,6 +13,10 @@ last_img = pygame.image.load('last.png') # 上一曲按钮
next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 下一曲按钮
path = "C:\\Users\\Administrator\\Desktop\\test"
fl = os.listdir(path)
print(fl)
# 载入音乐
m_l = ['歌曲1.wav','歌曲2.wav','歌曲3.wav','歌曲4.ogg']
n = -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