From: chad at vision.arc.nasa.gov (Chad Netzer)
Date: Fri, 02 Apr 1999 17:09:36 -0800
Subject: string.join() vs % and + operators
References: <37054490.E79ADCC9@easystreet.com>
Message-ID: <37056A50.E22A3560@vision.arc.nasa.gov>
X-UID: 1204                                                  

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.





