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


Groups > comp.lang.python > #27602

Re: asking

Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ian@feete.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.040
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'substring': 0.09; 'def': 0.10; 'from:addr:ian': 0.16; 'indent': 0.16; 'string:': 0.16; 'received:192.168.1.100': 0.22; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'received:208.97': 0.29; 'received:208.97.132': 0.29; 'received:66.33': 0.29; 'received:66.33.216': 0.29; 'received:66.33.216.122': 0.29; 'received:dreamhost.com': 0.29; 'received:g.dreamhost.com': 0.29; 'received:hapkido.dreamhost.com': 0.29; 'hopefully': 0.33; 'to:addr:python-list': 0.33; 'false': 0.35; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'header:Received:5': 0.40; 'received:208': 0.63; 'charset:windows-1252': 0.65
DomainKey-Signature a=rsa-sha1; c=nofws; d=feete.org; h=message-id:date:from :mime-version:to:subject:references:in-reply-to:content-type: content-transfer-encoding; q=dns; s=feete.org; b=O/LOkiUEP4h68HV teuBUj9wGn5VjsB0Im6Su+5Bnxh1ceB+glPizn4zP8LINfh6vTK9dsYrObyuGTxT ly6zt7ecKFXRncfcRgrzS4zdCrCT5ncJrz/4jJUFNvWlJYRrv04NCi6mHLeV8co2 4VOsJZzcnGm2lbEqLPUmuRkw/AYI=
DKIM-Signature v=1; a=rsa-sha1; c=relaxed; d=feete.org; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; s=feete.org; bh=8c7zX9o vwei0VYObW/M6Lyz0B6E=; b=lJeCSx9AS9DwKedWP6fHZ/sgDArIK4uH+PhTKRK D5vb+bD+6/nXlvPX8f4mKE3+HJPG6KSyrOFlRSpaBaWTYWOgl8prdRx6dVUSEVra 5K+HR3oIAQneElyIqvW8VjSDQspIHKXSpKHdw2O6CmxQA7+Pnuaue63Zl2lg7jVU BkH4=
Date Wed, 22 Aug 2012 05:17:46 +0100
From Ian Foote <ian@feete.org>
User-Agent Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0
MIME-Version 1.0
To python-list@python.org
Subject Re: asking
References <CADYZVBA9i8Bd87CCPY2N7fz1MqrPB==BXh6GsN44RPHWcEGaug@mail.gmail.com> <5034553F.4080904@feete.org>
In-Reply-To <5034553F.4080904@feete.org>
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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.3627.1345609078.4697.python-list@python.org> (permalink)
Lines 7
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1345609078 news.xs4all.nl 6909 [2001:888:2000:d::a6]:59430
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:27602

Show key headers only | View raw


Oops, hopefully this with indent correctly:

def all_in(string, substrings):
     for substring in substrings:
         if substring not in string:
             return False
     return True

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


Thread

Re: asking Ian Foote <ian@feete.org> - 2012-08-22 05:17 +0100

csiph-web