Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: A newbie's doubt Date: Fri, 8 Jan 2016 00:35:20 +1100 Lines: 36 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de iZip6urirQfcLJo7bc2AKAXT6F9jSxmn8onb6Wr+Ckew== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'anyway.': 0.04; 'bits': 0.07; 'works.': 0.07; 'cc:addr:python-list': 0.09; '(instead': 0.09; 'confuse': 0.09; 'globals': 0.09; 'it;': 0.09; 'php,': 0.09; 'python': 0.10; 'jan': 0.11; 'thu,': 0.15; '"good': 0.16; '2016': 0.16; 'decent': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'mean,': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'reference).': 0.16; 'sense,': 0.16; 'stuff!': 0.16; 'wrote:': 0.16; 'python?': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'meant': 0.22; '(by': 0.22; 'assign': 0.22; "python's": 0.23; 'third-party': 0.23; 'written': 0.24; 'header:In-Reply-To:1': 0.24; "i've": 0.25; 'not.': 0.27; 'message-id:@mail.gmail.com': 0.27; 'if,': 0.29; 'matplotlib': 0.29; 'tutorial': 0.29; 'code': 0.30; 'rules': 0.31; 'probably': 0.31; 'possibly': 0.32; 'similar': 0.33; 'handle': 0.34; 'received:google.com': 0.35; 'ones': 0.35; 'but': 0.36; 'should': 0.36; 'received:209.85': 0.36; 'notes': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'say': 0.37; 'received:209.85.213': 0.37; 'no,': 0.38; 'received:209': 0.38; 'delete': 0.38; 'thank': 0.38; 'mean': 0.38; 'still': 0.40; 'some': 0.40; 'your': 0.60; "you'll": 0.61; 'back': 0.62; 'is.': 0.63; 'more': 0.63; 'different': 0.63; 'to,': 0.63; 'complete': 0.63; 'you.': 0.64; 'detail.': 0.66; 'python-list': 0.66; 'here': 0.66; 'completed': 0.69; 'chrisa': 0.84; 'local,': 0.84; 'you;': 0.84; 'to:none': 0.91; 'hand,': 0.97 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:cc :content-type; bh=Jk8WiuDpr3drd6DcaQMJJHT6DdBobqSl6TuJNA3hvF8=; b=crVS069Xb38ZoTnxWyo3PREQhLWBKXzm4aXH8v7d5htU+3iwnwBnJO0E8BI9xu+3RO 1QuTHPOqR0vcsDdXJ2PnzY2dQPdTcb1IbGAHDEHSpnk30MvcrvxLU5VoRi7VOP3DsrH0 RdxFMrqVh94AJV3IA7k6e/jdIidcRb6NKqyRxwaUFaBK7heM7a3bcWZztUcpTtq7spSo GQ5bnyuHtUdWT9jP1SQ+adXPMRQluF4PvT91fB2r6MjXriQfRXz2bPE9jwrzucbcfmfd WlODz6esV1+8Xj+rkvr+EnfZnCRoBDbKxgaK9b/X6R1PYJQtlvysxVmOVRV99JP8zJxc 68NQ== X-Received: by 10.50.70.38 with SMTP id j6mr15489654igu.13.1452173720689; Thu, 07 Jan 2016 05:35:20 -0800 (PST) In-Reply-To: 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: , Xref: csiph.com comp.lang.python:101339 On Thu, Jan 7, 2016 at 2:20 PM, Henrique Correa wrote: > Is Python's Tutorial (by Guido) a good and complete reference for the > language? I mean, after reading it, should I have a good basis on Python? > > I've came from js and php, and already know the very basics of py. > > Thank you! If by "good and complete" you mean "enough to write code in", then yes, I would say it is. If you mean "enough to write applications that you can sell for money", then it's probably insufficient; you'll want to also learn a few libraries, possibly including third-party ones like Flask/Django (to write web applications) or numpy/pandas (to write computational code) or matplotlib (to crunch numbers and make graphs). If, on the other hand, you mean "enough to understand how Python works internally", then no, it's not. It's not meant to go into that kind of detail. But you don't need to know that anyway. I would recommend going through that tutorial. You'll get a decent handle on how Python works. As a general rule, Python's object model is similar to what you'll know from JS; the scoping rules are different (instead of "var x;" to declare that x is local, you would have "global x" to declare that x is global - but you need declare only those globals that you assign to, not those you reference). As you go through it, write down some notes of everything that interests or confuses you; once you've completed the tutorial, go through your notes again. Some of what you've written down will now make perfect sense, and you can delete it; some will still confuse you, but you'll understand more of *why* it confuses you. So then you come back here to python-list with the bits that confuse you, and we'll be happy to explain stuff! ChrisA