A very simple class definition.
class Student: def __init__ (self, name, age, gender): self.name = name self.age = age self.gender = gender s = Student("Your Name", 20, "f") print s print s.age