I have a set of linked python scripts that have been in use for years … all written originally (not by me!) in python 2. They worked fine in Leap 15.6, and oddly enough worked fine in Leap 16.0 for a few days, but now are generating syntax errors.
There are lots of different questions here but at a minimum I’d like to find a way to install python2 on Leap 16 so that I can run these old scripts while I move them to python3.
On a related note, the “2to3” tools doesn’t seem to be available in python 3.13 … and I don’t see the earlier versions in the Leap repositories. Is there a repository with 3.10 or 3.09?
Python 2 reached end of support on January 1, 2020 by the python developers.
openSUSE typically doesn’t include software that is so far past its end of life, especially with something like a language, because security issues aren’t being patched.
You might be able to use something like Distrobox to install an older distro that includes a Python 2 binary, but you should really get these moved to version 3 ASAP.
I knew it was deprecated - looking for a 3.9 / 3.10 version install for leap 16 so I would have that tool. But the online tools are a great work-around, thanks!!!