Keep a script running in the background
Daniel Fetchinson
fetchinson at googlemail.com
Tue Jun 3 13:10:38 EDT 2008
> I need a script to keep running in the background after it's loaded
> some data. It will make this data available to the main program in the
> form of a dictionary, but I don't want to reload the calculated data
> every time the user needs it via the main program.
>
> I won't be working with an UI, hope that can be made easily in Python
> somehow.
I'm not sure I understand exactly what you want but you might find
these daemonize examples useful from the cookbook:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/278731
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66012
Cheers,
Daniel
--
Psss, psss, put it down! - http://www.cafepress.com/putitdown
More information about the Python-list
mailing list