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: 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 Date: Thu, 11 Jun 2015 09:49:58 -0600 Subject: Re: Error in or To: Python 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Thu, Jun 11, 2015 at 9:40 AM, 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.