Get Lanyrd on your mobile (iPhone, Android and more) - check it out here

Introduction to Event Driven Programming Using Twisted

A session at PyCon US 2012

This tutorial introduces programmers with a basic Python skills to the concepts and techniques of event driven programming. The focus is on understanding an event loop and handling the events related to TCP connections. Twisted is introduced as a re-usable event loop implementation and the abstract concepts of event driven programming are related to specific uses of the Twisted library.

  • What is event driven programming
  • What is it an alternative to
  • What are its advantages
  • How does an event loop work
  • Build one step by step to demonstrate
  • Demonstrate a server which can handle many clients
  • Demonstrate a client which can run in the same event loop
  • Demonstrate timed events in the event loop
  • How are event handlers connected to form a program
  • Callback functions
  • Deferreds
  • Generator tricks - inlineCallbacks
  • Coroutines - stackless, corotwine
  • More

About the speaker

This person is speaking at this event.
Jean-Paul Calderone

Next session in D3

1:20pm Graph Analysis from the Ground Up by Van Lindberg

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!

When

Time 9:00am12:20pm PST

Date Wed 7th March 2012

Short URL

lanyrd.com/spbwk

Official session page

us.pycon.org/…e/presentation/362/

View the schedule

Topics

See something wrong?

Report an issue with this session