Skip to content

Instantly share code, notes, and snippets.

@leifulstrup
Created September 13, 2017 19:24
Show Gist options
  • Save leifulstrup/c2d11e201112b98294bccdd09b5b7fb7 to your computer and use it in GitHub Desktop.
Save leifulstrup/c2d11e201112b98294bccdd09b5b7fb7 to your computer and use it in GitHub Desktop.

Revisions

  1. leifulstrup created this gist Sep 13, 2017.
    6 changes: 6 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    import os
    def alertMe(phrase):
    text2speak = 'say ' + '"' + phrase + '"'
    os.system(text2speak)

    alertMe("Alert Me Function Works")