Commit ea4a4181 by BellCodeEditor

save project

parent 35aec034
Showing with 3 additions and 3 deletions
...@@ -16,7 +16,7 @@ logo_img = pygame.image.load('logo.png') # 下一曲按钮 ...@@ -16,7 +16,7 @@ logo_img = pygame.image.load('logo.png') # 下一曲按钮
music_list = [] music_list = []
path = "C:\\Users\\Administrator\\Desktop" path = "C:\\Users\\Administrator\\Desktop"
filelist = os.listdir(path) filelist = os.listdir(path)
clock = pygame.time.Clock.tick() clok = pygame.time.Clock()
num = -1 num = -1
for i in filelist: for i in filelist:
if i[-4:] == ".wav" or i[-4:] == ".ogg": if i[-4:] == ".wav" or i[-4:] == ".ogg":
...@@ -96,4 +96,4 @@ while True: ...@@ -96,4 +96,4 @@ while True:
screen.blit(next_img, (420, 350)) screen.blit(next_img, (420, 350))
pygame.display.update() pygame.display.update()
clock.tick(60) clok.tick(60)
\ No newline at end of file \ No newline at end of file
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