Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!bcyclone03.am1.xlned.com!bcyclone03.am1.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'causing': 0.13; 'subject:python': 0.14; 'java,': 0.15; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'sadly': 0.16; 'simple.': 0.16; 'subject:class': 0.16; 'subject:object': 0.16; 'subject:type': 0.16; 'wrote:': 0.16; 'language': 0.19; 'java': 0.22; 'lawrence': 0.22; 'header:In- Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'header:X -Complaints-To:1': 0.26; 'objects': 0.29; 'worked': 0.31; 'language.': 0.32; 'to:addr:python-list': 0.35; 'instance': 0.35; 'url:org': 0.36; 'subject:: ': 0.37; 'received:org': 0.38; 'url:2004': 0.39; 'to:addr:python.org': 0.39; 'mark': 0.40; 'url:12': 0.40; 'yes': 0.60; 'our': 0.64; 'charset:windows-1252': 0.65; 'pythonistas,': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Everything is an object in python - object class and type class Date: Wed, 03 Jun 2015 06:23:20 +0100 References: <14976c1b-a620-426f-b529-41a3c04e9c1a@googlegroups.com> <48fc36e9-fa67-45d5-9864-0921b7e819ce@googlegroups.com> <556d931a$0$12991$c3e8da3$5496439d@news.astraweb.com> <1ad44d0f-8a98-4302-9391-51264aa258e5@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-78-147-191-22.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <1ad44d0f-8a98-4302-9391-51264aa258e5@googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1433309020 news.xs4all.nl 2873 [2001:888:2000:d::a6]:56756 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3404 X-Received-Body-CRC: 2144298854 Xref: csiph.com comp.lang.python:91920 On 03/06/2015 05:16, Eddilbert Macharia wrote: > > Sadly yes i have worked with java, and that is what is causing me so much grief.In java objects are instance of a class.pretty simple. > You might like to read http://dirtsimple.org/2004/12/python-is-not-java.html and http://dirtsimple.org/2004/12/java-is-not-python-either.html -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence