Using "external" vars on module load time

Fredrik Lundh fredrik at pythonware.com
Wed Jun 14 15:25:42 CEST 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