Paul already answered it. Tnx Paul. My data is in a file and now I have to take care to strip \t and \n from it.
Thanks > I'm not a guru. Maybe that's why I don't understand which "sql-like > sort-by on multiple keys" would produce output that lacks some of the > input but has additional items. ;) > > In other words: why don't you show your concrete program and the input > and output data to use. Is the data a list of tuples or lists or what? > > Cheers, > Jussi -- http://mail.python.org/mailman/listinfo/python-list