Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Hands on Documentation for Python methods and Library

Reply
Thread Tools

Hands on Documentation for Python methods and Library

 
 
Wijaya Edward
Guest
Posts: n/a
 
      10-05-2006

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.
--------------------------------------------------------
 
Reply With Quote
 
 
 
 
Dan Bishop
Guest
Posts: n/a
 
      10-05-2006
On Oct 4, 11:54 pm, Wijaya Edward <(E-Mail Removed)-star.edu.sg> wrote:
> 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.

 
Reply With Quote
 
 
 
 
Richard Jones
Guest
Posts: n/a
 
      10-05-2006
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




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to find the class methods of a class, just like'methods' finds the instance methods? Kenneth McDonald Ruby 5 09-26-2008 03:09 PM
converting XSD documentation to HTML documentation kev.sully@gmail.com XML 1 09-16-2006 12:09 PM
Python documentation: How about structured documentation? Looking for comments/suggestions Kenneth McDonald Python 2 05-06-2004 04:11 AM
Principles of documentation (was: Python Documentation Blows!) Cameron Laird Python 1 04-03-2004 06:54 PM
Re: Templates and friends and template methods with private methods. Buster Copley C++ 5 07-07-2003 12:50 AM



Advertisments