Hands on Documentation for Python methods and Library

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Wijaya Edward

    #1

    Hands on Documentation for Python methods and Library


    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.
    --------------------------------------------------------
  • Dan Bishop

    #2
    Re: Hands on Documentation for Python methods and Library

    On Oct 4, 11:54 pm, Wijaya Edward <ewij...@i2r. a-star.edu.sgwrot e:
    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.

    Comment

    • Richard Jones

      #3
      Re: Hands on Documentation for Python methods and Library

      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




      Comment

      Working...