Re: [Tutor] help with program from learning python the hard way

2012-01-19 Thread Walter Prins
Hi Jason, On 19 January 2012 13:02, Jason Loeve wrote: > good day i seem to be stuck, my code is > > from sys import argv > > script, user_name = argv > > and i get an error ValueError: need more than 1 value to unpack > The implication of this message is that the value of "argv" contains only

Re: [Tutor] help with program from learning python the hard way

2012-01-19 Thread bodsda
+bodsda=googlemail@python.org Date: Thu, 19 Jan 2012 15:02:41 To: Subject: [Tutor] help with program from learning python the hard way ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman

Re: [Tutor] help with program from learning python the hard way

2012-01-19 Thread vishwajeet singh
On Thu, Jan 19, 2012 at 6:32 PM, Jason Loeve wrote: > good day i seem to be stuck, my code is > > from sys import argv > > script, user_name = argv > Are you passing an additional parameter while executing the script ?? you must execute it passing an additional parameter which will get assigned

[Tutor] help with program from learning python the hard way

2012-01-19 Thread Jason Loeve
good day i seem to be stuck, my code is from sys import argv script, user_name = argv and i get an error ValueError: need more than 1 value to unpack http://learnpythonthehardway.org/book/ex14.html i am using PyCharm 1.5.4 to run thanks in advance jason ___