How to get method's arguments

Simon Brunning SBrunning at trisystems.co.uk
Fri Jan 19 08:31:54 EST 2001


> From:	Victor Black [SMTP:muk_pr at yahoo.com]
> 
> 1.How does IDLE show the argument list of a method or procedure.
> e.g when you write "dir(" a hint writing "dir([object]) -> list of
> strings"
> pops up.
 
It shows the first line of the docstring. Try print dir.__doc__ to see the
whole docstring.
 
> (The sources are available but overwhelming)
> 2.Are there any other open source IDEs for python ?
 
On Windows, there is the rather wonderful PythonWin - see
<http://www.activestate.com/Products/ActivePython/win32all.html>.

Cheers,
Simon Brunning
TriSystems Ltd.
sbrunning at trisystems.co.uk




-----------------------------------------------------------------------
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
accept liability for statements made which are clearly the senders own.




More information about the Python-list mailing list