A Saturday 05 September 2009 20:56:53 escriguéreu:
> Dear Francesc,
>
> Thanks. This appears to be the most complicated python code I'll ever
> type in. I trust you that this is the most efficient answer, but it is
> way beyond my wildest fantasies. If I recall well, you are a
> physicist, like me,
It seems like you're wanting to make a general pattern where the
results of a function get stored in an array with a doc determined by
that function's docstring. Decorators work well for this sort of
thing.
-Ken
On Fri, Sep 4, 2009 at 3:06 PM, nicky van foreest wrote:
> Hi,
>
> I realize my ques
A Friday 04 September 2009 21:06:09 nicky van foreest escrigué:
> Hi,
>
> I realize my question is somewhat off-topic for the pytables
> community, but the problem originates from my using pytables. In the
> skeleton code below I do not like to use the function's name to get
> the doc string.
>
>
Hi,
I realize my question is somewhat off-topic for the pytables
community, but the problem originates from my using pytables. In the
skeleton code below I do not like to use the function's name to get
the doc string.
def dumFunction():
"""This function will gain me with the Nobel Prize...in