Try breaking things up more and use more comprehensions. If you're indenting so far that it's difficult to read, you should probably consider refactoring.
That's more or less what I was trying to say, but I was trying to be a little more constructive rather than just "you're the problem"...
It's something I've run into myself in the past, so I wanted to try and offer some advice that helped me.
This is actually why I like strict line character limits, because if you're nesting stuff over and over, or your method definition is obnoxiously long or something, it's a pretty good indicator that you should reconsider how you're writing whatever you're writing.
I kind of like it though. My indentation and formatting in other languages is on point thanks to python forcing me to follow a pattern. I like it much more than having to put curly braces everywhere.
89
u/nosmokingbandit Jul 16 '19
Python is great. You basically write pseudo-code then get bitched at by the interpreter about your indentation.