Commit 66a3d64f by BellCodeEditor

save project

parent 6037b0e5
Showing with 2 additions and 2 deletions
import pygame import pygame
import os
from pygame import locals from pygame import locals
pygame.init() # 初始化 pygame.init() # 初始化
...@@ -22,7 +22,7 @@ click = 0 ...@@ -22,7 +22,7 @@ click = 0
play_button = stop_img play_button = stop_img
num=-1 num=-1
filelist=['歌曲1.wav','歌曲2.wav','歌曲3.wav'] filelist=['歌曲1.wav','歌曲2.wav','歌曲3.wav']
path=os.listdir("r'C:\Users\EDZ\Desktop\text")
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: 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