Python Documentation?
Chad Netzer
cnetzer at sonic.net
Mon Sep 1 01:48:50 EDT 2003
More information about the Python-list mailing list
Mon Sep 1 01:48:50 EDT 2003
- Previous message (by thread): Python Documentation?
- Next message (by thread): Python Documentation?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, 2003-08-31 at 21:41, Daniel R. Smorey Jr. wrote:
> Why can't I just go to www.python.org and click
> on Search and then type in split and it bring me to the split() function
> of the string module?
Not a bad idea.
> Why does it have to be so hard?
Start up a python interpreter and type:
help('string.split')
To see the whole string module:
help('string')
It also work directly on module and function objects:
import string
help(string)
Finally, the string module is being slowly phased out. You can use the
string constructor type instead (in Python 2.2 and later):
help(str.split)
help(str)
etc...
--
Chad Netzer
- Previous message (by thread): Python Documentation?
- Next message (by thread): Python Documentation?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list