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


Groups > comp.lang.python > #46973

Re: lstrip problem - beginner question

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 <davea@davea.name>
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 <davea@davea.name>
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> <mailman.2657.1370360513.3114.python-list@python.org> <1c5227af-75a2-4a78-881d-ff16074b556a@googlegroups.com> <kol2vv$omj$1@ger.gmane.org>
In-Reply-To <kol2vv$omj$1@ger.gmane.org>
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 <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.2685.1370382496.3114.python-list@python.org> (permalink)
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

Show key headers only | View raw


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

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


Thread

lstrip problem - beginner question mstagliamonte <madmaxthc@yahoo.it> - 2013-06-04 08:21 -0700
  Re: lstrip problem - beginner question mstagliamonte <madmaxthc@yahoo.it> - 2013-06-04 08:24 -0700
  Re: lstrip problem - beginner question mstagliamonte <madmaxthc@yahoo.it> - 2013-06-04 08:25 -0700
    Re: lstrip problem - beginner question Fábio Santos <fabiosantosart@gmail.com> - 2013-06-04 16:41 +0100
      Re: lstrip problem - beginner question mstagliamonte <madmaxthc@yahoo.it> - 2013-06-04 08:49 -0700
        Re: lstrip problem - beginner question Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-04 17:01 +0100
        Re: lstrip problem - beginner question Dave Angel <davea@davea.name> - 2013-06-04 17:48 -0400
  Re: lstrip problem - beginner question mstagliamonte <madmaxthc@yahoo.it> - 2013-06-04 08:28 -0700
  Re: lstrip problem - beginner question mstagliamonte <madmaxthc@yahoo.it> - 2013-06-04 08:29 -0700
  Re: lstrip problem - beginner question MRAB <python@mrabarnett.plus.com> - 2013-06-04 16:48 +0100
    Re: lstrip problem - beginner question mstagliamonte <madmaxthc@yahoo.it> - 2013-06-04 08:53 -0700
  Re: lstrip problem - beginner question Peter Otten <__peter__@web.de> - 2013-06-04 17:52 +0200
  Re: lstrip problem - beginner question John Gordon <gordon@panix.com> - 2013-06-04 15:55 +0000
    Re: lstrip problem - beginner question mstagliamonte <madmaxthc@yahoo.it> - 2013-06-04 09:06 -0700
  Re: lstrip problem - beginner question Larry Hudson <orgnut@yahoo.com> - 2013-06-04 21:53 -0700

csiph-web