Comments
-
So...I finally solved this with a work around. I had to wrap the Python script inside a simple PowerShell script as shown below. $results = C:\path\to\python\script.py $args[0] $args[1] $args[2] $args[3] $args[4] $args[5] $args[6] $args[7] $args[8] $args[9] Write-Host $results I then added this as a PowerShell script…
-
Yes I did. I'm confident that this is another issue related to the fact that arguments are not passed to the Python script. What I'm looking into now is how arguments are passed to cscript.exe. With some of the Python versions i have used, arguments have not been passed from when running the script from a cmd window. I…
-
I got this up and running with Python 3.7.1 64bit, however: * I spent a lot of time on how to get pywin32 working correctly. I installed pywin32 with pip install pywin32, but that was not enough to get pywin32 working correctly, i also had to run C:\Program Files\Python37\Scripts\pywin32_postinstall.py. For python to work…