<div dir="ltr">I guess you mean Python 2 print instead of Python 3...</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 31, 2019 at 2:12 PM Dennis Jensen <<a href="mailto:djensen@pgcontrols.com">djensen@pgcontrols.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF">
    <p>I was reading through this online documentation and encountered
      what appears to be an oversight</p>
    <p><a href="https://www.riverbankcomputing.com/static/Docs/PyQt5/signals_slots.html" target="_blank">https://www.riverbankcomputing.com/static/Docs/PyQt5/signals_slots.html</a></p>
    <p>This page reference PyQt5 example code but in the code it is
      using the PyQt4 version of the print command as follows:</p>
    <pre style="overflow:auto hidden;padding:5px;background-color:rgb(238,255,204);color:rgb(51,51,51);line-height:15.6px;border-top:1px solid rgb(170,204,153);border-bottom:1px solid rgb(170,204,153);border-left:none;border-right:none;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><span class="gmail-m_-6724192485758681987nb" style="color:rgb(0,112,32)">print</span> <span class="gmail-m_-6724192485758681987s2" style="color:rgb(64,112,160)">"trigger signal received"</span></pre>
    <p>Where the command should appear as follows:</p>
    <pre style="overflow:auto hidden;padding:5px;background-color:rgb(238,255,204);color:rgb(51,51,51);line-height:15.6px;border-top:1px solid rgb(170,204,153);border-bottom:1px solid rgb(170,204,153);border-left:none;border-right:none;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><span class="gmail-m_-6724192485758681987nb" style="color:rgb(0,112,32)">print</span>(<span class="gmail-m_-6724192485758681987s2" style="color:rgb(64,112,160)">"trigger signal received")</span></pre>
    <p>If it were an actual PyQt5 version of the print command.  I bring
      this up mainly because I am not wondering if any of the rest of
      the example code on this page is also old PyQt4 code instead of
      the current PyQt5 or was this one statement the only oversight?<br>
    </p>
  </div>

_______________________________________________<br>
PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a><br>
<a href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" target="_blank">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:small"><div dir="ltr"><div dir="ltr"><div>Hugo Slepicka<br></div><div><font size="1"><b><a href="mailto:hhslepicka@gmail.com" target="_blank">hhslepicka@gmail.com</a></b></font></div><font size="1"><b>+1 631 855 5717</b></font></div></div></div></div></div></div></div></div></div>