Hello, Amit is right, there should not be any cross platform way to do that because python itself does not have any such modules. Third party libraries will have to depend on the OS specific implementation.
For eg in Linux open ("/proc/acpi/thermal_zone/TZ01/temperature").readline() should read the temperature in python .. These statistics are collected by a lot of desklets some of which are written in python, you can browse through them. Some body posted python code for Conky ( a system monitor) specifically for power consumtion http://crunchbanglinux.org/pastebin/246 You can reuse that, but the Conky code itself is written in C Regards, Deepak Mishra Eat, Drink and Sleep with Pythons _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers