Why did Quora choose Python for its development?

Terry Reedy tjreedy at udel.edu
Mon May 23 02:37:45 EDT 2011


On 5/23/2011 1:31 AM, Octavian Rasnita wrote:


> I am talking about a simple way of creating a hash/dict from an array,
> which is so simple that there should be really a single way to do it, or
> very few.

Again, Python has such:

 >>> dict([['one',1],['two', 2]])
{'two': 2, 'one': 1}

-- 
Terry Jan Reedy




More information about the Python-list mailing list