Debugging tip:
Tracebacks are stacked—last error is the root cause, and the rest is the call history.
The `File "<path>", line X` line is in python what tells you where error occurred.
For big projects, `logging.debug()` can help track down weird issues.
Also, `icecream` (`pip install icecream`) is a fun alternative to `print()` debugging.
Tracebacks are stacked—last error is the root cause, and the rest is the call history.
The `File "<path>", line X` line is in python what tells you where error occurred.
For big projects, `logging.debug()` can help track down weird issues.
Also, `icecream` (`pip install icecream`) is a fun alternative to `print()` debugging.
