Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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: OK 0.041 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'subject:Python': 0.06; 'keys,': 0.09; 'cc:addr:python-list': 0.11; 'dictionary,': 0.16; 'cc:addr:python.org': 0.22; 'skip': 0.24; 'cc:2**0': 0.24; 'header :In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'second,': 0.31; 'subject:with': 0.35; 'received:google.com': 0.35; 'next': 0.36; 'first': 0.61; 'grab': 0.64; 'to:addr:gmail.com': 0.65 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vZzFo/CFRy3QAQlfwYgCm93ggjQGhDYTOrw3eZT+sl0=; b=zzy1GeXobalQX2CymdReEisEGV12UKNU11rI7fxnIlcoUJlfxWEPxMoYKJpE5hI7uP GJVe+GcfS8IMzbeNKNM+Z6sMrDQiiUVxuvleOPiS8yKvca7c6Cf3RQHZPhgFHYia9+88 w0wTwxEtwZplX/MFMeextEsIbvC/iM5u13DEJQAB0gYGLaYFPmlMInhb/HFmKdr2gGeF qPUKKg5f4Nu8gpaRBXihfDvtUK74T8ga7oxPyi3maZQZfcS8a796ymUM2mcVcl1JhWIv IgHDnQ4sglA/UAEshmiAr4o2gQRptJ4oSQ+SnuHC7r3dPmSqq29cA8F1dGE13saGK9Nc xQ6A== MIME-Version: 1.0 X-Received: by 10.42.250.207 with SMTP id mp15mr7686341icb.9.1413322358784; Tue, 14 Oct 2014 14:32:38 -0700 (PDT) In-Reply-To: References: <64f7e57a-4be3-44f4-b11c-0d270fc91809@googlegroups.com> Date: Tue, 14 Oct 2014 16:32:38 -0500 Subject: Re: Parsing Python dictionary with multiple objects From: Skip Montanaro To: Anurag Patibandla Content-Type: multipart/alternative; boundary=20cf300faeb7260c0e050568c198 Cc: Python X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1413322368 news.xs4all.nl 2857 [2001:888:2000:d::a6]:34153 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:79118 --20cf300faeb7260c0e050568c198 Content-Type: text/plain; charset=UTF-8 Shuffle the keys, then grab the first 20 for one dictionary, the next 30 for the second, and the last 50 for the third. Skip --20cf300faeb7260c0e050568c198 Content-Type: text/html; charset=UTF-8

Shuffle the keys, then grab the first 20 for one dictionary, the next 30 for the second, and the last 50 for the third.

Skip

--20cf300faeb7260c0e050568c198--