We have set up the hardware that will be used along this chapter. Now, let's develop our application to give it some life.
Assuming that you retrieved the whole project in your local directory, simply go to the server_1
directory and open matrixServer.py
.
Looking at the code parts, some prerequisites must be followed for both the server and client sides.
For the server, you can use the following command:
sudo pip install twisted
Alternatively, you can use the following line:
Install python-twisted
For the client part, you'll need to install the Python environment according to your operating system from https://www.python.org/downloads/.
The code that we'll use here is compatible with both the 2.7 and 3 versions.
Additionally, you'll need a twisted matrix, which you can retrieve with this command:
pip install twisted
Alternatively, you can obtain the one for your operating system from https://twistedmatrix...