core python