python wraper for the modo commands