| Store | Cart

C-h f equivalent

From: Gerhard Häring <gerh...@opus-gmbh.net>
6 Mar 2003 13:59:14 GMT
Glyn Millington <glyn at millingtons.org> wrote:
> [...] Now when I want to put something together in elisp, in Xemacs> all I have to do is C-h f and then feed in the function name and I> get the goods on a particular function. C-h v does the same for> variables. [...]

Check out the help and dir builtin functions.

#v+
>>> import os>>> help(os.rename)
Help on built-in function rename:

rename(...)
    rename(old, new) -> None
    Rename a file or directory.

>>> x = {}>>> dir(x)
['__class__', '__cmp__', '__contains__', ... , 'setdefault', 'update',
'values']
>>>
#v-

There may be a shortcut that does just from Emacs' Python mode.

-- Gerhard

Recent Messages in this Thread
Glyn Millington Mar 06, 2003 01:31 pm
Mikael Schönenberg Mar 06, 2003 01:45 pm
Michael Hudson Mar 06, 2003 01:50 pm
Gerhard Häring Mar 06, 2003 01:59 pm
Thomas Heller Mar 06, 2003 02:58 pm
Skip Montanaro Mar 06, 2003 04:15 pm
Skip Montanaro Mar 06, 2003 04:25 pm
John Hunter Mar 07, 2003 03:42 am
Chad Netzer Mar 06, 2003 07:27 pm
Glyn Millington Mar 06, 2003 07:34 pm
Messages in this thread

Previous post: UDP Redir in Python
Next post: C-h f equivalent