Skip to content

Instantly share code, notes, and snippets.

@jalcine
Created November 12, 2011 20:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jalcine/1361084 to your computer and use it in GitHub Desktop.
Save jalcine/1361084 to your computer and use it in GitHub Desktop.
Represents the mock-up for Wintermute
#!/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