Python core example