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


Groups > comp.lang.python > #5501

Re: Convert AWK regex to Python

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <jnr.gonzalez@googlemail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.034
X-Spam-Evidence '*H*': 0.94; '*S*': 0.01; 'subject:Python': 0.04; 'python': 0.07; 'dict': 0.09; 'awk': 0.16; 'subject:Convert': 0.16; 'subject:regex': 0.16; 'this?': 0.18; 'cc:no real name:2**0': 0.20; 'cc:2**0': 0.20; 'header:In-Reply-To:1': 0.22; 'cc:addr:python-list': 0.22; 'received:209.85.213': 0.23; 'from:addr:googlemail.com': 0.29; 'cc:addr:python.org': 0.31; 'header:User-Agent:1': 0.35; 'received:209.85': 0.37; 'received:google.com': 0.38; 'received:209': 0.39; 'how': 0.39; 'to:addr:googlegroups.com': 0.69; 'reply-to:no real name:2**0': 0.72; 'header:Reply-To:1': 0.72; 'correctly?': 0.84; 'reply- to:addr:googlegroups.com': 0.93
Newsgroups comp.lang.python
Date Mon, 16 May 2011 01:43:20 -0700 (PDT)
In-Reply-To <mailman.1633.1305534667.9059.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=195.233.250.6; posting-account=cLrwyAoAAAB9UeiSeYmBPmVn0SNqa__5
User-Agent G2/1.0
MIME-Version 1.0
Subject Re: Convert AWK regex to Python
From J <jnr.gonzalez@googlemail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
Reply-To comp.lang.python@googlegroups.com
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.1634.1305535408.9059.python-list@python.org> (permalink)
Lines 2
NNTP-Posting-Host 82.94.164.166
X-Trace 1305535408 news.xs4all.nl 81484 [::ffff:82.94.164.166]:47005
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:5501

Show key headers only | View raw


Good morning Angelico,
Do I understand correctly? Do you mean incorporating a Python dict inside the AWK command? How can I do this?

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


Thread

Re: Convert AWK regex to Python J <jnr.gonzalez@googlemail.com> - 2011-05-16 01:43 -0700

csiph-web