Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #44146 > unrolled thread
| Started by | inshu chauhan <insideshoes@gmail.com> |
|---|---|
| First post | 2013-04-23 12:10 +0530 |
| Last post | 2013-04-23 12:10 +0530 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
Running simultaneuos "FOR" loops inshu chauhan <insideshoes@gmail.com> - 2013-04-23 12:10 +0530
| From | inshu chauhan <insideshoes@gmail.com> |
|---|---|
| Date | 2013-04-23 12:10 +0530 |
| Subject | Running 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 ???
Back to top | Article view | comp.lang.python
csiph-web