RE: FW: [Tutor] Trying to d0 HTTP GET

2005-04-19 Thread Ertl, John
ailto:[EMAIL PROTECTED] Sent: Tuesday, April 19, 2005 10:33 Cc: tutor@python.org Subject: Re: FW: [Tutor] Trying to d0 HTTP GET Ertl, John wrote: > All, > > I have figured out a bit more. I can get the binary values from the service > but I think they come back as a single string. How do

Re: FW: [Tutor] Trying to d0 HTTP GET

2005-04-19 Thread Danny Yoo
On Tue, 19 Apr 2005, Ertl, John wrote: > I have figured out a bit more. I can get the binary values from the > service but I think they come back as a single string. How do I read > that into an array? Hi John, > The code below will read the first number into the array and print it > out bu

Re: FW: [Tutor] Trying to d0 HTTP GET

2005-04-19 Thread Kent Johnson
Ertl, John wrote: All, I have figured out a bit more. I can get the binary values from the service but I think they come back as a single string. How do I read that into an array? The code below will read the first number into the array and print it out but how would I read the whole thing into

FW: [Tutor] Trying to d0 HTTP GET

2005-04-19 Thread Ertl, John
p() print binvalues -Original Message- From: Kent Johnson Cc: tutor@python.org Sent: 4/18/05 1:10 PM Subject: Re: [Tutor] Trying to d0 HTTP GET Ertl, John wrote: > All, > > I am trying to get some binary data from a web service. None of the tech > guys are around so I am hoping you

RE: [Tutor] Trying to d0 HTTP GET

2005-04-18 Thread Ertl, John
13:10 Cc: tutor@python.org Subject: Re: [Tutor] Trying to d0 HTTP GET Ertl, John wrote: > All, > > I am trying to get some binary data from a web service. None of the tech > guys are around so I am hoping you might be able to shed some light on what > might be happening. I wou

Re: [Tutor] Trying to d0 HTTP GET

2005-04-18 Thread Kent Johnson
Ertl, John wrote: All, I am trying to get some binary data from a web service. None of the tech guys are around so I am hoping you might be able to shed some light on what might be happening. I would think that f = urllib.urlopen(...) data = f.read() would work. You could try urllib2.urlopen() and

[Tutor] Trying to d0 HTTP GET

2005-04-18 Thread Ertl, John
All, I am trying to get some binary data from a web service. None of the tech guys are around so I am hoping you might be able to shed some light on what might be happening. Here is part of the email that explained what I needed to do. - clip --- If you can do an http "get" from Python, yo