I'm new to Python and I wrote a few command line scripts to do some computations. In Perl I remember using PersistantPerl to speed up Perl scripts by running them persistently.
Think of it as something like FastCGI but for command line scripts. PersistantPerl always keep a copy of the interpreter running then background so there's so startup penalty each time the script is run.
Is there an equivalent tool in Python or are there other strategies to avoid paying the startup penalty for running the same Python script frequently.
UPDATE:
Someone seems to have stumbled upon with the same idea:
Reducing the Python startup time
But it looks more like a hack than a complete solution. Any modules out there that can do this?