python sound

python sound

Learned: http://www.jb51.net/article/62644.htm

import winsound
winsound.Beep( 600,1000 )
 #where 600 represents the sound volume, 1000 represents the occurrence time, and 1000 is 1 second

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325199492&siteId=291194637
Recommended