Python

Create the project

Make a directory for your application, cd into the directory and then create a file called server.py to contain your application code.

Then, install the Flask, Flask-Sockets and gevent (a networking library that Flask-Sockets depends on) modules:

$ pip3 install Flask gevent Flask-Sockets