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

Re: Dictionary of Functions

2012-11-15 Thread Chris Kaynor
On Thu, Nov 15, 2012 at 8:04 AM, Kevin Gullikson kevin.gullik...@gmail.com 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

Re: Dictionary of Functions

2012-11-15 Thread Joshua Landau
On 15 November 2012 17:13, Chris Kaynor ckay...@zindagigames.com wrote: On Thu, Nov 15, 2012 at 8:04 AM, Kevin Gullikson kevin.gullik...@gmail.com 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

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 function functA at 80db128 And what I'd like to do is: __internalFuncDict__['functA'] function functA at 80db128 globals()['functA'] -- http://mail.python.org/mailman/listinfo/python-list

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