= Asking for Help: How to have a mutable buffer with python 2.3? =

Use the !MutableString class in the !UserString module:

{{{#!python
>>> from UserString import MutableString
>>> s = MutableString('python')
>>> s[2:4] = 'l'
>>> print s
pylon}}}

----
CategoryAskingForHelp CategoryAskingForHelpAnswered