Here is a link to another post/thread. I was able run this script to automate registration of Python 2.7. (Make sure to run it from the Python 2.x .exe
you want to register!)
To register Python 3.x I had to modify the print
syntax and import winreg
(instead of _winreg
), then run the Python 3 .exe
.