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

Use the MutableString class in the UserString module:

   1 >>> from UserString import MutableString
   2 >>> s = MutableString('python')
   3 >>> s[2:4] = 'l'
   4 >>> print s
   5 pylon


CategoryAskingForHelp CategoryAskingForHelpAnswered

Asking for Help/How to have a mutable buffer with python 2.3? (last edited 2009-11-05 21:17:39 by PaulBoddie)

Unable to edit the page? See the FrontPage for instructions.