Syntax:
PythonImport module interpreter_name
Context:
server config
Module:
mod_python.c
Tells the server to import the Python module module at process startup under the specified interpreter name. This is useful for initialization tasks that could be time consuming and should not be done at the request processing time, e.g. initializing a database connection.
The import takes place at child process initialization, so the module will actually be imported once for every child process spawned.
See also Multiple Interpreters.