Displaying 1 result from an estimated 1 matches for "saywhatev".
Did you mean:
saywhatever
2016 Jan 06
2
No joy with my first AGI Python script
It's very simple but it doesn't work. Here's the entire script.
#! /usr/bin/python
import sys
env = {}
def comm(cmd):
sys.stdout.write(cmd.strip() + '\n')
sys.stdout.flush()
return sys.stdin.readline().strip()
while 1:
line = sys.stdin.readline().strip()
if line == '': break
key,data = line.split(':')
if key[:4] == 'agi_':