Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'interpreter': 0.04; 'pop': 0.05; 'python': 0.09; 'snippet': 0.09; 'subject:while': 0.09; 'to:addr:comp.lang.python': 0.09; 'typed': 0.09; 'cc:addr:python-list': 0.10; 'programmer': 0.11; 'suggest': 0.11; 'language': 0.14; '"python': 0.16; 'considers': 0.16; 'corrects': 0.16; 'mean,': 0.16; 'stdlib.': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'feb': 0.19; '(not': 0.20; 'cc:2**0': 0.23; 'mention': 0.23; 'monday,': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'see,': 0.27; 'lines': 0.28; 'chris': 0.28; 'run': 0.28; 'statements': 0.29; 'stuff': 0.30; 'expect': 0.31; 'code': 0.31; 'johnson': 0.32; '11,': 0.33; 'like:': 0.33; 'anyone': 0.33; 'received:google.com': 0.34; 'minimum': 0.34; 'pm,': 0.35; 'there': 0.35; 'next': 0.35; 'but': 0.36; 'too': 0.36; 'does': 0.37; 'quite': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'sure': 0.38; 'little': 0.39; 'skip:" 10': 0.40; 'your': 0.60; 'you.': 0.61; 'time,': 0.62; 'it!': 0.64; 'making': 0.64; 'here': 0.65; 'useful.': 0.65; '"mr.': 0.84; '2013': 0.84; 'ask,': 0.84; 'finger,': 0.84; 'maybe,': 0.84; 'upset': 0.84; 'rick': 0.91 X-Received: by 10.49.15.6 with SMTP id t6mr901977qec.20.1360589297097; Mon, 11 Feb 2013 05:28:17 -0800 (PST) Newsgroups: comp.lang.python Date: Mon, 11 Feb 2013 05:28:16 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=70.196.110.97; posting-account=h3aEwQoAAACiuqX-oR3gvCVFm8lLHoWj References: <5002a1f9$0$29995$c3e8da3$5496439d@news.astraweb.com> <7b027612-a07e-40f9-8ad2-3e95c5440482@googlegroups.com> <86872ad2-fda0-403b-9f18-d1cb18e41860@t32g2000yqd.googlegroups.com> <50039290$0$29978$c3e8da3$5496439d@news.astraweb.com> <9309333c-13a0-464c-bd94-9c682363b8c9@googlegroups.com> <511516db$0$29969$c3e8da3$5496439d@news.astraweb.com> <62c3e7bb-d023-43b4-b759-f424707fd346@googlegroups.com> <75c82449-773e-4077-a6c9-e9cef08f845f@googlegroups.com> <51fdb504-9969-4bff-b1dc-32e231beecd4@googlegroups.com> <04856796-18ef-42e9-b7e9-66354475a78f@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 70.196.110.97 MIME-Version: 1.0 Subject: Re: Implicit conversion to boolean in if and while statements From: Rick Johnson To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org 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: , Message-ID: Lines: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1360591875 news.xs4all.nl 6930 [2001:888:2000:d::a6]:37620 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:38684 On Monday, February 11, 2013 6:50:03 AM UTC-6, Chris Angelico wrote: > On Mon, Feb 11, 2013 at 11:28 PM, Rick Johnson > > Well i would expect anyone who considers himself a > > python programmer (not to mention "pythonista"!) to at > > minimum be familiar with the stdlib. [...] >=20 > [...] >=20 > If there is anyone here who can honestly boast knowing the ENTIRE > stdlib of a language the size of Python, I would be impressed. Very > impressed. I am sure there are quite a few Chris. But if you expect to around making s= tatements like: "Python does not have typed arrays", then don't get all ups= et when someone corrects you.=20 Maybe, before you go and pop your mouth off next time, if it isn't too much= trouble, i mean, i don't want you to get a cramp in your wrist or a bliste= r on your finger, much less a headache reading a few lines of documentation= , but if is not too much to ask, "Mr. Angelico", i would suggest you stuff = this tiny little code snippet into your favorite Python interpreter and run= it! py> help('modules') See, some python functions are useful.