Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.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.160 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.72; '*S*': 0.04; 'interpreter': 0.05; 'python': 0.11; 'expression.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'nick': 0.16; 'wrote:': 0.18; 'post': 0.26; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'extend': 0.32; 'know.': 0.32; 'fri,': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; '14,': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'previous': 0.38; 'expect': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'become': 0.64; 'friend,': 0.71; 'hand': 0.80; "'and'": 0.84; '7:00': 0.84; 'subject:gets': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=tdFtoRlC4hjq3yhRlrutpOFu7pgtgva12HlkPJVAgvM=; b=0E8kn+zvEGWbNdfDm6n0jR6DV7J9Eu4Rg+H7PDFp7fF4jXr0MP7fKNe2pB10PfSXVk Y9dmJM8IvDyt3yckEZFcSl0Ev7qSJwg/LZ9JXM5OWzdM3ulAED1sHCkBiQiKeYHGfmpf nZ6/rVolGkMJRiGtQdrBw17lhPVZat53+Pz7Etad9dyFF81IwB2BS6/wuZ78D5L81tmF +Iro0A+gSZJsIxVtgyC2ssUx+V0G9fdHGxx8Wjc5MvmWmR9hZbdCyIq04vS45bVIEGgu 2OdVTxtKWrbqYEg4JyQir58FO5qe0MaUF/NwK/tivZdL05VZWmDkit/WCXPg73C21kO8 XwMQ== MIME-Version: 1.0 X-Received: by 10.52.155.67 with SMTP id vu3mr498060vdb.94.1371201142695; Fri, 14 Jun 2013 02:12:22 -0700 (PDT) In-Reply-To: References: <2bc90d3b-09c2-4315-9357-ff7f039465e0@googlegroups.com> <51b926a3$0$29997$c3e8da3$5496439d@news.astraweb.com> <51ba6e92$0$29997$c3e8da3$5496439d@news.astraweb.com> Date: Fri, 14 Jun 2013 19:12:22 +1000 Subject: Re: A certainl part of an if() structure never gets executed. From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1371201144 news.xs4all.nl 16001 [2001:888:2000:d::a6]:57179 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:48098 On Fri, Jun 14, 2013 at 7:00 PM, Nick the Gr33k wrote: > but i really wont to understand how 'or' and 'and' works inside an > expression. please answer my previous post if you know. *eyeroll* You have all the information. Go play with it in the interactive interpreter until you understand. Seriously. That interpreter wants to be your friend, just extend a hand and say "Hi"! Become familiar with Python that way. Don't expect everything to be answered on-list. ChrisA