В чём проблема? В консоли написано 88 строка config = ttk.Meter(
import ttkbootstrap as ttk import pygame from mutagen.mp3 import MP3 import time
pygame.mixer.init() pygame.mixer.music.load("music_1.mp3") a = MP3('music_1.mp3') length_music = int(a.info.length)
timer = 0 play = False
def pause_(): global pause, play if pause == False: pygame.mixer.music.pause() play = False pause = True else: pygame.mixer.music.unpause() pause = False play = True return pause, play
def stop(): global play play = False pygame.mixer.music.stop() play = True return play
ttk.Label(win,text=(minut_peremotka_music,':',sec_peremotka_music,'/', minut_length_music, ':', sec_length_music)).grid(row=1, column=1) if minut_length_music == minut_peremotka_music and sec_length_music == sec_peremotka_music: play = False return play
def play_music(): global play play = True times() pygame.mixer.music.set_volume(0.4) pygame.mixer.music.play()
В консоли написано 88 строка
config = ttk.Meter(