Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!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.047 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'lawrence': 0.09; 'subject:question': 0.10; 'buggy': 0.16; 'subject:beginner': 0.16; 'two.': 0.16; 'fix': 0.17; 'wrote:': 0.18; '>>>': 0.22; 'header :User-Agent:1': 0.23; 'settings.': 0.24; 'subject:problem': 0.24; 'url:moin': 0.24; 'header': 0.24; 'least': 0.26; 'header:In-Reply- To:1': 0.27; 'google,': 0.29; 'posting': 0.31; 'url:wiki': 0.31; 'url:python': 0.33; 'bugs': 0.33; 'something': 0.35; 'thanks': 0.36; 'url:org': 0.36; 'being': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'bad': 0.39; 'to:addr:python.org': 0.39; 'address.': 0.39; 'enough': 0.39; 'received:172.20': 0.60; 'received:74.208': 0.68; 'injury,': 0.84; 'received:74.208.4.194': 0.84 Date: Tue, 04 Jun 2013 17:48:10 -0400 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: python-list@python.org Subject: Re: lstrip problem - beginner question References: <1829efca-935d-4049-ba61-7138015a2806@googlegroups.com> <1fb7c07f-d974-43d0-815b-2739f7a4b965@googlegroups.com> <1c5227af-75a2-4a78-881d-ff16074b556a@googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:3dR2JDsVPKM91WLvY45fsrH0TxoGnbcqjvFtCVmscpX AQqaXrVbsyA0scbVRLgQlhjsEcifFZfoZHedn3fqNL97q3nHOM LKBudQbZuDKzycTMHgypr8BI8fVS6EGEhCofthZmPuTFaBCr7C KGqnPjyOCirZByd5LtGglAwJPxFcLMs/uH2MAwCfpdwo+qfsoE 2vWKxIOQNp8skjcAwkSv8HbQc56Q5n+gWsDOXmF6gyoAXSCmTg rPHYQpM2H38DbGAt72lqWm+q+AXCrmDooT++eeTKmN5feFBx5r bMG6nvUY93r0uykw1QXUlhYYoT2YrzueqmukRTR5hrK1Yy6lNl QGsAPNTzgSwGVdXuJ77Y= 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: 42 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1370382496 news.xs4all.nl 15921 [2001:888:2000:d::a6]:59058 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46973 On 06/04/2013 12:01 PM, Mark Lawrence wrote: > On 04/06/2013 16:49, mstagliamonte wrote: > > [strip the double line spaced nonsense] > > Can you please check your email settings. It's bad enough being plagued > with double line spaced mail from google, having it come from yahoo is > just adding insult to injury, thanks :) > Mark: The OP is posting from googlegroups, just using a yahoo return address. So you just have one buggy provider to hate, not two. >> >>> If the header is something like: >> >>> h01 = ('>scaffold_1') >> >>> I just use: >> >>> h01.lstrip('>scaffold_') >> >>> and this returns me '1' >> >>> >> >>> But, if the header is: >> madmaxthc@yahoo.it: If you must use googlegroups, at least fix the double-posting and double-spacing bugs it has. Start by reading: http://wiki.python.org/moin/GoogleGroupsPython -- DaveA