import os
import time


if os.name == "nt":
    import win32com.client as wincl

    def _say(sentence, sleepseconds=0.5):
        try:
            speaker = wincl.Dispatch("SAPI.SpVoice")
            speaker.Speak(sentence)
            time.sleep(sleepseconds)
        except Exception as ex:
            print("Error in speaking: ".format(ex.msg))
else:
    def _say(sentence, sleepseconds=0.5):
        os.system("say {0}".format(sentence))
        time.sleep(sleepseconds)



5dcae2619fdcb5449446a11d2882e1829b9ddb18
<mask token>

<mask token>
if os.name == 'nt':
    import win32com.client as wincl

    def _say(sentence, sleepseconds=0.5):
        try:
            speaker = wincl.Dispatch('SAPI.SpVoice')
            speaker.Speak(sentence)
            time.sleep(sleepseconds)
        except Exception as ex:
            print('Error in speaking: '.format(ex.msg))
else:

    def _say(sentence, sleepseconds=0.5):
        os.system('say {0}'.format(sentence))
        time.sleep(sleepseconds)

import os
import time
if os.name == 'nt':
    import win32com.client as wincl

    def _say(sentence, sleepseconds=0.5):
        try:
            speaker = wincl.Dispatch('SAPI.SpVoice')
            speaker.Speak(sentence)
            time.sleep(sleepseconds)
        except Exception as ex:
            print('Error in speaking: '.format(ex.msg))
else:

    def _say(sentence, sleepseconds=0.5):
        os.system('say {0}'.format(sentence))
        time.sleep(sleepseconds)

import os
import time


if os.name == "nt":
    import win32com.client as wincl

    def _say(sentence, sleepseconds=0.5):
        try:
            speaker = wincl.Dispatch("SAPI.SpVoice")
            speaker.Speak(sentence)
            time.sleep(sleepseconds)
        except Exception as ex:
            print("Error in speaking: ".format(ex.msg))
else:
    def _say(sentence, sleepseconds=0.5):
        os.system("say {0}".format(sentence))
        time.sleep(sleepseconds)


