Just run below in cmd
assoc .py=Python.File ftype Python.File="C:\--PYTHON_PATH--\python.exe" "%1" %*