introspection and functions

yagyala mbrown at
Wed Aug 22 23:59:09 CEST 2007

Hi. I would like to be able to tell, at run time, how many parameters
a function requires. Ideally I would like to be able to tell which are
optional as well. I've tried looking at the functions attributes, but
haven't found one that helps in this. How can I do this?


More information about the Python-list mailing list