<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Emilio,<br>
<br>
Please reply to the QGIS users list so others will benefit from the
discussion. :)<br>
<br>
Your next reading would probably be the QT4 and PyQt4 documentation
for the SQL database classes. <br>
QT4 is the c++ version of the code. <br>
<br>
PyQt4 is the python wrappers around QT4.<br>
<br>
While you will be coding in python, the c++ documentation may be
helpful and clearer to read.<br>
<br>
Google has been my friend. :)<br>
<br>
Here are a few links to get you started.<br>
<br>
<a class="moz-txt-link-freetext" href="http://doc.qt.io/qt-4.8/sql-connecting.html">http://doc.qt.io/qt-4.8/sql-connecting.html</a><br>
<a class="moz-txt-link-freetext" href="http://pyqt.sourceforge.net/Docs/PyQt4/index.html">http://pyqt.sourceforge.net/Docs/PyQt4/index.html</a><br>
<a class="moz-txt-link-freetext" href="http://pyqt.sourceforge.net/Docs/PyQt4/qsqldatabase.html">http://pyqt.sourceforge.net/Docs/PyQt4/qsqldatabase.html</a><br>
<a class="moz-txt-link-freetext" href="http://stackoverflow.com/questions/7669987/what-is-the-correct-way-of-qsqldatabase-qsqlquery">http://stackoverflow.com/questions/7669987/what-is-the-correct-way-of-qsqldatabase-qsqlquery</a><br>
<br>
I'm sorry don't have an example available at the moment. I cannot
promise I'll find the time to put one together.<br>
<br>
<div class="moz-signature"><b>Worth Lutz</b><br>
<br>
<br>
</div>
<div class="moz-cite-prefix">On 10/23/2015 8:47 AM, Emilio S wrote:<br>
</div>
<blockquote cite="mid:DUB130-W616D0ABE46B295E91DAE55D2260@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Thank you Worth Luz for your explanation. I have
started with this and I have read a lot, but do you know any
example to conect python with spatialite and do a SQL query?
<div><br>
</div>
<div>Thank you again</div>
</div>
</blockquote>
<br>
</body>
</html>