Python can also be used as a scripting engine in Microsoft's Active Scripting architecture

I think it works now.

[change the paths to your install path]
install latest python 3
get pywin32
  >pip install pywin32
start search 'environment variables', add PYTHONPATH and PYTHONHOME set both to 'D:\Program\Python3'
also edit PATH to remove duplicates (or other versions of python)
register as active script engine
  >python d:\Program\Python3>python Lib\site-packages\win32comext\axscript\client\pyscript.py