Hi,
I went thru the notes. I said i will understand when the group
explains this to me. How much difference does it make to call a module as it
and call it as being part of a class. Say
Class a:
def b:def b:
def c:
Wel firstly it won't work, the class should be:
class a(object):
def b(self):
print b
def c(self):
print c
so to call b you first need instance of object:
myA = a()
myA.b()
I am not really understanding what you wish to achieve. Also you say
I went thru the notes., what
kNish wrote:
Hi,
I went thru the notes. I said i will understand when the
group explains this to me. How much difference does it make to call a
module as it and call it as being part of a class. Say
Class a:
def b: