Re: [Tutor] Excited about python

2011-06-10 Thread Ashwini Oruganti
You can also try "Learning Python" On Fri, Jun 10, 2011 at 6:11 PM, Kaustubh Pratap chand < warr...@programmer.net> wro

Re: [Tutor] Objects C++ vs Python

2011-06-09 Thread Ashwini Oruganti
On Thu, Jun 9, 2011 at 2:18 PM, Alan Gauld wrote: C++ grew out of C so it has a lot of non OOP features. It is no > surprise to find therefore that its primitive types are related to > memory allocation and raw data rather than objects. > > No object is standard in OOP. It is a concept. It is t

Re: [Tutor] Objects C++ vs Python

2011-06-08 Thread Ashwini Oruganti
That clears it up to an extent. On Thu, Jun 9, 2011 at 11:31 AM, Steve Willoughby wrote: > The value 5 is an integer-class object. But now what is "Integer-class"? Isn't integer a data type? I mean there is no concept of "classes" in C, and yet in C, we can write int x = 5; Will "5", then be

[Tutor] Objects C++ vs Python

2011-06-08 Thread Ashwini Oruganti
I'm trying to learn Python, and know C++. I have a slight confusion regarding the meaning of "object" in python. Here's what I've concluded so far: When we say "object" in C++, it means an instance of a class. e.g. class x{...}; x ob1; // here ob1 is an object. but, for; int