[python-win32] Rendering to bitmap with OpenGL

2009-03-24 Thread Greg Ewing
I'm trying to create an OpenGL context for rendering to an offscreen bitmap. The attached program gets as far as trying to call wglCreateContext, then fails with WindowsError: [Errno 8] Not enough storage is available to process this command. Can anyone see what's going wrong here?

[python-win32] how to hibernate from python ? how to detect idleness of the pc ?

2009-03-24 Thread jo
Hi I would like to automatically hibernate my home pc when my wife has not been using it for say half an hour. Two things I dont know - how to hibernate from python - how to detect idleness of the pc The pc is not set for automatic hibernate as we sometimes run longer running tasks that

Re: [python-win32] how to hibernate from python ? how to detect idleness of the pc ?

2009-03-24 Thread Tim Golden
jo wrote: Hi I would like to automatically hibernate my home pc when my wife has not been using it for say half an hour. Two things I dont know - how to hibernate from python http://mail.python.org/pipermail/python-win32/2008-June/007698.html - how to detect idleness of the pc That's