Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'read.': 0.03; 'digest': 0.04; 'from:addr:yahoo.co.uk': 0.04; 'subsequent': 0.05; 'subject:file': 0.07; 'friday,': 0.09; 'guys!': 0.09; 'lawrence': 0.09; 'parsers': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject: [': 0.09; '-tkc': 0.16; 'csv': 0.16; 'great!': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'red,': 0.16; 'subject:CSV': 0.16; 'subject:several': 0.16; ':-)': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'header:User-Agent:1': 0.23; 'certainly': 0.24; 'url:moin': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'tim': 0.29; "i'm": 0.30; 'url:wiki': 0.31; 'chase': 0.31; 'worked': 0.33; 'url:python': 0.33; 'subject:with': 0.35; 'but': 0.35; 'object,': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'subject:]': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'enough': 0.39; 'received:org': 0.40; 'read': 0.60; 'future': 0.60; 'course.': 0.60; 'most': 0.60; 'first': 0.61; "you'll": 0.62; 'soon': 0.63; 'received:2': 0.84; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Consolidate several lines of a CSV file with firewall rules [PS] Date: Fri, 11 Oct 2013 23:40:46 +0100 References: <9190d949-7b03-4579-8d46-c42afcc9d0fa@googlegroups.com> <20131011154046.629dfe35@bigbox.christie.dr> <4a2ba266-a741-48e3-bbea-043b0152a9f6@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-2-98-194-81.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: <4a2ba266-a741-48e3-bbea-043b0152a9f6@googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 35 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1381531269 news.xs4all.nl 15864 [2001:888:2000:d::a6]:48984 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:56716 On 11/10/2013 22:22, Starriol wrote: > On Friday, October 11, 2013 5:50:06 PM UTC-3, Tim Chase wrote: >> On 2013-10-11 15:40, Tim Chase wrote: >> >>> the dangling open-quotes on #1 that cause most CSV parsers to read >> >>> until the subsequent line is read. >> >> >> >> And by "subsequent line", I mean "subsequent closing-quote" of >> >> course. :-) >> >> >> >> -tkc > > Ha, thanks a million, Tim! > That worked great! > Hopefully soon enough I'm going to be able to write it on my own without having to bother you guys! > If in future you do have to bother us we'll not object, but you'll certainly be less bother if you read and digest this first https://wiki.python.org/moin/GoogleGroupsPython :) -- Roses are red, Violets are blue, Most poems rhyme, But this one doesn't. Mark Lawrence