Re: How to create a virtual serial port?

2009-04-12 Thread Stuart Davenport
On Apr 11, 6:56 pm, Grant Edwards wrote: > On 2009-04-11, Grant Edwards wrote: > > > You can write a port redirector in user-space in MS-Windows, > > but you can't in Linux/Unix.  On Unix systems you have to > > write a kernel module that sits below the tty layer. > > Perhaps I should elucidate f

Re: How to create a virtual serial port?

2009-04-11 Thread Stuart Davenport
On 11 Apr, 08:52, Scott David Daniels wrote: > Stuart Davenport wrote: > > ... I'm on a OS X, python 2.5. Basically I will have a remote application > > pushing data (GPS) over the network to a python application I have > > running on my Mac, I want this python app

Re: How to create a virtual serial port?

2009-04-10 Thread Stuart Davenport
On 10 Apr, 20:45, Scott David Daniels wrote: > Stuart Davenport wrote: > > Hi, > > > I am trying to work out if its possible, to create a virtual serial > > port with Python? Would anyone know how to go about this in code? Any > > help would be greatly appreciated!

How to create a virtual serial port?

2009-04-10 Thread Stuart Davenport
Hi, I am trying to work out if its possible, to create a virtual serial port with Python? Would anyone know how to go about this in code? Any help would be greatly appreciated! :) I have a had a google and the topics returned only seem to reflect "reading" serial port data, particularly pySerial

Re: HTTPError... read the response body?

2009-03-03 Thread Stuart Davenport
On Mar 2, 11:50 pm, Wojtek Walczak wrote: > On Mon, 2 Mar 2009 14:29:12 -0800 (PST), Stuart Davenport wrote: > > Hi, > > > I am trying to connect to a web service but I am getting HTTP 400, I > > am not too concerned about the HTTP error - but what I'd like to know

HTTPError... read the response body?

2009-03-02 Thread Stuart Davenport
Hi There, I am trying to connect to a web service but I am getting HTTP 400, I am not too concerned about the HTTP error - but what I'd like to know if there is anyway I can read the response body in the HTTP 400 or 500 case? Does the HTTPError allow this? or the urllib2 in anyway? This is what I