[mythtv-users] MythTV v31 and Python v3 Heads Up

Jim Abernathy jfabernathy at gmail.com
Wed Jan 8 22:17:18 UTC 2020


> We expect the MythTV v31 ppa to be built with the python3 default. 
> python3 exists in 18.04.
> I'm running master on an 18.04 host OK.
>
> If you have any local MythTV python scripts that depend on v2, they'll 
> need to be updated.
>
> At the very least, the shebang at the top of the file (#!/usr/bin/env 
> python) becomes
> #!/usr/bin/python3. Same goes for anything downloaded from the Wiki 
> (or other sources.)
> In both cases, that assumes that the script has line(s) like: import 
> MythTV.
>
> With the exception of the shebang above, python scripts can be 
> converted *now* using the
> tools on the previous post. 

I should be okay. I use find_orphan.py and find_recording_location.py so 
I'll get the updated version of both when I convert to v31.

Jim A




More information about the mythtv-users mailing list