Automatically create a database connection with Python script? -


i never learned python (i know program bit in vba), , have been using qgis few weeks.

i'm analysing tracking data , on user interface i'm allowing people select periods or days want see. database created on postgresql server, , know how connect qgis.

in ui, when people click button, export qgs file configurations (maps, coordinates, colours, ...) want, layer i'm seeing in sql database people might have not created previously.

is possible have (python) script create database connection? simple?


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

python - Error: Unresolved reference 'selenium' What is the reason? -

php - Need to store a large amount of data in session with CI 3 but on storing large data in session it is itself destorying automatically -