D
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, dataVal). What does this do
differently from using (dataval). I am a little confused about the
bound and unbound methods. What does passing self do different?
Thank-you for all your help
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, dataVal). What does this do
differently from using (dataval). I am a little confused about the
bound and unbound methods. What does passing self do different?
Thank-you for all your help