Re: Instantiating Classes in python (newbie)

2005-10-31 Thread infidel
> Hello, I am learning python for work from knowing java,c#,c. I had a > couple questions. > 1) IntegerClass - to instantiate this class how come I use i = > IntegerClass.IntegerClass() and then this works while i = > IntegerClass() i.method. I receive an error. It depends on what IntegerClass

Instantiating Classes in python (newbie)

2005-10-31 Thread DaBeef
Hello, I am learning python for work from knowing java,c#,c. I had a couple questions. 1) IntegerClass - to instantiate this class how come I use i = IntegerClass.IntegerClass() and then this works while i = IntegerClass() i.method. I receive an error. 2) Also using self in the method (self, d