I understand that the keys in a dictionary are ordered not randomly but something practically close to it, but if I create a SQL query like so:
query = 'INSERT INTO Batting (%s) VALUES(%s)' % (','.join(stats.keys()),
','.join(stats.values()))
Can I at least rely on the value being in the same index as its
corresponding key?
--
Wells Oliver
[email protected]
-- http://mail.python.org/mailman/listinfo/python-list
