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 function of such capabilities