I would like to know where am lagging, Looking for your advices..
class Student_Record(object):
def __init__(self,s):
self.s=\"class_Library\"
Your Student_Record.__init__() method takes two arguments, self and s. self is provided for you by Python, but you failed to provide s.
You are ignoring s altogether, drop it from the function signature:
class Student_Record(object):
def __init__(self):
self.s = "class_Library"
print"Welcome!! take the benifit of the library"
Next, you are calling the method rec.Student_details() passing in an argument, but that method only takes self, which is already provided for you by Python. You don't need to pass it in manually, and in your case the name is not even defined in that scope.