The shebang of macros/plotall.py, macros/plotfiles.py and plottest35.py is "#!/usr/bin/python", implying that these scripts will run with Python 2. Python 2 was marked EOL on 2020-01-01, and the release of Python 3 was in 2008. I think using Python 3 ("#!/usr/bin/python3") would be appropriate (haven't taken a look if these scripts need to be changed or if replacing the shebang is sufficient).
Assigning to the author of these scripts.