Python3不使用pygame模块播放MP3的方法(python3 play mp3 file without using pygame)
环境:Python3.6+windows10 问题描述:Python播放MP3的时候一般用了三种方法, 第一种:使用OS模块播放,os.system(‘filename’) 缺点:调用第三方播放器来播放此文件 第二种:使用mp3play播放,但是此模块目前不支持Python3,所以放弃。在此处给出用法: import mp3play def playmusic(path): cli