import winsound def play_bytes(bytes_sound: bytes) -> None: winsound.PlaySound(bytes_sound, winsound.SND_MEMORY)