Calling a function from module question.
Sean
sean at buildingonline.com
Tue Feb 15 16:24:37 EST 2005
> Sean wrote:
>
>> Then I would have a script that uses the
>> print_this function defined in the module
>> without using the module name in the call.
>
>
>
> from module_name import print_this
>
> or, even:
>
> from module_name import print_this as other_nice_name
>
So what if I have a whole bunch of functions - say 25 of them.
Is there a way to do this without naming each function?
More information about the Python-list
mailing list