The Python stderr Guide I Wish I Had As A Beginner
Is your program throwing a fit but those error messages are lost somewhere in the avalanche of print statements? Let's fix that! Enter stderr - Python's built-in solution for separating your normal program output from your "everything is on fire" messages. Think of your Python program as having two voices: stdout (its inside voice) and stderr (its "EVERYONE PANIC" voice).