Python:pyglet
From Jonathan D. Lettvin
Various sample programs
Minimum Program
Note that the program refers to This image file. Copy it to your local directory before running the script.
You must install pyglet (a very small and simple install) to run this.
Resources:
#!/usr/bin/python
import pyglet
window = pyglet.window.Window(256, 256)
image = pyglet.resource.image('NSEWUD.cube.GIF')
@window.event
def on_draw():
window.clear()
image.blit(0, 0)
pyglet.app.run()
