python how to import class code example
Example: module import class python
class myClass:
def __init__(self,val):
self.val=val
def getVal(self):
return self.val
class myClass:
def __init__(self,val):
self.val=val
def getVal(self):
return self.val