>>> 'my test string'[-1:-4:-1]
'gni'
>>>
When I do this it tells me that the sequence index must be an integer. What is that telling me and how do I fix that? Jim
It's telling you that it doesn't support "extended slicing" - indexes with three components. Upgrade to Python 2.3 or later to make it work.
Kent
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor