Example #1
0
myName = changeName()
greetings(str(myName))

if __name__ == '__main__':

    while True:
        command = takeCommand().lower()
        if command == 0:
            continue

        if "good bye" in command or "bye" in command or "stop" in command or "exit" in command:
            goodbye.sayBye()
            break

        elif "date" in command:
            Date.DateTime()

        elif 'wikipedia' in command:
            searchWiki.searching(command)

        elif 'search' in command:
            searchGoogle.searchQuery(command)

        elif 'open youtube' in command:
            openYT.openSiteYT()

        elif 'open chrome' in command:
            openChrome.openProgram()

        elif 'open google' in command:
            openGoogle.openSiteChrome()