Initial Python generator/checker