[Tutor] Listing function arguments

Bernard Lebel python at bernardlebel.com
Wed Sep 1 15:16:31 CEST 2004


Hello,

Is there a way to list the arguments that a variable is accepting?

For instance, the first line of a function looks like this:
def cmcopy( aClients = [], sSource = '', sTarget = '', iSource = 0 ):

So I'd like to know the argument names, for
1- Know the order at wich the arguments must be passed
2- Know what variables to supply for arguments

I don't know if I missed something in the documentation...


Thanks
Bernard



More information about the Tutor mailing list