Blog traitant d'informatique, de programmation, de python, de golang, de linux...
1/ Le code : 1 package main 2 3 import ( 4 "bufio" 5 "fmt" 6 "os" 7 "os/exec" 8 "strconv" 9 "strings" 10 "time" 11 ) 12 13 var values [] int64 14 15 func main () { 16 updateStats () 17 var lowBatt, maxBatt int64 18 if len (os.Args) == 3 { 19 low, errl...
Lire la suite