Mac Os X中的pythonmp3文件打开错误
我正在使用Mac Os X中的pythonmp3文件打开错误,python,operating-system,Python,Operating System,我正在使用os.startfilecode运行.mp3文件,但出现错误: 我的代码是 os.system("Warning.mp3") 但我遇到了这样的错误 sh: Warning.mp3: command not found 您能帮助我使用os.startfile启动mp3文件吗?os.startfile函数可能重复。os.startfile函数可能重复。
os.startfile
code运行.mp3
文件,但出现错误:
我的代码是
os.system("Warning.mp3")
但我遇到了这样的错误
sh: Warning.mp3: command not found
您能帮助我使用os.startfile启动mp3文件吗?os.startfile函数可能重复。os.startfile函数可能重复。