Skip to content

Instantly share code, notes, and snippets.

@jalcine jalcine/mockup.py
Created Nov 12, 2011

Embed
What would you like to do?
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
You can’t perform that action at this time.