Inspect Program Flow with IceCream
While debugging, one often writes many π½πΏπΆπ»π() statements to inspect the program's flow. This is especially true when we have many IF conditions.
Using empty πΆπ°() statements from the IceCream library can be a better alternative here. It outputs many additional details that help in inspecting the flow of the program.
This includes the line number, the name of the function, the file name, etc.
Read more in my Medium Blog: Link.
I like to explore, experiment and write about data science concepts and tools. You could connect with me on LinkedIn.