set number and disable python mode