Update robot.py

allows adding to a file