Set shiftround for python code