我试图通过Windows命令提示符将参数传递给python,但遇到以下错误:
[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"
答案 0 :(得分:0)
您缺少结账和开放"
:
C:\Python27\python.exe
"C:\Users\Apples\Documents\ArcGIS\Grapes\Blueberry_Cobbler\recipe.py"
"C:\Users\Apples\Documents\ArcGIS\Grapes\Blueberry_Cobbler\input1.txt"