Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'received:verizon.net': 0.07; 'terry': 0.07; 'pycon': 0.07; 'python': 0.08; 'bytes,': 0.09; 'cool.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '*args,': 0.16; '6:00': 0.16; 'decorators.': 0.16; 'encodings,': 0.16; 'parameters,': 0.16; 'reedy': 0.16; 'sarcasm': 0.16; 'scope,': 0.16; 'subject:Guide': 0.16; 'wrote:': 0.18; 'functions,': 0.18; 'jan': 0.19; 'header:In- Reply-To:1': 0.22; 'feb': 0.22; 'starts': 0.24; 'books': 0.27; "i'm": 0.28; 'print': 0.29; 'pm,': 0.29; 'characters,': 0.30; 'decorators': 0.30; 'unicode,': 0.30; 'amazon': 0.31; 'words,': 0.32; 'header:User-Agent:1': 0.33; 'header:X-Complaints-To:1': 0.34; 'reviews,': 0.34; 'to:addr:python-list': 0.35; 'something': 0.35; 'received:org': 0.36; "i'll": 0.38; 'tutorials': 0.39; 'clearly': 0.39; 'goes': 0.39; 'to:addr:python.org': 0.40; 'follow': 0.61; 'cutting': 0.73; 'price': 0.74; 'borrow': 0.84; 'differences,': 0.84; 'worthwhile.': 0.84; 'fonts,': 0.91; 'look.': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Guide to: Learning Python Decorators Date: Thu, 09 Feb 2012 15:28:40 -0500 References: <476f8fff-9f08-4a54-8704-449cfaf6ad60@vv9g2000pbc.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-74-109-121-73.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 In-Reply-To: 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: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1328819348 news.xs4all.nl 6879 [2001:888:2000:d::a6]:49770 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:20105 On 2/9/2012 1:55 PM, Arnaud Delobelle wrote: > > On Feb 9, 2012 6:00 PM, "sajuptpm" > wrote: > > > > Guide to: Learning Python Decorators > > New Book http://tinyurl.com/python-decorartor Which goes to Amazon, perhaps with an Amazon Associate id embedded. > A whole book about decorators? Cool. I'm going to start writing books > to. I'll start with 'The Python print statement'. Then to be cutting > edge I'll follow with 'The Python print function'. Sarcasm aside, it is a small (200K) digital book at a small price ($4). According to the 5-star reviews, it is not as trivial as the title indicates. It starts with explaining functions, scope, parameters, nesting, *args, **kwds, and nesting. In other words, everything one needs to know to understand decorators. It is based on tutorials given at PyCon and elsewhere. I plan to borrow it and take a look. A book on Printing with Python that clearly explained everything one needs to know about characters, glyphs, fonts, bytes, unicode, encodings, and serialization in order to print would also be worthwhile. For a bonus, add in something about console windows, OS differences, and printers. -- Terry Jan Reedy