Path: csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.kamp.net!newsfeed0.kamp.net!newsfeed.kpn.net!pfeed08.wxs.nl!newsfeed.xs4all.nl!newsfeed6.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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'avoiding': 0.05; 'numerical': 0.05; 'parameter': 0.05; 'convention.': 0.09; 'myself,': 0.09; 'naming': 0.09; '~ethan~': 0.09; '>>>': 0.11; 'wrote:': 0.14; "'n'": 0.16; 'ahead.': 0.16; 'argv,': 0.16; 'experiments': 0.16; 'programmer,': 0.16; 'subject:keyword': 0.16; 'anyway.': 0.23; 'interpreted': 0.23; 'header:In-Reply-To:1': 0.23; 'posting': 0.24; 'creating': 0.25; 'accepting': 0.25; 'code': 0.25; "i'm": 0.28; 'instead': 0.28; "i'll": 0.29; 'to:addr :python-list': 0.31; 'charset:iso-8859-15': 0.31; 'url:mailman': 0.31; 'this.': 0.31; 'it.': 0.32; 'else': 0.32; 'header:User- Agent:1': 0.34; 'difficult': 0.35; 'using': 0.35; 'but': 0.36; 'anything': 0.36; 'self': 0.36; 'universal': 0.36; 'think': 0.37; 'said': 0.38; 'names': 0.38; 'url:org': 0.38; 'subject:: ': 0.39; 'url:python': 0.39; 'to:addr:python.org': 0.40; 'could': 0.40; "it's": 0.40; 'your': 0.61; 'glad': 0.67; 'spanish': 0.71; 'frank': 0.72; 'hate': 0.72; 'article': 0.74; 'descriptive': 0.84; 'confusion.': 0.91 In-Reply-To: <4D443631.3000502@stoneleaf.us> References: <9f669337-6116-4442-9c7e-54b0051e33a2@8g2000prb.googlegroups.com> <8qijsgFgu1U1@mid.dfncis.de> <4D443631.3000502@stoneleaf.us> Date: Sat, 29 Jan 2011 10:39:49 -0800 (PST) Subject: Re: multiple values for keyword argument From: patty@cruzio.com To: python-list@python.org User-Agent: SquirrelMail/1.4.17 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal 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: 35 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1296327905 news.xs4all.nl 81481 [::ffff:82.94.164.166]:57341 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:55902 > Roy Smith wrote: >> In article <8qijsgFgu1U1@mid.dfncis.de>, >> Frank Dierkes wrote: >> >>> Naming the first parameter self is only a convention. It could be any >>> other name, too. >> >> But it shouldn't. The use of "self" is so universal that using anything >> else will just make your code more difficult for other people to >> understand. > > Nevertheless, if you have a good reason to, go ahead. > > I, myself, use the spanish word 'yo' instead (less keystrokes, I hate > 'self', and it amuses me); if I'm working with my numerical experiments > I'll use 'n' or 'x'... although, when posting sample code to c.l.py I do > try to use 'self' to avoid possible confusion. :) > > ~Ethan~ > -- > http://mail.python.org/mailman/listinfo/python-list I am glad you said this. I have been avoiding understanding this 'self', just accepting it :} For the time being, since my programs I am creating are for my own use, I think I will make my own names up, that are descriptive to me as the programmer, it's all going to be interpreted anyway. And the other email equating to C's argv, etc. - now I get it. Regards, Patty > >