Re: [Tutor] Would like some help

2005-08-15 Thread Howard Kao
Thanks for the help Luke and Kent. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Would like some help

2005-08-15 Thread Kent Johnson
Howard Kao wrote: > Directly Quoted From the Python Cookbook > Once you get into the swing of Python, you may find yourself > constructing a lot of dictionaries. However, the standard way, also > known as a dictionary display, is just a smidgeon more cluttered than > you might like, due to

Re: [Tutor] Would like some help

2005-08-15 Thread luke
s (.items()) and it will concatenate (append?) these to the new dictionary. hope that helps. Luke - Original Message - From: "Howard Kao" <[EMAIL PROTECTED]> To: Sent: Monday, August 15, 2005 6:32 AM Subject: [Tutor] Would like some help > Directly Quoted From

[Tutor] Would like some help

2005-08-15 Thread Howard Kao
Directly Quoted From the Python Cookbook 1.3 Constructing a Dictionary Without Excessive Quoting Credit: Brent Burley 1.3.1 Problem You'd like to construct a dictionary without having to quote the keys. 1.3.2 Solution Once you get into the swing of Python, you may find yourself construct