type(foo) == function ?

Fredrik Lundh fredrik at pythonware.com
Wed Nov 29 15:34:07 EST 2006


Tom Plunket wrote:

> I'd like to figure out if a given parameter is a function or not.

http://effbot.org/pyref/callable

</F>




More information about the Python-list mailing list