Marty: > I recently faced a similar issue doing something like this: > > data_out = [] > for i in range(len(data_in)): > data_out.append([])
Another way to write this is data_out = [[]] * len(data_in) Neil -- http://mail.python.org/mailman/listinfo/python-list