Click on image.py to get source.
class Image(object):
"""
Base class for images.
"""
def __init__(self, height, width):
self.height, self.width = height, width
def dimensions(self):
return (self.height, self.width)
image = Image(100, 100)
print(image.dimensions())