Notes on using OpenGL in Python