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

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

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

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:
    509
  2. Buster Copley
    Replies:
    5
    Views:
    744
    Gianni Mariani
    Jul 7, 2003
  3. Cameron Laird
    Replies:
    1
    Views:
    852
    Josiah Carlson
    Apr 3, 2004
  4. Kenneth McDonald
    Replies:
    2
    Views:
    983
  5. Replies:
    1
    Views:
    1,417
    Andy Dingley
    Sep 16, 2006
  6. Concepts Systems
    Replies:
    0
    Views:
    466
    Concepts Systems
    May 11, 2008
  7. Concepts Systems
    Replies:
    5
    Views:
    532
    Peter Nilsson
    May 11, 2008
  8. Kenneth McDonald
    Replies:
    5
    Views:
    662
    Kenneth McDonald
    Sep 26, 2008
Loading...