Python3.4 调用语音及警报声

    import win32com.client  
    import winsound  
    speak = win32com.client.Dispatch('SAPI.SPVOICE')  
    winsound.Beep(2015, 3000)  
    speak.Speak('程序运行完毕!')  

编程技巧