diff --git a/examples/hello.py b/examples/hello.py new file mode 100755 index 0000000..7a0f66a --- /dev/null +++ b/examples/hello.py @@ -0,0 +1,13 @@ +#!/usr/bin/env python +# coding=utf-8 + +from qutescript import userscript + + +@userscript +def hello_world(request): + request.send_to_browser('Hello, world!') + + +if __name__ == '__main__': + hello_world()