Revision 1 as of 2009-11-05 21:17:39

Clear message

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

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