<div dir="ltr">Thank-you Florian. I very much appreciate this feedback.</div><br><div class="gmail_quote"><div dir="ltr">On Fri, 17 Aug 2018 at 12:04, Florian Bruhin <<a href="mailto:me@the-compiler.org">me@the-compiler.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Aug 17, 2018 at 11:59:17AM -0400, Christopher Probst wrote:<br>
> Beyond signals and slots, is there any advantage in using the non-GUI Qt<br>
> classes in a PyQt application. Why would I use QSQLDatabase, the network<br>
> module if Python offers it already?<br>
<br>
There are sometimes reasons - some examples:<br>
<br>
- In general, things being async, i.e. not blocking your GUI (QProcess,<br>
  networking, QSerial vs. PySerial, etc.)<br>
- QSqlDatabase because you want to show it in a QTableView<br>
- Better integration with Qt in general (e.g. QThread)<br>
- Some functionality which is just nicer in Qt (QUrl vs. a urllib.parse<br>
  tuple)<br>
- Some functionality which doesn't exist in Python<br>
<br>
Often, the main drawback is the more complex error handling, as you get<br>
manual error checks instead of exceptions.<br>
<br>
Florian<br>
<br>
-- <br>
<a href="https://www.qutebrowser.org" rel="noreferrer" target="_blank">https://www.qutebrowser.org</a> | <a href="mailto:me@the-compiler.org" target="_blank">me@the-compiler.org</a> (Mail/XMPP)<br>
   GPG: 916E B0C8 FD55 A072 | <a href="https://the-compiler.org/pubkey.asc" rel="noreferrer" target="_blank">https://the-compiler.org/pubkey.asc</a><br>
         I love long mails! | <a href="https://email.is-not-s.ms/" rel="noreferrer" target="_blank">https://email.is-not-s.ms/</a><br>
</blockquote></div>