Python API

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

    Python API

    Hello, where is nice site that would have python API documentation?
    In particular I am trying to find documentation on the function
    string.find

    -RR
  • Erik Max Francis

    #2
    Re: Python API

    RR wrote:
    [color=blue]
    > Hello, where is nice site that would have python API documentation?
    > In particular I am trying to find documentation on the function
    > string.find[/color]

    python.org has the Language and Standard References.

    The string module is documented here:



    --
    Erik Max Francis && max@alcyone.com && http://www.alcyone.com/max/
    __ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
    / \ Forgiveness is another word for letting go.
    \__/ Matthew Fox

    Comment

    • Bob Gailer

      #3
      Re: Python API

      At 04:10 PM 9/19/2003, RR wrote:
      [color=blue]
      >Hello, where is nice site that would have python API documentation?
      >In particular I am trying to find documentation on the function
      >string.find[/color]



      This is part of the string module. Be aware that for most string operations
      you no longer need this module; you can use the find method of a string e.g
      haystack.find(' needle') (assuming haystack is a variable bound to a string.)

      Bob Gailer
      bgailer@alum.rp i.edu
      303 442 2625


      ---
      Outgoing mail is certified Virus Free.
      Checked by AVG anti-virus system (http://www.grisoft.com).
      Version: 6.0.506 / Virus Database: 303 - Release Date: 8/1/2003

      Comment

      • David M. Cook

        #4
        Re: Python API

        In article <pan.2003.09.19 .22.10.30.39553 7@cornell.edu>, RR wrote:[color=blue]
        > Hello, where is nice site that would have python API documentation?
        > In particular I am trying to find documentation on the function
        > string.find[/color]

        In addition to the library docs, you can also get help in interactive mode
        [color=blue][color=green][color=darkred]
        >>> help(''.find) # help on the find method
        >>> import string; help(string) # help on the string module[/color][/color][/color]

        Dave Cook

        Comment

        Working...