You could give py2exe a try. They have an old python2 version that might work for you.
Thanks, sounds like what I am looking for, but sadly it doesn't seem to be available for Linux :-/
Re:Sunsetting Python 2
by throwawaymlc on Sunday September 15, 2019 @08:20AM
(#20976905)
Which script are you talking about? Can you send me a link to it or or something? Email is in my profile.
I would be interested to see if I can update to python 3.
Re:Sunsetting Python 2
by BeefySwain on Monday September 09, 2019 @10:46AM
(#20918659)
Docker could do what you want, though it's definitely not an efficient solution.
I have a GPS watch and some old Python 2 script to export the data (found it online (unmaintained) a few years ago).
However, when Python 2 will be sunsetted I am a bit worried that Linux distributions will stop packaging the dependencies of said script, but I would like to keep using it until the watch breaks.