python add arg -e to turn motor on/off, add real time motor control support using arrow keys