/usr/share/doc/python-libavg/examples/timer3.py is in python-libavg 1.7.1-0ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from libavg import avg
def moveText():
node = player.getElementByID("HelloText")
if node.x < 200:
node.x += 20
player = avg.Player.get()
player.loadFile("text.avg")
player.setInterval(200, moveText)
player.play()
|