[Twisted-Python] Re: Beginners Guide to Twisted Anywhere?
Tsai Li Ming
mailinglist at ltsai.com
Sun Aug 1 18:30:36 MDT 2004
Serg,
That's totally right. I had the same problems when I started using
Twisted a few days ago. Read and read the finger tutorial countless times.
Liming
Sergio Trejo wrote:
> Britt,
>
> Your sentiments are another reminder as to why a book would be welcome!
>
> Serg
>
>> From: Britt Green <seamonkeys at gmail.com>
>> Reply-To: Twisted general discussion <twisted-python at twistedmatrix.com>
>> To: Twisted general discussion <twisted-python at twistedmatrix.com>
>> Subject: Re: [Twisted-Python] Beginners Guide to Twisted Anywhere?
>> Date: Sun, 1 Aug 2004 14:22:54 -0700
>>
>> You know, I've looked at the finger tutorial a few times. The problem
>> is that it doesn't really explain the code very well. Sure, I can look
>> at the first few examples and make an educated guess. For example,
>> lets look at the second step:
>>
>> from twisted.internet import protocol, reactor
>> class FingerProtocol(protocol.Protocol):
>> pass
>> class FingerFactory(protocol.ServerFactory):
>> protocol = FingerProtocol
>> reactor.listenTCP(1079, FingerFactory())
>> reactor.run()
>>
>> The accompanying explaination never really explains what
>> protocol.Protocol is. Same thing with protocol.ServerFactory. I've
>> been able to deduce what reactor.listenTCP() and reactor.run() do, but
>> as someone new to the language, its a bit frustrating to have to make
>> guesses about what the tutorial code does.
>>
>> Britt
>>
>> On Sun, 01 Aug 2004 15:49:19 -0400, Jp Calderone <exarkun at divmod.com>
>> wrote:
>> >
>> >
>> > Britt Green wrote:
>> > > I'm wondering if there exists a beginners guide to using Twisted.
>> > > Something similar to the online tutorial for Python. I've browsed the
>> > > docs on the Twisted website, and haven't been able to find what I'm
>> > > looking for. Specifically, a lot of the examples are mostly just code
>> > > with brief commentary which doesn't really explain things.
>> > >
>> > > Can someone help me out! :)
>> >
>> > You may be interested in the finger tutorial:
>> >
>> > http://twistedmatrix.com/documents/howto/tutorial/index
>> >
>> > Jp
>> >
>> > _______________________________________________
>> > Twisted-Python mailing list
>> > Twisted-Python at twistedmatrix.com
>> > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>> >
>>
>> _______________________________________________
>> Twisted-Python mailing list
>> Twisted-Python at twistedmatrix.com
>> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
> _________________________________________________________________
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail
More information about the Twisted-Python
mailing list