PageRenderTime 7ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/docs/source/tutorial/003.py

https://bitbucket.org/prologic/circuits/
Python | 10 lines | 5 code | 4 blank | 1 comment | 0 complexity | ff037de6a75c4da643316556623d64a7 MD5 | raw file
 1#!/usr/bin/env python
 2
 3from circuits import Component
 4
 5class MyComponent(Component):
 6
 7    def started(self, *args):
 8        print("Hello World!")
 9
10MyComponent().run()