what would you like to see in a 2nd edition Nutshell?

Michael Bernstein webmaven at cox.net
Thu Dec 30 12:52:05 EST 2004


Aside from negative indices, I'd also suggest a small (and rather
obvious) example for replacing a substring:
>>> s='spam'
>>> s=s[:1]+'xx'+s[3:]
>>> s
'sxxm'
>>>

- Michael




More information about the Python-list mailing list