📅  最后修改于: 2022-03-11 14:46:33.336000             🧑  作者: Mango
from audioplayer import AudioPlayer
# Playback stops when the object is destroyed (GC'ed), so save a reference to the object for non-blocking playback.
AudioPlayer("path/to/somemusic.mp3").play(block=True)