adding the generic python call