Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #44146 > unrolled thread

Running simultaneuos "FOR" loops

Started byinshu chauhan <insideshoes@gmail.com>
First post2013-04-23 12:10 +0530
Last post2013-04-23 12:10 +0530
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Running simultaneuos "FOR" loops inshu chauhan <insideshoes@gmail.com> - 2013-04-23 12:10 +0530

#44146 — Running simultaneuos "FOR" loops

Frominshu chauhan <insideshoes@gmail.com>
Date2013-04-23 12:10 +0530
SubjectRunning simultaneuos "FOR" loops
Message-ID<mailman.953.1366699242.3114.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

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
???

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web