python initialization