Robot control with Python