C:\>assoc .py
.py=Python.File
C:\>ftype Python.File
Python.File="C:\Windows\py.exe" "%1" %*
参考资料
https://stackoverflow.com/questions/5087831/how-should-i-set-the-default-python-version-in-windows
C:\>assoc .py
.py=Python.File
C:\>ftype Python.File
Python.File="C:\Windows\py.exe" "%1" %*
https://stackoverflow.com/questions/5087831/how-should-i-set-the-default-python-version-in-windows