When I type assoc .py
I get .py=py_auto_file
.
When I type ftype py_auto_file
I get py_auto_file="C:\Program Files\Adobe\Photoshop 7.0\Photoshop.exe" "%1"
How do I make py_auto_file="C:\Python27"
?
When I type assoc .py
I get .py=py_auto_file
.
When I type ftype py_auto_file
I get py_auto_file="C:\Program Files\Adobe\Photoshop 7.0\Photoshop.exe" "%1"
How do I make py_auto_file="C:\Python27"
?
Right-click on .py file and set default program as python.exe
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:
The next command shows the correct associations from my system:
You can fix the associations with the following commands:
You should pass script name
%1
and all command-line parameters%*
to Python27 executable. To do this, simply execute