r/pythontips • • Mar 24 '21

Python3_Specific How to debug in Python?

Please share some tips about the title.

32 Upvotes

38 comments sorted by

View all comments

1

u/thecoolking Mar 24 '21

This is a great question. I use SAS a lot and it prints out all the errors, warnings and notes to a log. Python being more of a interpreted language rather than a compiled language does not have the feature. Using a jupyter notebook can help sometimes because every line can be split into a cell. Not so sure about thousands of lines though.

3

u/[deleted] Mar 24 '21

Jupyter notebooks are crutches unless you're a data analyst. Then they're more like prosthetics than crutches.