Python programs for the Rebel