Hi;
I have this code:

  cursor.execute('describe products;')
  cols = [item[0] for item in cursor]
  cols = cols.reverse()
  cols.append('Delete')
  cols = cols.reverse()

Unfortunately, the list doesn't reverse. If I print cols after the first
reverse(), it prints None. Please advise. Also, is there a way to append to
the front of the list directly?
TIA,
beno
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to