私は現在、Learn Python TheHardWayを行っています。この例は古くなっている可能性があるので、ここでフィードバックを受け取りたいと思いました。
Python3.1を使用しています
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))
このエラーが発生します:
Traceback (most recent call last):
File "/path/ch13.py", line 3, in <module>
script, first, second, third, bacon = argv
ValueError: need more than 1 value to unpack
何が問題なのか分かりますか?