kore/examples/python-echo
Joris Vink 66dd856bdc and add the echo.py file of course.. 2021-05-02 16:08:32 +02:00
..
.gitignore echo server example in Python with new async/await. 2018-10-15 20:37:51 +02:00
README.md Simplify the echo example, kore can just run the file nowadays. 2021-05-02 16:07:41 +02:00
echo.py and add the echo.py file of course.. 2021-05-02 16:08:32 +02:00

README.md

Example of using the asynchronous python api to create a simple echo server.

Kore must have been built with PYTHON=1.

On the command-line run the following

$ kore echo.py

Then connect to 127.0.0.1 port 6969 using netcat or so and you'll see it echo back everything you send it.