some learning for the python