In article <mailman.18727.1423827222.18130.python-l...@python.org>, __pete...@web.de says... > > self.data = dict(row)
I didn't realize from the documentation it could be this simple. Thanks. > > And now an unsolicited remark: if you have more than one instance of Unknown > you might read the data outside the initialiser or at least keep the > connection open and pass a connection or cursor object to the initialiser. Yes, thank you. Later I am moving the code to a factory. -- https://mail.python.org/mailman/listinfo/python-list