excise python mode