Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed4.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'subject:: [': 0.03; 'argument': 0.04; 'subject:Python': 0.05; 'classes.': 0.07; 'referring': 0.07; 'subject:help': 0.07; 'incorrect': 0.09; 'methods,': 0.09; 'subject:2.7': 0.09; 'subject:Help': 0.10; ':-)': 0.13; 'feedback.': 0.15; 'classes"': 0.16; 'subject:] [': 0.16; 'wrote:': 0.17; 'instance': 0.17; 'patrick': 0.17; 'subject:] ': 0.19; 'trying': 0.21; 'error.': 0.21; 'meant': 0.21; 'example': 0.23; 'chapter': 0.23; "i've": 0.23; 'non': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; 'author,': 0.29; 'methods.': 0.29; 'python"': 0.29; 'class': 0.29; 'function': 0.30; 'figure': 0.30; 'bought': 0.33; 'to:addr :python-list': 0.33; 'whatever': 0.35; 'so,': 0.35; 'but': 0.36; "wasn't": 0.36; "didn't": 0.36; 'should': 0.36; 'author': 0.37; 'uses': 0.37; 'being': 0.37; 'copying': 0.38; 'mean': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'where': 0.40; 'received:192.168': 0.40; 'think': 0.40; "you've": 0.61; 'is.': 0.62; 'more': 0.63; 'autor': 0.65; 'header:Reply- To:1': 0.68; 'received:74.208': 0.71; 'reply-to:no real name:2**0': 0.72; 'introduce': 0.80; '"learn': 0.84; 'mistakes,': 0.84; 'received:74.208.4.194': 0.84; 'say:': 0.84 Date: Tue, 25 Dec 2012 12:10:49 -0500 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: python-list@python.org Subject: Re: [Help] [Newbie] Require help migrating from Perl to Python 2.7 (namespaces) References: <37264cd5-8acd-416b-a808-50216f9fbfa0@googlegroups.com> <3f14f739-e660-4883-a940-c77a6092cb79@googlegroups.com> <50d9adb5$0$29967$c3e8da3$5496439d@news.astraweb.com> <04786b93-4b0c-41fd-adfe-b89cb35c886c@googlegroups.com> In-Reply-To: <04786b93-4b0c-41fd-adfe-b89cb35c886c@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:6NtZSnxFSVaVT7ppHdTMJpGR941BBrup72x8a0KEmIV vAtxk6ZScyBGf0LQkaD3dkgkb9ViVXm3OcNbF3nGpZquC4AJPx jauG5zlr+oDmdYFN7ov9l3V0KK06pXQ0QeHhR04epJrI77AoQ3 DHIJ7llF0B/aXdp6U8iUtu90WjXG297EgF+Bg4W6W144ISc1/J nmuhRIGnTN7RSdRC9GZTbO6BnAAqo6IV8POtSoI/LY1cZ0dvV3 u9gpmxtfkA6fPR4ESRU8yLMiOdNfeAB9yAez9Eq4e8X176wL5m NUdLzPrz5P6yxNYfGGpZ0iQbqyzudVVQB1BqwWSlRC9C+UwgBM hu4DfTVO6p0WfvE/ww/w= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: d@davea.name 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: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1356455470 news.xs4all.nl 6875 [2001:888:2000:d::a6]:34341 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35490 On 12/25/2012 09:41 AM, prilisauer@googlemail.com wrote: > Hello Steven, > > to "learn python" I've bought a book, and it's not a "thin" one :-) it's more a 788p. long documentation about python. > > BUT!!!!! I have to say: The autor started using the "self." argument at the chapter classes. So You've shown me the book descr. non "correct" way. Better using this book heating my home?! :-) > > Patrick You still are being imprecise. You don't give a title or author, and you refer to the "chapter classes" whatever that is. Do you mean the chapter about classes? If so, that's exactly where 'self' should be introduced. How about copying an example function that uses self, that you think is incorrect ? If it is incorrect, perhaps we should give the author some feedback. We all make mistakes, like my referring to class methods when I meant instance methods. But I didn't figure it was time to introduce class methods, so I wasn't trying to make the distinction. My error. -- DaveA