Re: Everything is an object in python - object class and type class

2015-06-03 Thread Eddilbert Macharia
can you please stick to the point.take your differences else where.please.stay on target...some of us are learning... its annoying and tiring to have to read the insults and innuendo -- https://mail.python.org/mailman/listinfo/python-list

Re: Everything is an object in python - object class and type class

2015-06-03 Thread Eddilbert Macharia
Hello guys, After i read http://python-history.blogspot.com/2009/02/first-class-everything.html . where Guidos says "One of my goals for Python was to make it so that all objects were "first class." By this, I meant that I wanted all objects that could be named in the language (e.g., integers

Re: Everything is an object in python - object class and type class

2015-06-02 Thread Eddilbert Macharia
On Tuesday, June 2, 2015 at 2:27:31 PM UTC+3, Steven D'Aprano wrote: > On Tue, 2 Jun 2015 08:36 pm, Eddilbert Macharia wrote: > > > you guys are just confusing me, you are going in loops, and still i have > > understood ,what makes everything in python an obje

Re: Everything is an object in python - object class and type class

2015-06-02 Thread Eddilbert Macharia
On Sunday, May 31, 2015 at 5:34:20 PM UTC+3, Eddilbert Macharia wrote: > Hello All , > > I'm wrecking my head trying to understand. where the class object comes into > play . > > Is it only meant to act as base class and does it mean there is an actual > class cal

Re: Everything is an object in python - object class and type class

2015-06-01 Thread Eddilbert Macharia
used to create this object >>> issubclass(object,type) False # because object does not inherit from any other class >>> object.__bases__ () # because object does not inherit from any other class On Sunday, May 31, 2015 at 5:34:20 PM UTC+3, Eddilbert Macharia wrote: > Hello

Re: Everything is an object in python - object class and type class

2015-05-31 Thread Eddilbert Macharia
So what im getting from above reponse, everything in python is an object because the are instance of the metaclass type and also because they are subclasses of the class object ? On Sunday, May 31, 2015 at 5:34:20 PM UTC+3, Eddilbert Macharia wrote: > Hello All , > > I'm wr

Re: Everything is an object in python - object class and type class

2015-05-31 Thread Eddilbert Macharia
e relation between this two class in terms of object creation. will i ever get this or is it a chicken and egg situation ? On Sunday, May 31, 2015 at 5:34:20 PM UTC+3, Eddilbert Macharia wrote: > Hello All , > > I'm wrecking my head trying to understand. where the class objec

Re: Basic Info

2015-05-31 Thread Eddilbert Macharia
On Sunday, May 31, 2015 at 8:35:42 AM UTC+3, Tanveer Ahmad wrote: > Hi friends, > M Tanveer, and wanna start to learn python language, i've installed python on > my Windows (OS) and set path to it, Now please Guide me which editor is best > to use and what instructions should be followed . > Bes

Everything is an object in python - object class and type class

2015-05-31 Thread Eddilbert Macharia
Hello All , I'm wrecking my head trying to understand. where the class object comes into play . Is it only meant to act as base class and does it mean there is an actual class called object in python which all the objects created using the class type inherit ? i'm assuming the metaclass if s