Debugging Python Script Example Code