On Feb 13, 1:32 pm, azrael <[EMAIL PROTECTED]> wrote:
> Thaks guys. this helped
May I point you to partial:
f= partial( func, arg )
f() -> func( arg )
--
http://mail.python.org/mailman/listinfo/python-list
Thaks guys. this helped
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 13, 5:51 pm, azrael <[EMAIL PROTECTED]> wrote:
> I came across the fromfunc() function in numpy where you pass as an
> argument the name of a function as a string and also the atributes for
> the desired function.
>
> I find this extremly usefull and sexy. Can someone point me how write
> a
On Wed, 13 Feb 2008 07:51:36 -0800, azrael wrote:
> I came across the fromfunc() function in numpy where you pass as an
> argument the name of a function as a string and also the atributes for
> the desired function.
If you mean `fromfunction()` then you don't give the name of the function
as str
On Feb 13, 5:51 pm, azrael <[EMAIL PROTECTED]> wrote:
> I came across the fromfunc() function in numpy where you pass as an
> argument the name of a function as a string and also the atributes for
> the desired function.
>
> I find this extremly usefull and sexy. Can someone point me how write
> a