[Tutor] Python docs- makes the learning harder sometimes

Danny Yoo dyoo@hkn.eecs.berkeley.edu
Mon Jan 6 12:22:13 2003


On Sun, 5 Jan 2003, Tony Cappellini wrote:

> startswith()
> endswith()
>
> as in
> s="Hello Python"
> s.startswith("He")
> s.endswith("on",6)
>
> where each function has 2 parameters,
> however, I don't understand why these functions are not in the Global
> Module Index

Hi Tony,


The index here:

    http://www.python.org/doc/lib/genindex.html

does have entries for startswith() and endswith():

    http://www.python.org/doc/lib/string-methods.html#l2h-141
    http://www.python.org/doc/lib/string-methods.html#l2h-119


Hope this helps!