[python] Python string class like StringBuilder in C#?