Threading on an old machine
Astley Le Jasper
Astley.lejasper at gmail.com
Mon Nov 10 05:12:42 EST 2008
On 10 Nov, 11:07, Astley Le Jasper <Astley.lejas... at gmail.com> wrote:
> Sorry ... that should be:
>
> for sitename in mysites:
> log.info("define thread")
>
> thread_list[sitename]=threading.Thread(name=sitename,target=myproceedure,
> args=(sitename,))
> log.info("done")
> thread_list[sitename].start()
> log.info("Started")
Ok ... I just tried running it in the terminal and it works ... so I
presume there must be an issue with IDLE?
More information about the Python-list
mailing list