[mythtv-users] MythTV and Python 3
Bill Meek
keemllib at gmail.com
Wed Oct 15 02:27:27 UTC 2014
On 10/14/2014 03:09 AM, Stephen Worthington wrote:
...
>>>>> I was just looking at using Python for another MythTV script and I
>>>>> realised I should be writing it in Python 3 now that Python 2 is
>>>>> deprecated. So I grabbed one of the MythTV scripts I downloaded a
>>>>> while ago (tunerstatus.py) and converted it to Python 3 to see if it
>>>>> would work. But this is what I got:
>>>>>
>>>>> root at mypvr:~# tunerstat.py
>>>>> Traceback (most recent call last):
>>>>> File "/usr/local/bin/tunerstat.py", line 6, in <module>
>>>>> from MythTV import MythDB, MythBE
>>>>> ImportError: No module named 'MythTV'
Hi,
Try this, it uses Python 3 and the Services API. No
bindings.
http://pastebin.com/Brn9YfSG
--
Bill
More information about the mythtv-users
mailing list