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!newsfeed1.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.026 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'operator': 0.03; 'fashion.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '"and"': 0.16; 'received:188.174': 0.16; 'received:80.91.229.3': 0.16; 'received:mnet-online.de': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.18; 'examples': 0.20; 'header:User-Agent:1': 0.23; 'connected': 0.24; 'possibly': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'you?': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'yourself.': 0.31; 'but': 0.35; 'really': 0.36; "didn't": 0.36; 'similar': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'skip:u 10': 0.60; 'read': 0.60; '8bit%:92': 0.71; '8bit%:100': 0.72; "'and'": 0.84; 'experiment': 0.84; 'subject:gets': 0.84; 'yours': 0.88; 'shell,': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Sibylle Koczian Subject: Re: A certainl part of an if() structure never gets executed. Date: Thu, 13 Jun 2013 14:22:57 +0200 References: <2bc90d3b-09c2-4315-9357-ff7f039465e0@googlegroups.com> <51b926a3$0$29997$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: ppp-188-174-72-248.dynamic.mnet-online.de User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 In-Reply-To: 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1371126194 news.xs4all.nl 15923 [2001:888:2000:d::a6]:51515 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:47945 Am 13.06.2013 09:11, schrieb Νικόλαος Κούρας: > On 13/6/2013 4:55 πμ, Steven D'Aprano wrote: >> >> The "and" operator works in a similar fashion. Experiment with it and see >> how it works for yourself. > > I read yours psots many times,all of them, tryign to understand them. > But you didn't do what he recommended, did you? And it's really the best or possibly the only way to understanding. Try it out in the interactive Shell, using Stevens examples connected with 'and' instead of 'or'. Sibylle