Sorry, s/endlines/newlines/

Also, have you tried to run the program on the command line and pretend to
be the GUI?


On Mon, Apr 8, 2013 at 1:51 PM, Álvaro Begué <[email protected]> wrote:

> The number of endlines shouldn't matter. GTP specifies that empty lines
> should be ignored both by the engine and the GUI.
>
>
>
> On Mon, Apr 8, 2013 at 1:50 PM, Sebastian Scheib <[email protected]
> > wrote:
>
>> Well, it worked in Java, why not in Python. Is some old code I am
>> "translating" to Python.
>>
>>
>> 2013/4/8 John Tromp <[email protected]>
>>
>>> > System.out.println("= Evil Tesuji\n\n");
>>>
>>> println adds another newline, for a total of 3.
>>>
>>> > In Python I am trying with:
>>> >
>>> > sys.stdout.write("= "+self.param.name+"\n\n")
>>>
>>> only 2 newlines?!
>>>
>>> -John
>>> _______________________________________________
>>> Computer-go mailing list
>>> [email protected]
>>> http://dvandva.org/cgi-bin/mailman/listinfo/computer-go
>>>
>>
>>
>> _______________________________________________
>> Computer-go mailing list
>> [email protected]
>> http://dvandva.org/cgi-bin/mailman/listinfo/computer-go
>>
>
>
_______________________________________________
Computer-go mailing list
[email protected]
http://dvandva.org/cgi-bin/mailman/listinfo/computer-go

Reply via email to