Path: csiph.com!usenet.pasdenom.info!goblin1!goblin.stu.neva.ru!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'exception': 0.03; 'anyway.': 0.04; 'interpreter': 0.04; 'subject:Python': 0.05; '(especially': 0.07; 'python': 0.09; 'throw': 0.09; 'thrown': 0.09; 'to:addr:comp.lang.python': 0.09; 'type)': 0.09; 'cc:addr:python-list': 0.10; 'thread': 0.11; 'language': 0.14; 'tutorials': 0.15; '(python)': 0.16; ':-p': 0.16; 'cc:name:python list': 0.16; 'function?': 0.16; 'great!': 0.16; 'wrote:': 0.17; 'skip': 0.17; 'shell': 0.18; 'code,': 0.18; '(or': 0.18; 'module': 0.19; 'comfortable': 0.20; 'doc': 0.22; 'cc:2**0': 0.23; 'example': 0.23; 'errors': 0.23; 'mention': 0.23; 'posts': 0.23; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'instead.': 0.27; 'loads': 0.29; 'maybe': 0.29; 'web.': 0.30; 'window': 0.30; 'function': 0.30; 'stuff': 0.30; 'code': 0.31; '(and': 0.32; 'google,': 0.32; "aren't": 0.33; 'docs': 0.33; 'function.': 0.33; 'tutorial': 0.33; 'received:google.com': 0.34; 'along': 0.35; 'awesome': 0.35; 'built-in': 0.35; 'faster': 0.35; 'feed': 0.35; 'jason': 0.35; 'open': 0.35; 'doing': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'there': 0.35; 'but': 0.36; 'editor': 0.37; 'uses': 0.37; 'why': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'sure': 0.38; 'google': 0.39; 'help': 0.40; 'your': 0.60; 'skip:u 10': 0.60; 'most': 0.61; "you'll": 0.62; 'fire': 0.62; 'worth': 0.63; 'information': 0.63; 'more': 0.63; 'great': 0.64; '26,': 0.65; 'capabilities': 0.71; 'power': 0.74; 'yourself': 0.77; '2013': 0.84; 'subject:you': 0.88; 'yes!': 0.93; 'picture': 0.96 X-Received: by 10.50.242.37 with SMTP id wn5mr42129igc.15.1361928139100; Tue, 26 Feb 2013 17:22:19 -0800 (PST) Newsgroups: comp.lang.python Date: Tue, 26 Feb 2013 17:22:17 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=70.196.64.148; posting-account=h3aEwQoAAACiuqX-oR3gvCVFm8lLHoWj References: <512cb0a0$0$30001$c3e8da3$5496439d@news.astraweb.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 70.196.64.148 MIME-Version: 1.0 Subject: Re: Do you feel bad because of the Python docs? 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 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: 49 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361933408 news.xs4all.nl 6879 [2001:888:2000:d::a6]:32906 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:40024 On Tuesday, February 26, 2013 4:17:22 PM UTC-6, Jason Swails wrote: > Just to throw in my 2c -- in the same way that 'a picture > is worth a thousand words', an interactive interpreter is > worth volumes of documentation (especially one with such a > nice help()/__doc__ functionality). Yes! I don't even know why people care about the Python docs anyway. One of= the most under-appreciated (and maybe even unknown) aspects of the Python = language is the power of doc strings and the help function. Not to mention = the awesome introspection capabilities via a few built-in functions: =20 id(obj) isinstance(obj, type) issubclass(obj, klass) repr(obj) type(obj) bool(obj) dir(obj) ... =20 =20 As for the docs:=20 I would say that if you are searching for a "particular something" (and the= help function has failed you), then skip the docs and use Google instead. = The docs only seem to work well when read in a "linear" fashion; with excep= tion of the "global module index" and the "language reference" sections. As for the "official tutorial", do yourself a favor and DON'T read it (or n= ever read it) until AFTER you are comfortable with python. It's not so much= that the tutorial is lacking, it's more that the tutorial uses poor exampl= e code and as such is an abomination. That's my opinion anyway. There are t= ons of great python tutorials on the web. > You aren't sure what errors are thrown by a particular > function? Fire up an interpreter and feed the function > junk. You'll get your answer faster than you can Google, > and often learn neat stuff along the way.=20 Yes! Interactive sessions are what make python so damn great! If you don't = have an editor window and a shell window open when writing (python) code, y= ou are doing something wrong. > (I recall one of > RR's posts that actually had some good tips to learn-via- > interpreter). I don't remember the exact thread off-hand, but i must admit you can find l= oads of great information in my threads! :-P