Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #62091

Re: [newbie] trying socket as a replacement for nc

From Dave Angel <davea@davea.name>
Subject Re: [newbie] trying socket as a replacement for nc
Date 2013-12-16 13:42 -0500
References <41954a05-c9bd-43f7-9427-915653ff8657@googlegroups.com> <mailman.4222.1387212273.18130.python-list@python.org> <a71c4874-2fbc-439d-bc2a-483feb4f3080@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.4230.1387219303.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Mon, 16 Dec 2013 10:26:14 -0800 (PST), Jean Dubois 
<jeandubois314@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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [newbie] trying socket as a replacement for nc Jean-Michel Pichavant <jeanmichel@sequans.com> - 2013-12-16 17:44 +0100
  Re: [newbie] trying socket as a replacement for nc Jean Dubois <jeandubois314@gmail.com> - 2013-12-16 10:26 -0800
    Re: [newbie] trying socket as a replacement for nc Chris Angelico <rosuav@gmail.com> - 2013-12-17 05:35 +1100
    Re: [newbie] trying socket as a replacement for nc Dave Angel <davea@davea.name> - 2013-12-16 13:42 -0500

csiph-web