Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #44146
| Date | 2013-04-23 12:10 +0530 |
|---|---|
| Subject | Running simultaneuos "FOR" loops |
| From | inshu chauhan <insideshoes@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.953.1366699242.3114.python-list@python.org> (permalink) |
[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 comp.lang.python | Previous | Next | Find similar | Unroll thread
Running simultaneuos "FOR" loops inshu chauhan <insideshoes@gmail.com> - 2013-04-23 12:10 +0530
csiph-web