import PIL def generate_thumb(): pass