battery.py

Marcel tanuva at googlemail.com
Mon Oct 27 22:14:10 CET 2008


You obviously need python-pygobject and python-pygtk (don't ask me about the 
exact package names, but I know they exist in the repo) to run the script. 
Just ask opkg to install them. :)

-Marcel

Am Monday 27 October 2008 21:58:26 schrieb SCarlson:
> root at om-gta02:~# python battery.py
> Traceback (most recent call last):
>   File "battery.py", line 16, in <module>
>     import gobject,gtk
> ImportError: No module named gobject
>
> What do you make of that?
>
> -Scott
>
> Minh Ha Duong wrote:
> > Hello,
> >
> >   Here is a   battery.py   extended from HdR to display:
> > Energy left also in  Ah
> > Temperature
> > Time to full / Autonomy (in mn and in h)
> > Voltage   Intensity   Power
> >
> > What do you think ?
> >
> > Minh
> > --
> > Minh HA DUONG, Chargé de Recherche, CNRS
> > CIRED, Centre International de Recherches sur l'Environnement et le
> > Développement
> > http://minh.haduong.com



More information about the devel mailing list