def __init__(self): super(self).__init__() # Import from Image only when in use from PIL import Image self.Image = Image