A very simple class with a constructor.
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