[Linuxtrent] Re: Uscita da programma/script in python
From: Alex <magobin@xxxxxxxxx>
To: linuxtrent@xxxxxxxxxxxxx
Date: Thu, 16 Jul 2009 14:45:39 +0200
> ma mettere un controllo dentro il while che verifica "quanto tempo è
passato"?
Uhm del tipo:
orario = time.time()
while True:
if time.strftime('%s', time.localtime(orario + 45))