Error Handling In Python Example Codes