to execute the python script with linux :

create a folder with GUI.py , mbedrpc.py on it.

and execute : python 'path'/'folder'/GUI.py

If you have an error with the serialPort, check where is connect the controller : ls /dev/ttyACM*

If permission is denied, add it with : sudo chmod a+rw,u+rw,o+rw /dev/ttyACM'X'    with 'X'=> name of serialport 