On 17/01/2011 18:35, Bill Allen wrote:
Tim,
Thanks for posting this. I have several uses for this WMI module at
my work.
Glad it's useful...
TJG
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.pyt
Tim,
Thanks for posting this. I have several uses for this WMI module at my
work.
--Bill
On Mon, Jan 17, 2011 at 04:07, Tim Golden wrote:
> On 17/01/2011 03:01, FT wrote:
>
>> Is there a way to read the battery level using Python?
>>
>> I am totally blind and want to write a script to
FT,
> Is there a way to read the battery level using Python?
Check out the following code snippet:
Get info on power/battery status
http://nullege.com/codes/show/src@jaraco.windows-1.6@jaraco@wind...@power.py/14/ctypes.wintypes.BOOL
This code snippet requires the following 3rd party packages:
On 17/01/2011 03:01, FT wrote:
Is there a way to read the battery level using Python?
I am totally blind and want to write a script to capture the battery
level and send it through the voice activeX so I can speak it...
WMI should be able to query the battery information:
import wmi
c = wmi
> Is there a way to read the battery level using Python?
>
> I am totally blind and want to write a script to capture
> the battery level and send it through the voice activeX so I can speak it...
An interesting project. Unfortunately I don't know enough
about how PCs do that kind o
Allan,
Is there a way to read the battery level using Python?
I am totally blind and want to write a script to capture the battery level
and send it through the voice activeX so I can speak it...
Bruce
___
Tutor maillist - Tutor@py