From 278b72c3ea6554f70b7a4a02c950c78a2266566e Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 17 Dec 2023 17:06:31 +0800 Subject: [PATCH] save project --- my_music.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/my_music.py b/my_music.py index f95e51e..7384245 100644 --- a/my_music.py +++ b/my_music.py @@ -81,12 +81,12 @@ while True: num = 0 pygame.mixer.music.load(path + "\\" + music_list[num]) pygame.mixer.music.play() - play_time = pygame.mixer.music.get_pos() - play_time = int(play_time/1000) - play_m = play_time//60 - play_s = play_time % 60 - info = str(play_m)+":"str(play_s) - print("当前的播放数"+into) + play_time = pygame.mixer.music.get_pos() + play_time = int(play_time/1000) + play_m = play_time//60 + play_s = play_time % 60 + info = str(play_m)+':'+str(play_s) + print("当前的播放数"+info) new_logo = pygame.transform.rotate(logo_img, angle) newRect = new_logo.get_rect(center=(320,200)) pos = (newRect[0],newRect[1]) -- libgit2 0.25.0