[newbie] trying socket as a replacement for nc

Dave Angel davea at davea.name
Mon Dec 16 13:42:49 EST 2013


On Mon, 16 Dec 2013 10:26:14 -0800 (PST), Jean Dubois 
<jeandubois314 at gmail.com> wrote:


>   File "./test.py", line 7
>     def flush()
>               ^
> SyntaxError: invalid syntax

A definition line needs to end with a colon (fix the other as well)

-- 
DaveA




More information about the Python-list mailing list