Error and warning messages are a fact of life when you’re writing code. We’ve spent some time digging into the more common Python error messages to understand why they occur and – more importantly – what you need to do to fix them. Compare your error message to the list below to see what it means.
How To Fix Python Error Message: invalid literal for int() with base 10
Fixing Python Error Message: typeerror: a bytes-like object is required, not ‘str’