python 播放WAV文件

import winsound

winsound.PlaySound("ding.wav",winsound.SND_FILENAME)

winsound.PlaySound("chimes.wav",winsound.SND_FILENAME)

winsound.PlaySound("ding.wav",winsound.SND_FILENAME)

winsound.PlaySound("chimes.wav",winsound.SND_FILENAME)

winsound.PlaySound("ding.wav",winsound.SND_FILENAME)

winsound.PlaySound("chimes.wav",winsound.SND_FILENAME)

winsound.PlaySound("chimes.wav",winsound.SND_FILENAME)

winsound.PlaySound("chimes.wav",winsound.SND_FILENAME)

winsound.PlaySound("ding.wav",winsound.SND_FILENAME)

winsound.PlaySound("chord.wav",winsound.SND_FILENAME)


本文出自 “星河码头” 博客,请务必保留此出处http://liy607.blog.51cto.com/2892862/1441121

python 播放WAV文件

上一篇:spring mvc 与fastjson集合


下一篇:【Bug笔记】The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path