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


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

Re: List Comprehensions

Started byMark Lawrence <breamoreboy@yahoo.co.uk>
First post2014-12-22 16:34 +0000
Last post2014-12-22 16:34 +0000
Articles 1 — 1 participant

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

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: List Comprehensions Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-12-22 16:34 +0000

#82787 — Re: List Comprehensions

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2014-12-22 16:34 +0000
SubjectRe: List Comprehensions
Message-ID<mailman.17124.1419266062.18130.python-list@python.org>
On 22/12/2014 05:42, Ganesh Pal wrote:
> Hi ,
>
> (a)  I was trying to reduce the below piece of code using List
> comprehension ? Any suggestion please let me know
>
>       for opt in options:
>            opt['result'] = Queue.Queue()
>            tmp_thread = pause.Thread(opt)
>            threads.append(tmp_thread)
>             tmp_thread.start()
>

If it ain't broke don't fix it :)

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

[toc] | [standalone]


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


csiph-web