Re: [Twisted-Python] Twisted book(s)?

2009-06-02 Thread Robert Gravina
> I'm fairly new to Python and very new to Twisted.   I find I learn new > material best from a book, so although I know there's lots of great > documentation and examples on twistedmatrix.com, I was considering > getting O'Reilly's Twisted book ('Twisted Network Programming > Essentials' by Abe Fe

Re: [Twisted-Python] Twisted book(s)?

2009-06-02 Thread Kevin Horn
While its a bit out of date now, and it certainly could have been better, I found the book useful to get me over the initial learning curve hump that twisted is famous for. And it IS the only Twisted book out there (afaik). Kevin Horn On Tue, Jun 2, 2009 at 9:57 PM, Sury Soni wrote: > You are

Re: [Twisted-Python] Twisted book(s)?

2009-06-02 Thread Sury Soni
You are right David. I read that book and that book is definitely not for the beginner python programmers. And, yes, that book is not up to date as well. Cheers. Surya From: twisted-python-boun...@twistedmatrix.com [mailto:twisted-python-boun...@twistedmatrix.com] On Behalf Of D

[Twisted-Python] Twisted book(s)?

2009-06-02 Thread David Conradie
I'm fairly new to Python and very new to Twisted. I find I learn new material best from a book, so although I know there's lots of great documentation and examples on twistedmatrix.com, I was considering getting O'Reilly's Twisted book ('Twisted Network Programming Essentials' by Abe Fettig).

Re: [Twisted-Python] Guidance on Proxy-type Application

2009-06-02 Thread Aaron Bush
glyph, Sorry for the delayed response. I wanted to thank you for providing such a complete example. This is excellent. Now I just need to wrap by head around how it all goes together and works. The logic of the queue append and pop of a deferred in ProxyClient forwardLine and lineRecieve are t

Re: [Twisted-Python] wxreactor and win32eventreactor

2009-06-02 Thread Jean-Paul Calderone
On Tue, 2 Jun 2009 11:07:38 -0500, Ryan Nowakowski wrote: >I'm trying to use twisted's SerialPort stuff in my Win32 wxPython app. >I'm using the wxreactor, however I'm getting this error: > > AttributeError: 'WxReactor' object has no attribute 'addEvent' > Indeed, as you've discovered, the seria

Re: [Twisted-Python] Question about a custom byte oriented TCP protocol

2009-06-02 Thread Jean-Paul Calderone
On Tue, 2 Jun 2009 16:09:00 +0100, Michael Thompson wrote: >Hi, > I'm trying to use twisted to talk to an existing system that uses a byte >oriented protocol stuffed inside a TCP packet. I have implemented this using >the IntNStringReceiver modified to look at some bytes to calculate the size >o

[Twisted-Python] wxreactor and win32eventreactor

2009-06-02 Thread Ryan Nowakowski
I'm trying to use twisted's SerialPort stuff in my Win32 wxPython app. I'm using the wxreactor, however I'm getting this error: AttributeError: 'WxReactor' object has no attribute 'addEvent' When I switch to the win32eventreactor my serial port code works fine but then of course, the GUI won't

[Twisted-Python] Question about a custom byte oriented TCP protocol

2009-06-02 Thread Michael Thompson
Hi, I'm trying to use twisted to talk to an existing system that uses a byte oriented protocol stuffed inside a TCP packet. I have implemented this using the IntNStringReceiver modified to look at some bytes to calculate the size of the string to receive. For simple test cases where I send a si

Re: [Twisted-Python] Reactor callback from the wrong thread

2009-06-02 Thread Drew Smathers
On Fri, May 29, 2009 at 3:02 AM, Lars Ivar Igesund wrote: > Thanks for the tip, > > however - in which version was blockingCallFromThread added? It did > not wish to be imported from the version I installed via Ubuntu which > appears to be 2.5.0. (Bit confused about the version numbering though >