Re: [Tutor] OOPs Concept

2006-04-19 Thread Matthew White
On Wed, Apr 19, 2006 at 09:10:41PM +0530, Kaushal Shriyan ([EMAIL PROTECTED]) wrote: > Thanks Matthew > Just wanted to know > x.count('l') -> 2 Here 2 means what I didnot understood this > and also does x is a object and capitalize(), swapcase() and > count('l') are methods, is that correct what

Re: [Tutor] OOPs Concept

2006-04-19 Thread Kaushal Shriyan
On 4/19/06, Matthew White <[EMAIL PROTECTED]> wrote: > Even though I am still new to python, I've recently had an insight as > to what makes OOP different from procedural programming. > > Let's take perl for example. A variable in perl is like a bowl. It's an > empty vessel you can put things in.

Re: [Tutor] OOPs Concept

2006-04-19 Thread Matthew White
Even though I am still new to python, I've recently had an insight as to what makes OOP different from procedural programming. Let's take perl for example. A variable in perl is like a bowl. It's an empty vessel you can put things in. You can change the contents of the bowl, you can empty the b

[Tutor] OOPs Concept

2006-04-19 Thread Kaushal Shriyan
Hi All I wanted to understand about OOPs Concept in Python in a easy way, Please explain me with an example I have been reading http://www.freenetpages.co.uk/hp/alan.gauld/tutclass.htm but at the moment still the concept is not clear Thanks in Advance Regards Kaushal __