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, 8, 5, 15), 'pitop.Pitop', 'Pitop', ({}, {}), '()', False, 'from pitop import Pitop\n'), ((8, 9, 8, 88), 'PIL.Image.open', 'Image.open', ({(8, 20, 8, 87): '"""/usr/lib/python3/dist-packages/pitop/miniscreen/images/rocket.gif"""'}, {}), "('/usr/lib/python3/dist-packages/pitop/miniscreen/images/rocket.gif')", False, 'from PIL import Image\n')]