If I have the following statement is included in my module instead when I run pythondoc instead of getting the documentation one of the GL demos is executed. from OpenGL.GL import * I got around this simply changing the statement to (which is better): import OpenGL.GL but this make me wonder how much of the code get executed while generating the documentation. Valerio