Why did Quora choose Python for its development?

John Bokma john at castleamber.com
Sun May 22 19:55:11 EDT 2011


Terry Reedy <tjreedy at udel.edu> writes:

> I forget the exact question you asked, but this list is not the
> doc. The doc section on dicts gives dict(list_of_key_value_pairs) as
> the one true way, given such an input. The Perl way cannot be clearer
> and can only be shorted if it uses something shorter that dict().

my %hash = @list_of_key_value_pairs;

-- 
John Bokma                                                               j3b

Blog: http://johnbokma.com/        Perl Consultancy: http://castleamber.com/
Perl for books:    http://johnbokma.com/perl/help-in-exchange-for-books.html



More information about the Python-list mailing list