string.join() vs % and + operators
Chad Netzer
chad at vision.arc.nasa.gov
Fri Apr 2 20:09:36 EST 1999
Al Christians wrote:
> Whereas Python's strings are immutable, there is potentially a strong
> incentive to get them right the first time. In my applications, I
> want to create strings that have many fields within them. I assume that
> it would be nice to be able to modify the fields without creating a new
> string any time its contents get changed, but I don't think that Python
> gives any nice way to do this.
Look into the array module. (or the NumArray module from LLNL)
Depending on the specifics of your applications, it may allow you to do
what you want.
More information about the Python-list
mailing list