Created
November 12, 2011 20:42
-
-
Save jalcine/1361084 to your computer and use it in GitHub Desktop.
Represents the mock-up for Wintermute
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import time | |
import cmd | |
print("Wintermute 1.0 (pid 9860) :: Artificial intelligence for common Man. (Licensed under the GPL3+)\n(core) [Factory] Started.\n ") | |
time.sleep(0.5) | |
class winty(cmd.Cmd): | |
def do_events(self,line): | |
print("It's almost time until your scheduled event with Wintermute Developers at 19:00 EST on Freenode (##sii-dev).") | |
def do_analize(self,line): | |
#Analysys " This is a test" | |
print("Analysing...") | |
time.sleep(0.5) | |
print "This\n Demonstrative\n Links()\n Function: subject" | |
print "is\n Verb\n Links(This,a test)\n Function: verb." | |
print "a test.\n Compound phrase\n Links(is)\n Function: object" | |
print "\n----a \n Article \n Links(a test,test) \n Function: link" | |
print "\n----test \n Noun \n Links(a test,a) \n Function: object" | |
def do_analize_f2(self,line): | |
print ":3" | |
winty.prompt="wntr: " | |
winty().cmdloop() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment