From: Michele M. <mat...@gm...> - 2009-07-02 13:25:56
|
Hello list, I'm trying to figure out how to close visual from the code and not from the GUI, 'cause I need this feature. Consider the following code: import visual import time scene = visual.display() cyl = visual.cylinder() time.sleep(3) scene.visible = False if you run it with python test.py the command line keeps to be busy and the prompt never show up. This does not happen if I click on the x on top of the gui. I'm missing some bit? Regards, Michele. |