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)

[((56, 63), 'pitop.Pitop', 'Pitop', ([], {}), '()\n', (61, 63), False, 'from pitop import Pitop\n'), ((104, 183), 'PIL.Image.open', 'Image.open', (['"""/usr/lib/python3/dist-packages/pitop/miniscreen/images/rocket.gif"""'], {}), "('/usr/lib/python3/dist-packages/pitop/miniscreen/images/rocket.gif')\n", (114, 183), False, 'from PIL import Image\n')]