External python file problem

Emile van Sebille emile at fenx.com
Wed Oct 31 10:19:13 EST 2001


You're looking for import.

--

Emile van Sebille
emile at fenx.com

---------
"Thomas Weidner" <wolf359_ at gmx.net> wrote in message
news:pan.2001.10.31.16.12.31.409.1057 at gmx.net...
> Hi,
>
> i want a python program to load another .py file and execute a function
> in this other file.
> i compile the other file using the compile function,but how to get the
> function i want from the resulting code object ?




More information about the Python-list mailing list