I'm writing a program from "Learn Python the Hard Way - Third Edition" by Zed A. Shaw. I am new to programming and I am completely stuck on Exercise 12. Please look at my code and help me with what I am doing wrong, as for all I know it is exactly as it should look in the book
from sys import argv
script, first, second, third = argv
print "The script is called:", script
print "Your first variable is called:", first
print "Your second variable is:", second
print "Your third variable is:", third
The complete error message is as follows (I struggle to understand it due to inexperience)
Traceback (most recent call last):
File "ex13.py", line 3, in <module>
script, first, second, third = argv
ValueError: need more than 1 value to unpack