Version 0.7 of Crunchy has been released. It is available on
Sourceforge
(http://sourceforge.net/project/showfiles.php?group_id=169458)
Crunchy, the Interactive Python Tutorial Maker, is an application that
transforms an ordinary html-based Python tutorial into an interactive
session within a web
Chris wrote:
> is there a prettier way to do this?
> string[:len(string)-1]
>
> thanks!
string[:-1]
Negative indices count from the end of the string! beautiful isn't it?
--
http://mail.python.org/mailman/listinfo/python-list