for example:
comm = raw_input("Type something you want to say to me > " )
except: comm = "."
if comm.lower().strip() == "hi":
print "hello"
(10% chance of running this command too) os.system('catimg devil_face.png')
here, catimg
is a console command which turns images into ascii coloured characters, and devil_face.png is a scary image i uploaded to the machine.