[PyQt] Database Connection

marion.balthasar at ise.fraunhofer.de marion.balthasar at ise.fraunhofer.de
Fri May 4 14:14:28 BST 2007


Hello list,

I'm quite new to Python and PyQt. So I would be very thankful, if anyone 
could help me with my starting problems...

I'm planning to write some Python Plugins for QuantumGIS. The function of 
those Plugins should be to connect to a PostgreSQL/PostGIS Database and 
commit SQL-Queries, which in return should export Data through a form 
(written to a comma seperated textfile).
Does anyone know, if there are any scripting-examples dealing with that or 
a similar problem, just to get a clou....

I'm now experimenting with QtSql Classes, but every try to connect to my 
database, explained in PyQt's Class reference documentation fails... (I 
tried with Python interpreter shell)

Thanks for every given hint...!

greets,
Marion
-----------------------------------------------------------------------------------------------
Marion Balthasar
Dept. Thermal Systems and Buildings
Fraunhofer-Institut für Solare Energiesysteme ISE
Heidenhofstr. 2, 79110 Freiburg, Germany
Phone: +49 (0) 761/4588-5347, Fax: +49 (0) 761/4588-9132
Marion.Balthasar at ise.fraunhofer.de
http://www.ise.fraunhofer.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070504/c57ea3d2/attachment.html


More information about the PyQt mailing list