List of Functions

2016-03-27 Thread Richard Riehle
Several months ago, I posted a question regarding how to create a list of functions. I quickly solved the problem on my own, but I am just now getting around to sharing my solution. It was actually quite simple, and also quite useful for the problem I had at hand. Below is an example of one w

Re: Array of Functions

2014-11-16 Thread Richard Riehle
On Friday, November 14, 2014 4:13:28 PM UTC-8, Dennis Lee Bieber wrote: > On Fri, 14 Nov 2014 14:17:23 -0800 (PST), Richard Riehle > declaimed the following: > > >In C, C++, Ada, and functional languages, I can create an array of > >functions, albeit with the nastiness

Re: Decorators (was: Re: I love assert)

2014-11-14 Thread Richard Riehle
. Richard Riehle, PhD Core Faculty, ITU On Fri, Nov 14, 2014 at 6:36 PM, Mayank Tripathi wrote: > Decorators were there in Python 2.4, released in 2005. Not exactly new. > > On Sat Nov 15 2014 at 7:51:11 AM Richard Riehle wrote: > >> On Friday, November 14, 2014 2:18:48 PM UTC

Re: Decorators (was: Re: I love assert)

2014-11-14 Thread Richard Riehle
On Friday, November 14, 2014 2:18:48 PM UTC-8, Marko Rauhamaa wrote: > Richard Riehle : > > > I find that not a lot of Python user really appreciate the power of > > decorators. > > Well, I don't. > > All it means is that I've never seen a use of decorat

Array of Functions

2014-11-14 Thread Richard Riehle
. However, I am sure some clever Pythonista has found a way to do this. Thanks in advance for any suggestions, Richard Riehle, PhD, International Technological University, San Jose, CA -- https://mail.python.org/mailman/listinfo/python-list

Re: I love assert

2014-11-14 Thread Richard Riehle
I find that not a lot of Python user really appreciate the power of decorators. Richard Riehle, PhD, International Technological University, San Jose, CA. -- https://mail.python.org/mailman/listinfo/python-list