Or you can get lines 24-28, with  text[24, 29]   (look up slices in the Python 
doc)

 >>> print splitext.__doc__
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'splitext' is not defined
>>> print slices.__doc__
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'slices' is not defined
>>> print slices._doc_
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'slices' is not defined


===================================================================
I think he meant something like: 
http://docs.python.org/tutorial/introduction.html (see the section on strings 
around half way down) or 
http://docs.python.org/release/2.3.5/whatsnew/section-slices.html



Ramit


Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology
712 Main Street | Houston, TX 77002
work phone: 713 - 216 - 5423



This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to