Neil Cerutti wrote, on Tuesday, June 06, 2017 5:29 AM > > On 2017-06-06, Deborah Swanson <pyt...@deborahswanson.net> wrote: > > I have a list of namedtuples: > > > > [{Record}(r0=v0, r1=v1,...,r10=v10,r11='',...r93='') > > . . . > > {Record}(r0=v0, r1=v1,...,r10=v10,r11='',...r93='')] > > > > In the first section of code, I process some of the first > 10 columns > > (r0=v0, r1=v1,...,r10=v10), and place the results in blank columns, > > also in the first 10 columns. > > I too have sometimes started with a namedtuple and then found > I needed to make changes to the records. I typically abandon > namedtuple at this point, after only one bad experience > trying to work around my choice of container. > > -- > Neil Cerutti
I can appreciate that reaction. Guess I'm a bit of a bulldog though (right ot wrong), and the concept of namedtuples is so ideally suited for the Excel spreadsheet conversions I'm working on, I'll keep on pushing the boundaries to see how they can be made to work. ;) Deborah -- https://mail.python.org/mailman/listinfo/python-list