我试图通过windows命令提示符将参数传递给python,但遇到以下错误:
[Errno 22] Invalid argument
命令提示符代码:
C:Python27python.exe "C:UsersApplesDocumentsArcGISGrapesBlueberry_Cobblerrecipe.py C:UsersApplesDocumentsArcGISGrapesBlueberry_Cobblerinput1.txt"
您同时缺少关闭和打开"
的:
C:Python27python.exe
"C:UsersApplesDocumentsArcGISGrapesBlueberry_Cobblerrecipe.py"
"C:UsersApplesDocumentsArcGISGrapesBlueberry_Cobblerinput1.txt"