python surgery