[Computer-go] Sending GTP commands in Python

Sebastian Scheib stackpointerex at gmail.com
Mon Apr 8 10:42:19 PDT 2013

I am trying to send commands using GTP protocol in Python, but is not

In Java I used for example for Name:

System.out.println("= Evil Tesuji\n\n");

In Python I am trying with:

sys.stdout.write("= "+self.param.name+"\n\n")


print "= "+self.param.name+"\n\n"

but goGui keeps telling me that the go program is not responding to the
command "name" even if I know the line is executed. Any suggestion?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://computer-go.org/pipermail/computer-go/attachments/20130408/029a9a15/attachment.html>

More information about the Computer-go mailing list