Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.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: OK 0.191 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.66; '*S*': 0.04; 'syntax': 0.04; 'to:name :python-list@python.org': 0.22; 'error': 0.23; 'code:': 0.26; '???': 0.30; 'message-id:@mail.gmail.com': 0.30; 'run': 0.32; 'skip:s 30': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'implement': 0.38; 'to:addr:python-list': 0.38; 'subject:" ': 0.39; 'to:addr:python.org': 0.39; '8bit%:6': 0.40; 'how': 0.40; '8bit%:10': 0.64; 'obvious,': 0.91; 'subject:FOR': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=G1FlqOD7imflwPn4BZWq6OTMlhC8luWIASFRaHcHCiQ=; b=BU5d6NYxzgCUo2vl2Koi/h7qghDE43ejRsBz3j2Nul7Atup2X+54HbfsDefQInTWjN JWZU/p+CzcU/QtFIQav0HguaWEx2w9DsJm6hfFVv2ATJ2SCWidWcCTwlHUGVTvI2J1ae D4RwCGB34xJUHhvlrvWRVQrpa1HwWihz5c0FJ7TbeTJwIznLn2n5VNCdmli19oRexNXe rgOD/G91s0M7OFXaBpSPOb1kVKxB/BkI+6TReJlexM0cW82EL0RMzorjlYLyHWq+FI61 s39MjcF6Gr/JX3PNBKEW9TLZBcTjTs7kzJYt0gwCY80Jn8WGTlSB77FeSC0FAwIkkU5K U4vA== MIME-Version: 1.0 X-Received: by 10.42.145.137 with SMTP id f9mr14870691icv.52.1366699239439; Mon, 22 Apr 2013 23:40:39 -0700 (PDT) Date: Tue, 23 Apr 2013 12:10:39 +0530 Subject: Running simultaneuos "FOR" loops From: inshu chauhan To: "python-list@python.org" Content-Type: multipart/alternative; boundary=90e6ba6e8b50ae820404db01764c 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: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1366699242 news.xs4all.nl 2228 [2001:888:2000:d::a6]:35631 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:44146 --90e6ba6e8b50ae820404db01764c Content-Type: text/plain; charset=ISO-8859-1 i have to implement the below line in one of my code: for p in sorted(segments.iterkeys()) and for k in sorted(class_count.iterkeys()) and for j in sorted(pixel_count.iterkeys()): Its giving me a syntax error which is obvious, but how can I make all three for loop run simultaneously or any other way to do this simultaneous work ??? --90e6ba6e8b50ae820404db01764c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
i have to implement the below line in one of my code:
=
for =A0p in sorted(segments.iterkeys()) and for k in sorted(= class_count.iterkeys()) and for j in sorted(pixel_count.iterkeys()):

Its giving me a syntax error which is obvious, bu= t how can I make all three for loop run=A0simultaneously=A0or any other way= to do this=A0simultaneous work ???=A0
--90e6ba6e8b50ae820404db01764c--