Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: UNSURE 0.245 X-Spam-Level: ** X-Spam-Evidence: '*H*': 0.56; '*S*': 0.05; 'subject:Python': 0.06; 'writes:': 0.19; 'received:209.85.161.46': 0.23; 'received:mail- fx0-f46.google.com': 0.23; 'received:209.85.161': 0.26; 'subject:?': 0.29; 'elements': 0.29; 'x-mailer:microsoft outlook express 6.00.2900.5931': 0.30; 'to:addr:python-list': 0.33; 'thank': 0.35; 'from:': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.37; 'but': 0.38; 'subject:: ': 0.38; 'received:209': 0.39; 'to:addr:python.org': 0.39; 'received:188': 0.69; '[1,2]': 0.84; 'subject:Why': 0.84; 'subject:choose': 0.84; 'subject:its': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:from:to:references:subject:date :mime-version:content-type:content-transfer-encoding:x-priority :x-msmail-priority:x-mailer:x-mimeole; bh=hqOH5Xq1JAAhrlNrnm6D9h8Tqi5Md22vPdUCQ31+eKk=; b=mpgR/iWpaKFBHSUc2ux6Cc3SKvrE8wbSexA6NqPYRTvBjq2OF4iHBTXl+gqjzESPoB AajKaWTn94XGODmiSqFYngDK53V3A8LqKgE/4LqCET62nvfU4vhlR0i5srTN2RFlqGHf F7iL2Hw8NmJeZAJDNoBuKFV/xn6rJU58EzIWc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:references:subject:date:mime-version :content-type:content-transfer-encoding:x-priority:x-msmail-priority :x-mailer:x-mimeole; b=wO1BC+4dIBSXyjlBlMcJNj2SXkPZUoYefE2MD54LcPP6xTd8brgVhL7Ck9SooAy3Ml TcKkTsxfk1hjv9hRtW7+DWdcn/AIRwS1aE7wvJgTG1IJZD8APMetkTgLvK5ds/YNwgBx 1u7gbFHt5DEIicz2n21YFlpaTIODXIA0EPkBI= From: "Octavian Rasnita" To: References: <80d59383-36a3-4744-85c4-1a0577f1d3a6@dr5g2000vbb.googlegroups.com><9CDC4B2CD1F445E994119A50F65155DF@teddy><12225671E9654FECB49613D915FAEC19@teddy><21A740B7AC6644248476DFADDF726C73@octavian><629DAC3611EA49B0A36BCF70151CDE2F@octavian> <87sjs44qyk.fsf@castleamber.com> Subject: Re: Why did Quora choose Python for its development? Date: Tue, 24 May 2011 11:08:17 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 X-Mailman-Approved-At: Tue, 24 May 2011 21:52:41 +0200 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 24 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1306266763 news.xs4all.nl 49038 [::ffff:82.94.164.166]:55561 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:6168 From: "John Bokma" > "Octavian Rasnita" writes: > >> From: "Daniel Kluev" >> a = [1,2] >> dict([a]) >> >> Yes, but >> >> d = dict([a]) >> >> is not so nice as >> >> $d = @a; > > That will give you the number of elements in @a. What you (probably) > mean is %hash = @array; Of course. Thank you for correction. Octavian