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()

(b) *   Is there anything that I need to consider while using list
comprehension with threads ?*


Regards,

Ganesh
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to