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


Groups > comp.lang.python > #92488

Re: Error in or

Path csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.015
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'subject:Error': 0.07; "'''": 0.09; 'thu,': 0.15; 'copy-pasted': 0.16; 'wrote:': 0.16; 'working.': 0.18; 'portion': 0.20; 'fine,': 0.22; 'am,': 0.23; 'appears': 0.23; '2015': 0.23; 'header:In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.28; 'received:google.com': 0.34; 'to:addr:python-list': 0.35; 'but': 0.36; 'subject:: ': 0.37; 'to:addr:python.org': 0.39; 'to:name:python': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=J+FED8X4pt0pliY1lqOsFqaOwWVuzlXy0kfYOujb/og=; b=QiyJeSQrZ2aSmH7pFKYlnzQm6+ECQmbFJhOqiehwwSnOxrSE8ovAxsnIc/zBpPgYl1 HnZfg7LojxcnxqaYq2E6B/LMVb5Hbk4lHS/g2RFh9LUlrYOH9rEhYkciC5p+tM+4Sbuj esDnBunOrsp/ixQu6G4ZTFmzcMne6HhkoYhp0d78OG3QpOvWKzw1utYrJG66qMzLlh1C BYdUE7f8EqqRI1PIOOjQzfUMWRLqI3ee/5EXaqhMde2ZVwPlEDN7/2pZOhXHEZMDVNdY IXys5x17Nxcg9tUiLQgqrZJ1qVF3DEbgmV/v5kxwYRvuph2ZfN6GpQR6/kRo2EmfRu4k s1xA==
X-Received by 10.170.42.209 with SMTP id 200mr7435622ykk.18.1434037838820; Thu, 11 Jun 2015 08:50:38 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <3bf5dd52-c698-4392-be2b-5c0aeefc3cd3@googlegroups.com>
References <3bf5dd52-c698-4392-be2b-5c0aeefc3cd3@googlegroups.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Thu, 11 Jun 2015 09:49:58 -0600
Subject Re: Error in or
To Python <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.402.1434037847.13271.python-list@python.org> (permalink)
Lines 8
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1434037847 news.xs4all.nl 2961 [2001:888:2000:d::a6]:53451
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:92488

Show key headers only | View raw


On Thu, Jun 11, 2015 at 9:40 AM,  <subhabrata.banerji@gmail.com> wrote:
>   if write this it is working fine, but if I write
>
>   if ("AND" in inp1) or ("OR" in inp1) or ("NOT" in inp1) or (">" in inp1) or ("&" in inp1) or ("MAYBE" in inp1) or ("(" in inp1) or ("*" in inp1) or (''' " ''' in   inp1):
>
>  the portion of (''' " ''' in   inp1) is not working.

Not working how? I copy-pasted the line and it appears to work fine.

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


Thread

Error in or subhabrata.banerji@gmail.com - 2015-06-11 08:40 -0700
  Re: Error in or Ian Kelly <ian.g.kelly@gmail.com> - 2015-06-11 09:49 -0600
    Re: Error in or subhabrata.banerji@gmail.com - 2015-06-11 09:39 -0700
      Re: Error in or Ian Kelly <ian.g.kelly@gmail.com> - 2015-06-11 10:47 -0600
        Re: Error in or subhabrata.banerji@gmail.com - 2015-06-11 10:21 -0700
      Re: Error in or Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-06-11 18:54 +0100
  Re: Error in or Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-06-12 09:41 +0000
    Re: Error in or Marko Rauhamaa <marko@pacujo.net> - 2015-06-12 12:55 +0300

csiph-web