Re: [python-win32] How to determine if a process (known pid) is still running ?

2008-10-05 Thread Tim Golden
Stef Mientki wrote: How to determine if a process (known pid) os still running ? Googling the web, I found 1 solution in killing the process, but that's not what I want, I want to reuse the running process. I could also ask a complete list of active processes, but from my experiences that's qui

Re: [python-win32] How to determine if a process (known pid) is still running ?

2008-10-05 Thread Stef Mientki
Tim Golden wrote: Stef Mientki wrote: How to determine if a process (known pid) os still running ? Googling the web, I found 1 solution in killing the process, but that's not what I want, I want to reuse the running process. I could also ask a complete list of active processes, but from my exp

Re: [python-win32] win32console attach problems

2008-10-05 Thread Stian
> Well, let me ask a silly question. Are you running this from a "pyw" > app, using Pythonw.exe, so you don't have a console of your own? Well, that's not a silly question for me - I'm rather new to Python. Anyway - let me tell you a bit more about how this is put together if that may be relevant

[python-win32] WMI speed (was: How to determine if a process (known pid) is still running ?)

2008-10-05 Thread Les Schaffer
Tim Golden wrote: I'm not entirely sure what you're trying to achieve, or what "reuse the running process" means. This WMI snippet will tell you whether a given pid is running or not. As you may know, WMI isn't the fastest thing on earth, but it may be fast enough for you. well, since you rais

[python-win32] ODBC date and time issues

2008-10-05 Thread Joe Healy
Hi, We've been having some problems with the dbi odbc interface to databases. The problems have been occurring when using MS SQL server or MS Access databases querying datetimes over daylight savings boundaries. The following table containing both string representations and datetimes demonstrat

[python-win32] Re: ODBC date and time issues

2008-10-05 Thread Roger Upole
Joe Healy wrote: Hi, We've been having some problems with the dbi odbc interface to databases. The problems have been occurring when using MS SQL server or MS Access databases querying datetimes over daylight savings boundaries. The following table containing both string representations and da

Re: [python-win32] ODBC date and time issues

2008-10-05 Thread Joe Healy
Roger, Thanks for this, they were exactly the sort of changes I had in mind, but with very little knowledge about how to go and make them. We will try to build from source, but have not tried this before. We'll let you know how we go with this. We are going to follow the (failed) instruction