data can be passed to an object at the point of creation by defining special method __init__ __init__ is always called when creating the instance students py class studentdef __init__(selfname)self name name in pythonone can also refer directly to data attributes from students import student stu student('jussi'stu student('martti'print stu namestu name 'jussi''martti