Re: simple tkinter battery monitor

2013-01-29 Thread leonix . power
Thank you very much! fixed with w.after Here is the code, works under Linux for those who have acpi. My output of "acpi -V" is the following, the code is parsing the first line of the output. Any improvements are appreciated. > $ acpi -V > Battery 0: Discharging, 12%, 00:10:59 remaining > Battery

simple tkinter battery monitor

2013-01-27 Thread leonix . power
I tried to write a simple battery monitor for laptops which shows normally just the battery percentage, and when is clicked some more info. If I click just one time it works, but if I click a second time, the additional info Label seems to be empty (but it holds the dimension of the StringVar co