initial robot opcode python port