init_py function

'python' environment initialization