On Fri, Aug 29, 2008 at 2:32 PM, sunny_plone <[EMAIL PROTECTED]> wrote:
>
>  hi all,
> i am a newbie in python.  i was trying to work with dictionaries.  i wanted
> to input values  through command line and store the values in a dictionary.
> i mean for the same key , multiple values. can any1 suggest me how can i do
> it.....thank you....

I'm not sure what your code is trying to do but this kind of thing is
usually done like this.

kev = dict()
kev.setdefault("Name",[])
kev["Name"].append(person_name)


-- 
~noufal
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to