Re: huh??? weird problem

2010-05-16 Thread Paul Hankin
On May 15, 3:41 am, Dave Angel da...@ieee.org wrote: cerr wrote: Hi There, I got following code: start=time.time() print 'warnTimeout '+str(WarnTimeout) print 'critTimeout '+str(CritTimeout) print 'start',str(start) while wait:     passed =  time.time()-start     print 'passed

huh??? weird problem

2010-05-14 Thread cerr
Hi There, I got following code: start=time.time() print 'warnTimeout '+str(WarnTimeout) print 'critTimeout '+str(CritTimeout) print 'start',str(start) while wait: passed = time.time()-start print 'passed ',str(passed) if passed = WarnTimeout: print ' Warning!' ... ... ...

Re: huh??? weird problem

2010-05-14 Thread Chris Rebert
On Fri, May 14, 2010 at 5:14 PM, cerr ron.egg...@gmail.com wrote: Hi There, I got following code: start=time.time() print 'warnTimeout '+str(WarnTimeout) print 'critTimeout '+str(CritTimeout) print 'start',str(start) while wait:    passed =  time.time()-start    print 'passed

Re: huh??? weird problem

2010-05-14 Thread Mensanator
On May 14, 7:14 pm, cerr ron.egg...@gmail.com wrote: Hi There, I got following code: start=time.time() print 'warnTimeout '+str(WarnTimeout) print 'critTimeout '+str(CritTimeout) print 'start',str(start) while wait:     passed =  time.time()-start     print 'passed ',str(passed)     if

Re: huh??? weird problem

2010-05-14 Thread Dave Angel
cerr wrote: Hi There, I got following code: start=time.time() print 'warnTimeout '+str(WarnTimeout) print 'critTimeout '+str(CritTimeout) print 'start',str(start) while wait: passed = time.time()-start print 'passed ',str(passed) if passed = WarnTimeout: print ' Warning!'