He has two consecutive newlines since print adds one unless the print statement has a comma at the end. - George
On 8/24/07, Hellwig Geisse <[EMAIL PROTECTED]> wrote: > Thomas, > > On Fri, 2007-08-24 at 17:26 -0500, Thomas Nelson wrote: > > > command = raw_input() > > print "= myName\n" > > the following is taken directly from the protocol specification: > > ------------------------------------------------------------- > > 2.6 Response Structure > > If successful, the engine returns a response of the form > > =[id] result > > Here '=' indicates success, id is the identity number given in the > command, and result is a piece of text ending with two consecutive > newlines. > > ------------------------------------------------------------- > > Please note the "two consecutive newlines". > > As others have already pointed out, you have to flush the > output if it is buffered. > > Hellwig > > _______________________________________________ > computer-go mailing list > [email protected] > http://www.computer-go.org/mailman/listinfo/computer-go/ > _______________________________________________ computer-go mailing list [email protected] http://www.computer-go.org/mailman/listinfo/computer-go/
