<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Hi Stephen!</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <blockquote type="cite"
      cite="mid:mailman.1.1633953602.8476.mythtv-users@mythtv.org">
      <pre class="moz-quote-pre" wrap="">I have put the Python 2 and Python 3 compatible version on my web
server:

<a class="moz-txt-link-freetext" href="http://www.jsw.gen.nz/mythtv/test-mythbackend.py" moz-do-not-send="true">http://www.jsw.gen.nz/mythtv/test-mythbackend.py</a>

This is the Python 3 version, since most people will be using that
now.  Change the top line to use it with Python 2.</pre>
    </blockquote>
    <p> </p>
    <p style="margin-bottom: 0in; line-height: 100%">Minor problems to
      report. Changed the top line to <b>#!/usr/bin/env python2</b></p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">I added a comment:</p>
    <p style="margin-bottom: 0in; line-height: 100%"><b># Top line is
        "#!/usr/bin/env python3" or "#!/usr/bin/env
        python2"</b></p>
    <p style="margin-bottom: 0in; line-height: 100%"><b># depending on
        which version of MythTV: v30 and less uses Python 2</b></p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">...I’m thinking
      should ‘confuse’ anything but just to let you know. </p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">Ran and got this:</p>
    <p style="margin-bottom: 0in; line-height: 100%"><b>barry@NZXT:~$
        python
        '/home/barry/MythTV Backend Scripts/Test-BE.py' </b></p>
    <b>
    </b>
    <p style="margin-bottom: 0in; line-height: 100%"><b>Traceback (most
        recent call last):</b></p>
    <b>
    </b>
    <p style="margin-bottom: 0in; line-height: 100%"><b> File
        "/home/barry/MythTV Backend Scripts/Test-BE.py", line 23,
        in <module></b></p>
    <b>
    </b>
    <p style="margin-bottom: 0in; line-height: 100%"><b> from enum
        import
        IntEnum</b></p>
    <b>
    </b>
    <p style="margin-bottom: 0in; line-height: 100%"><b>ImportError: No
        module named enum</b></p>
    <b>
    </b>
    <p style="margin-bottom: 0in; line-height: 100%"><b><br>
      </b>
    </p>
    <b>
    </b>
    <p style="margin-bottom: 0in; line-height: 100%"><b>barry@NZXT:~$
        python
      </b></p>
    <b>
    </b>
    <p style="margin-bottom: 0in; line-height: 100%"><b>Python 2.7.17
        (default, Feb 27 2021, 15:10:58) </b></p>
    <b>
    </b>
    <p style="margin-bottom: 0in; line-height: 100%"><b>[GCC 7.5.0] on
        linux2</b></p>
    <b>
    </b>
    <p style="margin-bottom: 0in; line-height: 100%"><b>Type "help",
        "copyright", "credits" or "license" for
        more information.</b></p>
    <b>
    </b>
    <p style="margin-bottom: 0in; line-height: 100%"><b>>>>
        exit()</b></p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">Noted in the script
      there is a statement to “print … install the ...enum34 package”
      however this didn’t show up in Terminal. Will do in a little
      while.</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">Barry </p>
    <p>
      <style type="text/css">p { margin-bottom: 0.1in; line-height: 115% }a:link { so-language: zxx }</style></p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
  </body>
</html>