Hands on Documentation for Python methods and Library

W

Wijaya Edward

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.
--------------------------------------------------------
 
D

Dan Bishop

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.
 
R

Richard Jones

Wijaya said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top