Posts by Iniciante • 1 point
5 posts
-
0
votes0
answers32
viewsQ: Error relating tables in Sqlalchemy
I have two classes mapped: User and Contact with one-to-many relationship (User.). from sqlalchemy import Column, ForeignKey, Integer, String, UniqueConstraint from sqlalchemy.orm import…
-
0
votes0
answers37
viewsQ: Who connects to the Sqlalchemy database?
I have an app that uses Sqlalchemy’s ORM, but I’m confused about this connection. It is Sqlalchemy or the connection driver (in my case psycopg2) that actually connects to the database?…
-
0
votes0
answers16
viewsQ: How to get another computer to access my database
I have a system that uses Sqlalchemy and this one needs psycopg2 to connect to the database. I turned my system into executable, but I left in the database configuration file the "localhost"…
-
0
votes0
answers35
viewsQ: Parameter "-noconsole" is not working
I have a Python project that uses Pyqt5 and when I run the executable through pyinstaller with the command: pyinstaller --noconsole --onefile --windowed main.py is generated the executable where I…
-
-2
votes1
answer32
viewsQ: Where should the program modules be located?
I developed a personal agenda on Python using the Sqlalchemy and the Pyqt5. I realized that, for example: I have the main.py aquivo app = QtWidgets.QApplication([]) login = TelaLogin() if…