Calling a function from module question.

JRCondon jcondon at air-worldwide.com
Thu Feb 17 13:14:37 EST 2005


Sean, if you are asking what I think you are asking (I don't think name
hiding is the issue), you can use

from module_name import *

and you will end up with all of the functions at session scope.  You can
use the 'as' to alias the function names if you wish

from module_name import fn1 as myfn1, fn2 as myfn2

but, um, that gets confusing.




More information about the Python-list mailing list