Hands on Documentation for Python methods and Library

Discussion in 'Python' started by Wijaya Edward, Oct 5, 2006.

  1. 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.
    --------------------------------------------------------
    Wijaya Edward, Oct 5, 2006
    #1
    1. Advertising

  2. Wijaya Edward

    Dan Bishop Guest

    On Oct 4, 11:54 pm, Wijaya Edward <-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.
    Dan Bishop, Oct 5, 2006
    #2
    1. Advertising

  3. 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
    Richard Jones, Oct 5, 2006
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. xfairguy
    Replies:
    4
    Views:
    385
  2. =?Utf-8?B?Um9iaW5C?=

    Problem with Hands On Labs from TechEd 2005

    =?Utf-8?B?Um9iaW5C?=, Oct 27, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    1,101
    =?Utf-8?B?Um9iaW5C?=
    Oct 27, 2005
  3. Danno
    Replies:
    35
    Views:
    1,130
    Chris Smith
    Apr 25, 2006
  4. Concepts Systems
    Replies:
    0
    Views:
    342
    Concepts Systems
    May 11, 2008
  5. Concepts Systems
    Replies:
    5
    Views:
    368
    Peter Nilsson
    May 11, 2008
Loading...

Share This Page