COnfiguring python mode.