Getting started with circuits

Getting started quickly with circuits. An ASCIInema tutorial!

Here’s a quick ASCIInema tutorial I put together to show you how to get started with the circuits Asynchronous Event-Driven Application Framework for Python.

The code in this tutorial is as follows:

from circuits import Component, Event

class hello(Event):
    "hello Event"""

class App(Component):

    def hello(self, name="World!"):
        print "Hello {0:s}".format(name)
        return "Hello {0:s}".format(name)


Come join us on #circuits on the FreeNode IRC Network