I have a list of of values and would like to print it in such a way that after a certain number of elements pprint
forces a new line. I'm working with a dynamic data set and it's not possible to predict what the width of each new desired line will be. The elements themselves are exclusively strings and represent a boolean value. This is the desired effect:
[ o x x x o
x o x x x
x x o x o
x o x o x
x x x x o ]