from sys import argv
script, first, second, third = argv
print("The script is called: ", script)
print("The first variable is: ", first)
print("The second variable is: ", second)
print("The third variable is: ", third)
Run Code Online (Sandbox Code Playgroud)
错误发生在script, first, second, third = argv.我想了解为什么我收到错误以及如何解决它.谢谢!