Z
Z
Zac Rider2020-12-12 17:35:38
Python
Zac Rider, 2020-12-12 17:35:38

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:

5fd4d221c7c87558467033.jpeg

What you need to get:

5fd4d23720aa1816016995.jpeg


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

1 answer(s)
A
Alexander, 2020-12-14
@b00tyCha1n

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.
5fd7c43a3eafc813983720.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question