class Employee: 'Common base class for all employees' empCount = 0 def __init__(self, name, empid, location): self.name = name self.empid = empid self.location = location Employee.empCount += 1 def displayCount(self): print ("Total Employee %d" % Employee.empCount) def displayEmployee(self): print ("Name : ", self.name, ", Employee Code: ", self.empid, ", Location: ", self.location)