use built-in python mode