Loading required libraries for python script from shell just once

Miki miki.tebeka at gmail.com
Tue Dec 2 04:54:54 CET 2008


> Is it possible to load all the modules used by run-test.py in
> a pre-execution environment in order to prevent this delay?
Only if you have one script the calls "main" (or any other entry
point) in the tests.

> I considered a rewrite of the shell script into python, but it has too
> many dependencies on shell libraries and I don't want to go that route
> (unless an alternative solution is impossible).
One other option is to have the python libraries on local disk, but
IMO the first solution is better.

HTH,
--
Miki <miki.tebeka at gmail.com>
http://pythonwise.blogspot.com



More information about the Python-list mailing list