-1
我試圖通過Windows命令提示符下一個參數傳遞給Python,但我遇到了以下錯誤:傳遞參數到Python腳本在Windows命令提示符
[Errno 22] Invalid argument
命令提示符代碼:
C:\Python27\python.exe "C:\Users\Apples\Documents\ArcGIS\Grapes\Blueberry_Cobbler\recipe.py C:\Users\Apples\Documents\ArcGIS\Grapes\Blueberry_Cobbler\input1.txt"
嘗試'C:\ Python27 \ python.exe「C:\ Users \ Apples \ Documents \ ArcGIS \ Grapes \ Blueberry_Cobbler \ recipe.py」「C:\ Users \ Apples \ Documents \ ArcGIS \ Grapes \ Blueberry_Cobbler \ input1.txt「' – Caw
謝謝你回來,可悲的是這沒有奏效,仍然拋出一個錯誤。 –
同樣的錯誤? – Caw