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 -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -