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

vishwajeet singh dextrous85 at gmail.com
Thu Jan 19 14:14:53 CET 2012


On Thu, Jan 19, 2012 at 6:32 PM, Jason Loeve <jasonloeve at gmail.com> 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 to
user_name


> 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
>
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
>


-- 
Vishwajeet Singh
+91-9657702154 | dextrous85 at gmail.com | http://bootstraptoday.com
Twitter: http://twitter.com/vishwajeets | LinkedIn:
http://www.linkedin.com/in/singhvishwajeet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120119/291b6bf0/attachment.html>


More information about the Tutor mailing list