[PyQt] PyQt API 2: equivalent of Null QVariant?

TP paratribulations at free.fr
Tue Dec 21 23:40:57 GMT 2010

Erik Janssens wrote:

> you could just access sql through python instead of through qt,
> NULL would then correspond to None

Yes, it is possible to use for example the sqlite3 module, but there are 
facilities related to the GUI, available when using Qt: QSqlTableModel, 
QSqlRelationTableModel, etc.

This is why I use Qt rather than sqlite3.



More information about the PyQt mailing list