Re: Issue reading files under /proc/acpi using python.
From: Ducrot Bruno <hidden>
Date: 2003-02-07 14:46:32
On Sat, Feb 08, 2003 at 12:09:17AM +1100, Srihari Vijayaraghavan wrote:
Hello Ducrot, On Friday 07 February 2003 01:00, Ducrot Bruno wrote:quoted
[...] BTW, you want to write a generic python acpi class, do you ?While I am no python guru (not just yet), I hope to write a text based utility (great if it is a GUI one) in python to display things like: 1. Battery charge remaining 2. AC adapter status 3. Thermal information 4. etc.. (In fact I have written a text based python utility to display some of those by reading /proc/acpi files). I can send you that in a private e-mail if you wish, it isn't complete yet though.
Yep, if you can provide me some codes in Python in that area, I will be really happy! I am not a great python guru, though.
The real problem is KDE 3.0.x in RH 8.0 doesn't work with newer ACPI code, of course I have verified that KDE 3.1 on Rh 8.1 Beta works fine however. I guess I am lazy to find a utility in the internet that could do that under RH 8.0. Anyway if you know of any open-source code in python that would help me, please provide me an URL if you can.
Well.. Sorry, I am not aware of such URL, but I guess it would be just fine to have a generic acpi class under python (I don't have time to do it myself at this time, even though I have some ideas on how to implement such class). Cheers, -- Ducrot Bruno -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com