Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #45953
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!194.109.133.81.MISMATCH!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <jsf80238@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.030 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.00; '"this': 0.03; 'subject:script': 0.09; 'cc:addr:python-list': 0.11; 'csv': 0.16; 'skip:g 120': 0.16; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'getting': 0.31; 'lines': 0.31; "skip:' 10": 0.31; 'file:': 0.31; 'received:google.com': 0.35; 'two': 0.37; 'to:addr:gmail.com': 0.65; 'here': 0.66; 'reply': 0.66 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=y8npy4nC7ER5m+B7CMmZCynuitfHwfZOYVtNW69FnPM=; b=W4Lka4JFwiBDdmKSjY5b5w4kY+FEDiNyuvb4uOPAYH12wRY1qfxXmkqX1zZlnATxbS LacrvCt6hb8h6L18Xd2UEEkJg4UHryE3/aFSdwhEpIvHqxu5VEkRfXiimGgnzfIWg+Bv NOvhiILr/aHm7AxqScos1altneCAjhxm/CNXu6oWoTH1jLsJujsAaIi+c+puwd/vrbLI 8B/Ixoxr7GKtVSfzDSa2ituiDQLWbqHAneIU7Hdmtmsx7ESZ6c2QsBMc5dc3IF06h4BZ 8zDT05lLuX48+HiQvt7bHV0m1Vl11I7ghBSVl97Uf2sxYMrNHq4j55zhUf7qEn5bXhZt E77A== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.56.11 with SMTP id w11mr1014383igp.50.1369453764781; Fri, 24 May 2013 20:49:24 -0700 (PDT) |
| In-Reply-To | <b52fcbed-3ea6-4352-99de-c6274c557016@googlegroups.com> |
| References | <52c74908-8bac-498e-9549-5b9500b152f1@googlegroups.com> <b52fcbed-3ea6-4352-99de-c6274c557016@googlegroups.com> |
| Date | Fri, 24 May 2013 21:49:24 -0600 |
| Subject | Re: suppress newlines in my script |
| From | Jason Friedman <jsf80238@gmail.com> |
| To | sloan949@gmail.com |
| Content-Type | text/plain; charset=UTF-8 |
| Cc | python-list <python-list@python.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| 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> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2103.1369453767.3114.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1369453767 news.xs4all.nl 15885 [2001:888:2000:d::a6]:45761 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:45953 |
Show key headers only | View raw
> Here are two lines from the CSV file:
> ,,172.20.{0}.0/27,172.20.{0}.32/27,172.20.{0}.64/27,29,172.20.{0}.96/27,,,,172.21.{0}.0/27,172.21.{0}.32/27,172.21.{0}.64/27,29,172.21.{0}.96/27
> GW:,,172.20.{0}.1,172.20.{0}.33,172.20.{0}.65,,172.20.{0}.97,,GW:,,172.21.{0}.1,172.21.{0}.33,172.21.{0}.65,,172.21.{0}.97
>
> This is the output:
> ,,,,,,,,,,,,,,
>
> ,,,,,,,,,,,,,,
> GW:,,172.20.126.129,172.20.126.161,172.20.126.193,,172.20.126.225,,GW:,,172.21.126.129,172.21.126.161,172.21.126.193,,172.21.126.225
>
> ''''''''''''''''''
When you say "this is the output" do you mean that is what you are
getting or that is what you want? If that is what you are getting
please reply with what you want for output.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
suppress newlines in my script sloan949@gmail.com - 2013-05-23 13:49 -0700
Re: suppress newlines in my script Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-05-23 19:11 -0400
Re: suppress newlines in my script sloan949@gmail.com - 2013-05-24 06:59 -0700
Re: suppress newlines in my script Dave Angel <davea@davea.name> - 2013-05-24 15:24 -0400
Re: suppress newlines in my script Jason Friedman <jsf80238@gmail.com> - 2013-05-24 21:49 -0600
Re: suppress newlines in my script Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-05-25 13:33 -0400
csiph-web