Next, define your argument list, called argv.
下一步,定义参数列表,使argv被调用。
The first argv element (0) is the program name (that is, echo.py).
第一个argv元素(0)是程序名(即 echo.py)。
For brevity, this script processes only the first extra argument, argv [1].
为了简单起见,这个脚本只处理第一个额外参数argv [1]。
Index 0 of argv is the program name that was invoked from the command line.
argv的索引0是从命令行调用的程序名。
Index 0 of argv is the program name that was invoked from the command line.
argv的索引0是从命令行调用的程序名。
应用推荐