Search code examples
pythontwistedorbited

simple twisted receiver for orbited comet server


I have an unusual request.

I've just moved to a new apartment and I won't have my internet hooked up for over a week. I'm trying to develop my application using my phone for online documentation. Before I moved I found this video (vodpod.com/watch/4071950-building-real-time-network-applications-for-the-web-with-twisted-and-orbited-part-001?u=snaky&c=snaky) from pycon about orbited/twisted basics, unfortunately I forget how it was done and my phone won't play the video.

Could someone watch the first bit of the video for me and post one of the first python examples? The presenter has a simple reactor (I think) which can relay chat messages from telnet and web clients. I just need the basic example, even the one where each event method just has a "pass" in it, then I can continue from there.


Solution

  • The URL to the code examples used in that video:

    http://orbited.org/blog/files/tutorial/examples.tgz