Using "external" vars on module load time

Fredrik Lundh fredrik at pythonware.com
Wed Jun 14 09:25:42 EDT 2006


Marco Aschwanden wrote:
> Load a module and hand in already the server_api. How can I achieve this?

use execfile (or compile/exec) instead of import.

</F> 






More information about the Python-list mailing list