Path: csiph.com!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed2.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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'assuming': 0.09; 'friday,': 0.09; 'lawrence': 0.09; 'pep': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'skip:t 60': 0.09; 'language.': 0.14; 'beaten': 0.16; 'corrects': 0.16; 'equations': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:question.': 0.16; 'subject:those': 0.16; 'subject: ?': 0.16; 'language': 0.16; 'wrote:': 0.18; 'examples': 0.20; '>>>': 0.22; 'python?': 0.22; 'print': 0.22; 'header:User-Agent:1': 0.23; 'please?': 0.24; 'math': 0.24; 'order.': 0.26; 'second': 0.26; 'asking': 0.27; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; "i'm": 0.30; 'lines': 0.31; '>>>>': 0.31; 'horizontal': 0.31; 'object.': 0.31; 'types.': 0.31; "can't": 0.35; 'december': 0.35; 'something': 0.35; 'objects': 0.35; 'point.': 0.35; 'really': 0.36; 'keyword': 0.36; 'two': 0.37; 'sometimes': 0.38; 'to:addr :python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'called': 0.40; 'first': 0.61; 'name': 0.63; 'our': 0.64; 'different': 0.65; 'subject:. ': 0.67; 'bottom': 0.67; '20,': 0.68; 'url:a': 0.72; "'equals'": 0.84; 'abc': 0.84; 'rusi': 0.91; 'subject:Are': 0.93; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Newbie question. Are those different objects ? Date: Fri, 20 Dec 2013 17:29:51 +0000 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-78-147-30-118.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 44 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1387560627 news.xs4all.nl 2916 [2001:888:2000:d::a6]:38163 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62443 On 20/12/2013 17:10, rusi wrote: > On Friday, December 20, 2013 9:30:22 PM UTC+5:30, Mark Lawrence wrote: >> On 20/12/2013 15:34, rusi wrote: >>> On Friday, December 20, 2013 8:46:31 PM UTC+5:30, dec...@msn.com wrote: >>>> y = raw_input('Enter a number:') >>>> print type y >>>> y = float(raw_input('Enter a number:')) >>>> print type y >>>> I'm assuming that y is an object. I'm also assuming that the second and the first y are different objects because they have different types. >>> You are also assuming that the two horizontal lines sometimes called 'equals' >>> have something to do with something called by the same name in math -- equations > >> A good point. Shall I write a PEP asking for a language change which >> requires that that stupid = sign is replaced by a keyword reading >> something like >> thenameonthelefthandsideisassignedtheobjectontherighthandside ? > > Good idea. Only you were beaten to it by about 2 decades. I can't find a PEP suggesting this, can you give me the number please? > > The language ABC calls it 'put' and corrects the unnecessary gratuitous > right to left order. So does it go top to bottom or bottom to top? Or to really clarify things does it have putlr, putrl, puttb and putbt? > Reference > http://homepages.cwi.nl/~steven/abc/qr.html#COMMANDS > > Examples > http://homepages.cwi.nl/~steven/abc/types.html > > And what does that have to do with python? > http://www.onlamp.com/lpt/a/2431 > -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence