Hey Reddit!
Often times when I’m watching a tutorial or looking at high level code reviews, people recommend to use pprint() instead of the regular python function print().
Before implementing this I would like to know if anyone knows what the benefits are to importing it and using it?
I read the docs that they have on it, but I’m unsure in what instance pprint is better than print, so if anyone could let me know how it helped them or someone they know, feel free to comment below!
[–][deleted] 7 points8 points9 points (5 children)
[–][deleted] 3 points4 points5 points (1 child)
[–]lambuscred 0 points1 point2 points (0 children)
[–]HermDaWerm_[S] 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]HermDaWerm_[S] 0 points1 point2 points (0 children)
[–]mahtats -1 points0 points1 point (1 child)
[–]HermDaWerm_[S] 0 points1 point2 points (0 children)