dir() and propertly list NEWBIE

Mark Hammond mhammond at skippinet.com.au
Fri Nov 26 07:31:16 EST 1999


Steve M S Tregidgo wrote in message
<199911261153.LAA07241 at cobweb.quantisci.co.uk>...
>Donn Cave wrote:
>> Quoth tiddlerdeja at my-deja.com:
>> [snip]
>> | Similarly, If I can get an objects functions, is it possible then
>get a
>> | list of the possible parameters for that function?
>>
>> No!  Wouldn't that be nice?
>Take a look at the function's attribute 'func_code'.  Within this

Or even better - use IDLE or Pythonwin - you can (usually :) type the
function name and have a short description and the parameter list pop up.

Mark.







More information about the Python-list mailing list