Commit 5015af68 by BellCodeEditor

save project

parent 07d1f384
Showing with 1 additions and 2 deletions
import pygame import pygame
from pygame import locals from pygame import locals
import os import os
pygame.init() # 初始化 pygame.init() # 初始化
# 创建窗口 # 创建窗口
screen = pygame.display.set_mode((640, 480)) screen = pygame.display.set_mode((640, 480))
...@@ -16,7 +15,7 @@ logo_img = pygame.image.load('logo.png') # 下一曲按钮 ...@@ -16,7 +15,7 @@ logo_img = pygame.image.load('logo.png') # 下一曲按钮
#music_list=["Bygone Bumps.mp3","Herobrine's Life.mp3","歌曲4.mp3"] #music_list=["Bygone Bumps.mp3","Herobrine's Life.mp3","歌曲4.mp3"]
music_list=[] music_list=[]
volume = 0.2 volume = 0.2
path="C:\\Users\\dell\\Desktop\\test" path="E:\\歌曲"
filelist=os.listdir(path) filelist=os.listdir(path)
music_list = [] music_list = []
for i in filelist: for i in filelist:
......
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