ValueError: Too Many Values to Unpack Aptana Studio 3
Posted
by
GTyler
on Stack Overflow
See other posts from Stack Overflow
or by GTyler
Published on 2012-09-25T03:36:30Z
Indexed on
2012/09/25
3:37 UTC
Read the original article
Hit count: 205
I am working on exercise 13 from learnpythonthehardway.org. I should run this code:
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
Then enter "python ex13.py first 2nd 3rd" on command line. However, I am using Aptana Studio 3 on Vista and I get the "ValueError: too many values to unpack" error.
I am new to Python and Aptana so how can I enter the separate arguments here?
© Stack Overflow or respective owner