There is a demo-interactive.py in the demos directory that allow you
to manipulate a simple array from within the console. But this
requires to start the main loop since I did not find a way to get a GL
context without starting the glut main loop.
Nicolas