Re: [python-win32] How to find the current/last system state from Python

2012-07-03 Thread prashant padaganur
On 03/07/2012 12:23, prashant padaganur wrote: >>* *>>* I want to write an application that puts the system in to >>different*>>* sleep states. Like S0,S1...S4.*>>* *>>* Before changing from >>one state to another I want to know the*>>* current/previous sleep state. >>*>>* *>>* For Ex: If the cu

Re: [python-win32] How to find the current/last system state from Python

2012-07-03 Thread Tim Golden
On 03/07/2012 12:23, prashant padaganur wrote: > > I want to write an application that puts the system in to different > sleep states. Like S0,S1...S4. > > Before changing from one state to another I want to know the > current/previous sleep state. > > For Ex: If the current state is S0 then I

[python-win32] How to find the current/last system state from Python

2012-07-03 Thread prashant padaganur
I want to write an application that puts the system in to different sleep states. Like S0,S1...S4. Before changing from one state to another I want to know the current/previous sleep state. For Ex: If the current state is S0 then I want to put it to S1. Or if the previous state was S3 then I want