/usr/share/doc/python-enable/examples/kiva/rect.py is in python-enable 4.3.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | from enable.kiva_graphics_context import GraphicsContext
gc = GraphicsContext((500,500))
gc.clear()
gc.rect(100,100,300,300)
gc.draw_path()
gc.save("rect.bmp")
|