【发布时间】:2023-03-09 07:58:01
【问题描述】:
我没有得到这个程序想要的输出?
from sys import argv
script, first, second, third = argv
print ("The script is called:", script)
print ("Your first variable is:", first)
print ("Your second variable is:", second)
print ("Your third variable is:", third)
如何使用cmd来传递这些参数?
【问题讨论】:
标签: python-3.x command-line-arguments