Phyton cancel example