configure the python mode
fist time