Re: [python-win32] ISAPI and threading

2009-12-11 Thread Mark Hammond
On 12/12/2009 9:31 AM, Preston Landers wrote: But I'm a little curious about the purpose of having a WSGI thread pool implementation in light of those facts. If ISAPI will create threads for you anyway, how does a pool help? Is it purely to avoid thread startup overhead? If a thread is being c

Re: [python-win32] ISAPI and threading

2009-12-11 Thread Preston Landers
On Mon, Dec 7, 2009 at 5:35 PM, Mark Hammond wrote: > On 8/12/2009 9:45 AM, Preston Landers wrote: >> >> Someone had mentioned needing to restrict the worker pool to a single >> thread but indicated they didn't know how to do that. I searched >> around MSDN and couldn't find anything relevant. I

Re: [python-win32] Windows "idle" time & killing a process

2009-12-11 Thread Tim Roberts
Randy Syring wrote: > I use synergy to connect the keyboard and mouse on my desktop to my > laptop. However, I have found that synergy keeps my monitors from > shutting off when it is running. I often forget to turn synergy off > at the end of the day, which means my monitors waste energy and bul

Re: [python-win32] Windows "idle" time & killing a process

2009-12-11 Thread Tim Golden
Randy Syring wrote: I use synergy to connect the keyboard and mouse on my desktop to my laptop. However, I have found that synergy keeps my monitors from shutting off when it is running. I often forget to turn synergy off at the end of the day, which means my monitors waste energy and bulb li

Re: [python-win32] Problem with OLE error 0x80041002

2009-12-11 Thread Tim Golden
Gowtham wrote: I have a python script that retrieves the user profile path from the registry using wmi. I am doing this way as win32net.NetUserGetInfo could not somehow find the domain user. Here the code snippet- {... snipped snippet ...] Does this reveal anything? import _winreg import wm

[python-win32] Windows "idle" time & killing a process

2009-12-11 Thread Randy Syring
I use synergy to connect the keyboard and mouse on my desktop to my laptop. However, I have found that synergy keeps my monitors from shutting off when it is running. I often forget to turn synergy off at the end of the day, which means my monitors waste energy and bulb life. I would like to