/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
- #!/usr/bin/env python
- from circuits import Component
- class MyComponent(Component):
- def started(self, *args):
- print("Hello World!")
- MyComponent().run()