Keep a script running in the background

subeen tamim.shahriar at gmail.com
Tue Jun 3 13:13:47 EDT 2008


On Jun 3, 10:07 pm, Guillermo <guillermo.lis... at googlemail.com> wrote:
> Hi,
>
> 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.
>
> Cheers,
>
> Guillermo

You can try this command: nohup python script.py &

regards,
Subeen.
http://love-python.blogspot.com/



More information about the Python-list mailing list