By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,001 Members | 1,176 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,001 IT Pros & Developers. It's quick & easy.

Hands on Documentation for Python methods and Library

P: n/a

Hi,

One can do the following with Perl

$ perldoc -f chomp
$ perldoc -f function_name

or

$ perldoc List::MoreUtils
$ perldoc Some::Module

Can we do the same thing in Python?

-- Edward
SINGAPORE

------------ Institute For Infocomm Research - Disclaimer -------------
This email is confidential and may be privileged. If you are not the intended recipient, please delete it and notify us immediately. Please do not copy or use it for any purpose, or disclose its contents to any other person. Thank you.
--------------------------------------------------------
Oct 5 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Oct 4, 11:54 pm, Wijaya Edward <ewij...@i2r.a-star.edu.sgwrote:
Hi,

One can do the following with Perl

$ perldoc -f chomp
$ perldoc -f function_name

or

$ perldoc List::MoreUtils
$ perldoc Some::Module

Can we do the same thing in Python?
You can use the help() function at the Python interactive prompt.

Oct 5 '06 #2

P: n/a
Wijaya Edward wrote:
One can do the following with Perl

$ perldoc -f chomp
$ perldoc -f function_name
$ pydoc dir
$ pydoc function_name

or

$ pydoc math
$ pydoc module_name
Richard


Oct 5 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.