Re: [Tutor] threading in python 2.7 - 2nd version

2015-01-05 Thread Rance Hall
Cameron: This was the exact issue, and I had initially suspected as much, but had no idea how to fix it. I had tried to use the global variable directive, but as it turned out I had misused it. Anyway, everything is working as it should. Thanks Rance On Mon, Jan 5, 2015 at 12:39 AM, Cameron S

Re: [Tutor] threading in python 2.7 - 2nd version

2015-01-05 Thread Joseph Lee
Hi, My answers are below. -Original Message- From: Tutor [mailto:tutor-bounces+joseph.lee22590=gmail@python.org] On Behalf Of Rance Hall Sent: Sunday, January 4, 2015 9:20 PM To: tutor Subject: [Tutor] threading in python 2.7 - 2nd version Thanks to the advice from Joseph and Alan, I

Re: [Tutor] threading in python 2.7 - 2nd version

2015-01-04 Thread Cameron Simpson
On 04Jan2015 23:19, Rance Hall wrote: Thanks to the advice from Joseph and Alan, I hacked a quick python script which demonstrates my problem more accurately. Its not board specific as was my last code. This sample works the same on my pcduino as it does on my desktop. [...] [...] exitFlag = 0

[Tutor] threading in python 2.7 - 2nd version

2015-01-04 Thread Rance Hall
Thanks to the advice from Joseph and Alan, I hacked a quick python script which demonstrates my problem more accurately. Its not board specific as was my last code. This sample works the same on my pcduino as it does on my desktop. #threading problem example import threading import sys impor