os.getpid()
time.sleep(30)
os._exit(0)
You should be able to verify that you have that process still running
after the main process exits.
--
Jay Deiman
\033:wq!
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
?%s' % \
urllib.urlencode(options)
u = urllib.urlopen(url)
# Here you can read the response if needs be
response = u.read()
u.close()
=
That's about it.
--
Jay Deiman
\033:wq!
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
set "totalFile" to your main output file and then
call the script as "scriptname.py /path/to/datfile/directory".
--
Jay Deiman
\033:wq!
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
CENT' ,
'LINE1:mph#FF:My Speed' ,
r'GPRINT:msmax:Max\: %6.1lf mph' ,
r'GPRINT:msavg:Avg\: %6.1lf mph' ,
r'GPRINT:msmin:Min\: %6.1lf mph\l' ,
r'GPRINT:mspct:95th Perc\: %6.1lf mph\l'
)
- -