H
H
heso2013-12-25 19:46:14
Python
heso, 2013-12-25 19:46:14

How can I organize a table (GUI) in Python?

In C#, there is a very useful DataGridView class , with which it is quite easy to create tables on the fly, add values ​​​​to cells and take them from there.
Interested in the question of how you can organize a similar table in Python. More specifically, you need to create 2 tables (GUI) with a fixed number of columns, and with a floating number of rows (the number may vary). Then fill them in, and when the button is clicked, take these values ​​as variables (list, etc.).
At the moment, it was advised to look towards Tkinter . Interested in other options, if any.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey K, 2014-01-05
@heso

PyQt or PySide
QTableView - if MVC needed
QTableWidget - no MVC

Z
zxmd, 2013-12-25
@zxmd

PyQt - everything is there :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question