PyGame
для воспроизведения звуков.> sound.py
pygame 2.1.2 (SDL 2.0.18, Python 3.10.8)
Hello from the pygame community. https://www.pygame.org/contribute.html
import pygame
pygame.mixer.init()
sound = pygame.mixer.Sound("221.mp3")
sound.play()
from os import environ
environ['PYGAME_HIDE_SUPPORT_PROMPT'] = '1'
import pygame # импорт строго после environ