210 B
None
0 👍
0 👎
#!/usr/bin/python3 import time import subprocess def main(): cmd = ('acpi', '-t') while True: subprocess.call(cmd) time.sleep(1) if __name__ == '__main__': main()
Comments