John Salerno wrote: > Out of curiosity, is there any kind of equivalent in Python to the > StringBuilder class in C#?
Yes, usually you use StringIO/cStringIO for this. It works for those situations where you just want to append to a string as you build it. The alternative is just to build up a list of strings and then concatenate them all when you are done (using str.join). If you really need mutable strings you can use the array module. -- http://mail.python.org/mailman/listinfo/python-list