So I was learning python from "Learn python the hard way" in python3 (my preferance) (I also tried everything in the 2nd python) and when I came across "Parameters, Unpacking, Variables" I was stuck for good. When I type in exactly the same thing as he does:
from sys import argv
script, first, second, third = argv
print...
when I start it up it always says:
Traceback (most recent call last):
File "C:\Users\Vladas\mystuff\test_argv.py", line 3, in <module>
script, first, second, third = argv
ValueError: need more than 1 value to unpack
I understand that I am noobish at this, but can someone exlain me how to fix this, the reason why is this happening and what I am doing?