monitor. I am using wxPython. Does anyone know how to do it?
Thanks
Mark Rainess
--
http://mail.python.org/mailman/listinfo/python-list
getfile()
while 1:
data=f.readline()
if data[0:15]=='Content-length:':
count=int(data[16:])
n=f.readline() # skip over Content-type: image/jpeg\n'
n=f.readline() # skip over \n'
s = f.read(count)
p=file(tempfile,'wb')
p.wr
at is going on.
I'm using httplib.HTTP instead of httplib.HTTPConnection because
I don't find that HTTPConnection has readline().
Mark Rainess
=
class mjpeg_get(threading.Thread):
def run(self):
while 1:
w
[EMAIL PROTECTED] wrote:
> Mark rainess wrote:
> [...]
>> It runs perfectly for about 4 hours, then freezes.
>> I'm stuck. How do I debug this?
> [...]
>> Can anyone suggest techniques to help me learn what is going on.
>
> By inspection: "errco