Is it possible to run a run a Python script from a Photoshop script? For example: I've got two files: my_photoshop script.jsx which will run from Photoshop. And the seconds (python) my_python_script.py, which is called from with Photoshop by the first script.
my_photoshop script.jsx
// Call external file from Photoshop
call my_python_script.py; //pseudo code
my_python_script.py
# Python script
print ("Hello from Photoshop!")
I know it's possible to do something similar via a batch file...
my_photoshop script.jsx
// Call the external batch files
var myBat = new File("D:\\temp\\my_batch_file.bat");
alert(myBat);
myBat.execute();
my_batch_file.bat
echo Python...
"C:\path\to\python.exe" "c:\path\to\hello_world.py"
pause 100
However, but can it be done directly? Or is this as close as it's gonna get?