Mutable Strings - Any libraries that offer this?

Thomas Guettler hv at tbz-pariv.de
Tue Jul 21 03:03:23 EDT 2009


casebash schrieb:
> Hi,
> 
> I have searched this list and found out that Python doesn't have a
> mutable string class (it had an inefficient one, but this was removed
> in 3.0). Are there any libraries outside the core that offer this?

Hi,

you could use a list of characters. It would not be difficult to
implement this as a class with all fancy methods like startswith() ...

  Thomas

-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de



More information about the Python-list mailing list