from PIL import Image

from pitop import Pitop

pitop = Pitop()
miniscreen = pitop.miniscreen

rocket = Image.open("/usr/lib/python3/dist-packages/pitop/miniscreen/images/rocket.gif")

miniscreen.play_animated_image(rocket)

[(5, 'pitop.Pitop', 'Pitop', False, 'from pitop import Pitop\n'), (8, 'PIL.Image.open', 'Image.open', False, 'from PIL import Image\n')]