It appears Photoshop may recognize a .py file format and has associated "py_auto_file" with the .py extension.
You can use the following command to locate the python file types:
C:>ftype | findstr -i python
Python.CompiledFile="C:Python27python.exe" "%1" %*
Python.File="C:Python27python.exe" "%1" %*
Python.NoConFile="C:Python27pythonw.exe" "%1" %*
The next command shows the correct associations from my system:
C:>assoc | findstr -i python
.py=Python.File
.pyc=Python.CompiledFile
.pyo=Python.CompiledFile
.pyw=Python.NoConFile
You can fix the associations with the following commands:
assoc .py=Python.File
assoc .pyc=Python.CompiledFile
assoc .pyo=Python.CompiledFile
assoc .pyw=Python.NoConFile
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…