py_learning init