Added keyboard to the python front end