new to python

Alan Gauld alan.gauld at gssec.bt.co.uk
Mon Aug 7 08:40:45 EDT 2000


> "Suraj Subramanian" <ssubrama at rational.com> wrote in message
> > i am new to python and trying to access the help in python,when i do a
> > dir(modulename) it gives me a list of the function in the module,
> > how do i know what arguments do we need to pass to the function or
> what
> > does the function return ,can anybody help

If you use the newest versions of IDLE(0.5+) then 
when you type the opening paren it tells you in a 
tooltip what the parameters are...

eg:

import re
re.match(___________________
	|expression, string|
	--------------------
HTH,

Alan G.
-- 
=================================================
This post represents the views of the author 
and does not necessarily accurately represent 
the views of BT.



More information about the Python-list mailing list