Answer the question
In order to leave comments, you need to log in
Using sqlite3 And tkinter and creating a database?
Good day! Can you please tell me how to make the data itself be entered from the database using the ttk.Treeview method?
What you get:
What you need to get:
The code itself<adapted to the first screenshot, respectively>:
https://drive.google.com/file/d/18KDCjdeG-3A6TPkmy...
Database:
https://drive .google.com/file/d/1xwYnIORkXyiVpZPBX...
Answer the question
In order to leave comments, you need to log in
The task seemed interesting, the code is available on github .
All the basic requirements are met, a lot of duplicate code has been removed, but still far from ideal)
The key point is that it would be enough to use a listbox to solve the problem, because treeview implies nesting. For example, a cadet and inside n-rows in subjects.
I invite you to add.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question