Answer the question
In order to leave comments, you need to log in
What is the difference between using PyQt or just Python to communicate with the DB?
What is the fundamental usage difference for PostgreSQL between: psycopg2 and PyQt.QtSQL? If with the help of both utilities I can access Postgres and fully work with the database. Will many stones fly at me if I show my code somewhere, where the connection is raised through psycopg2.connect() rather than QtSqlDataBase.addDataBase()?
Answer the question
In order to leave comments, you need to log in
Technically, you can combine any libraries to work with the database, network, and anything else within the framework of one project, but if this is motivated "I don't want to install them on a work machine", then it is considered bad form.
Different Qt modules are easier to interface with each other than with third-party libraries, that is, you can write less code, and it will be more reliable. Plus, the uniformity of style, plus the signal-slot interfaces are already ready, etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question