examples/classes/initialization/point.py
from __future__ import print_function
import shapes

p1 = shapes.Point(2, 3)
print(p1)          # <shapes.Point instance at 0x7fb58c31ccb0>
print(p1.x)        # 2
print(p1.y)        # 3

p1.x = 7
print(p1.x)        # 7
examples/classes/initialization/shapes.py
class Point(object):
    def __init__(self, x, y):
        self.x = x
        self.y = y