Re: Dictionary of Functions

2012-11-15 Thread Joshua Landau
On 15 November 2012 17:13, Chris Kaynor wrote: > On Thu, Nov 15, 2012 at 8:04 AM, Kevin Gullikson > wrote: > > Hi all, > > > > I am trying to make a dictionary of functions, where each entry in the > > dictionary is the same function with a few of the parameters se

Re: Dictionary of Functions

2012-11-15 Thread Chris Kaynor
On Thu, Nov 15, 2012 at 8:04 AM, Kevin Gullikson wrote: > Hi all, > > I am trying to make a dictionary of functions, where each entry in the > dictionary is the same function with a few of the parameters set to specific > parameters. My actual use is pretty complicated, but I manag

Re: Dictionary of Functions

2012-11-15 Thread MRAB
On 2012-11-15 16:04, Kevin Gullikson wrote: Hi all, I am trying to make a dictionary of functions, where each entry in the dictionary is the same function with a few of the parameters set to specific parameters. My actual use is pretty complicated, but I managed to boil down the issue I am

Does python have an internal list/dictionary of functions?

2006-02-17 Thread Carl J. Van Arsdall
Python Gurus: Let me elaborate a bit more on this question. Basically, I want to know if there is some data structure in python that maps a string function name to an address of a function or something to that nature. If this is confusing, let me describe what I want to do and see if anyone h

Re: Does python have an internal list/dictionary of functions?

2006-02-17 Thread Raymond Hettinger
[Carl J. Van Arsdall] > basically we have: > > >>>def functA(): > ... pass > > >>> functA > > > And what I'd like to do is: > > >>>__internalFuncDict__['functA'] > globals()['functA'] -- http://mail.python.org/mailman/listinfo/python-list