Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!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.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'cpython': 0.05; 'twisted,': 0.07; 'python': 0.09; '(it': 0.09; 'targets': 0.09; 'subject:error': 0.11; '2.7': 0.13; 'yet.': 0.13; 'library': 0.15; 'tutorials': 0.15; 'afaik.': 0.16; 'subject:Mac': 0.16; 'wrote:': 0.17; 'windows': 0.19; 'module': 0.19; 'received:209.85.214.174': 0.21; '2.x': 0.22; '3.x': 0.22; 'libraries': 0.22; 'programming': 0.23; 'seems': 0.23; 'least': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; '(e.g.': 0.27; 'am,': 0.27; 'logging': 0.27; '(e.g.,': 0.27; 'restricted': 0.29; "i'm": 0.29; 'getting': 0.33; 'docs': 0.33; 'to:addr:python-list': 0.33; 'tutorial': 0.33; 'received:google.com': 0.34; 'compared': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'message- id:@gmail.com': 0.36; 'rather': 0.37; 'received:209': 0.37; 'well.': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'received:192': 0.39; 'short': 0.39; 'received:192.168': 0.40; 'header:Received:5': 0.40; 'further': 0.61; 'latest': 0.61; 'thomas': 0.62; 'between': 0.63; 'skip:6 10': 0.63; 'great': 0.64; 'covers': 0.65; 'detail.': 0.65; 'differences': 0.65; 'discovered': 0.83; 'edition': 0.86 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=jNefXiMeIeiQXMB+NdEKblHP4yq2FiR6A1CaLWOMPx0=; b=m47/m5ruyTHr7CjdRrkk7XtA8+/TSIgNuHGmGoWe8FkVB2ws4+bAhcw58c0U985eNm KvyRzbl3jzbZUBblv6Kmn7rk/ez/YCZzp+ib8sluEu9Eud5b6DYEcKK7zFYsks3v2baU 0f7p22Dc8cLbsWfepzNFwY6MDRVz4OYXFKBHyLcy8+HFnjA56+QMHtKvF7pk9IDv9pld k3brAAIswDqfMb7Jk9XgOYRuP/Be7Qy0pW3a4HJyDRXKketWrThIm3mNiAwllz/zfB/B O5QU9beSWNBEe16YNAOPepJmTrHQ053vQ+PV9sDXXVoYhBQ3KZCSxcbZO73zL4MfFyxn PR+w== Date: Fri, 29 Jun 2012 21:05:20 -0500 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: "comp.lang.python" Subject: Re: Re Following syntax error in Mac OX10.7 Terminal References: <871ukzs5rx.fsf@gmail.com> <7e3890e4-3225-47f1-99e8-e5574c6413ef@googlegroups.com> <4c2a80da-70bd-48c0-92c9-c7182d3578b3@googlegroups.com> In-Reply-To: <4c2a80da-70bd-48c0-92c9-c7182d3578b3@googlegroups.com> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1341021946 news.xs4all.nl 6848 [2001:888:2000:d::a6]:59036 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:24682 On 6/29/2012 10:58 AM, David Thomas wrote: > Just discovered this in the tutorial further down. I'm currently learning Python 2 because there seems to be a lot of tutorials out there covering Python 2 rather than 3. The latest edition (3rd?) of Programming Python by Mark Lutz covers py3k (it targets 3.0/3.1 IIRC, but the official Python docs cover the differences between versions). The tutorial in the official docs is short compared to a book, but it covers the basics well. The official docs do cover each module in the standard library in great detail. It is mainly reference, though there are a few tutorials (e.g. the logging module has at least 2 tutorials). If you are not restricted to 2.x, learn 3.2/3.3. 2.x is used mainly because some major libraries (e.g., Twisted, Django) and/or other dependencies do not support 3.x yet. There will be no 2.8, and 2.7 isn't getting any new features AFAIK. -- CPython 3.3.0a4 | Windows NT 6.1.7601.17803