desktopAssistant icon indicating copy to clipboard operation
desktopAssistant copied to clipboard

Exit script?

Open 11sm11 opened this issue 7 years ago • 2 comments

I thought it may be important to end the script. Here is my way. Is this a good way?

> import sys

> elif 'exit program' in command:
>         talkToMe('Goodbye, I am shutting down.')
>         sys.exit()

11sm11 avatar Feb 14 '18 23:02 11sm11

Sorry for the soooo late reply, yes looks okay, or you could simply hit Ctrl + C.

Atulkmr avatar Jan 06 '19 11:01 Atulkmr

@11sm11 This was just for experimenting you know, don't need to write production quality code.

Atulkmr avatar Jan 06 '19 11:01 Atulkmr