Replies: 2 comments 2 replies
-
I would: # change rows for db_rows
db_rows = cursor.execute(query).fetchall() # change i for db_row
for db_row in db_rows: # change i for db_row
tlist.append(db_row) desc_cb.configure(rows=db_rows.len) And see what happens |
Beta Was this translation helpful? Give feedback.
2 replies
-
OK, I stumbled accross a solution, here are the relevant lines: `
` Works like a charm! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just can't figure out how to get the rows returned from a query into the drop down list of the new ComboBox. Can anyone provide an example?? I can execute the fetchall(), but how do I get it into the list of values?? Code below shows what I have tried, see comments.
Beta Was this translation helpful? Give feedback.
All reactions