on-internet
← Community

PrettyPrinter - Print output on separate lines from the start and end bracket

Stack Overflow ·

Using something like: pp = pprint.PrettyPrinter(indent=4, width=...).pprint Current output of pp(my_list): [ 1, 2, 3] Desired output: [ 1, 2, 3 ] How might this be done?

Comments

Sign in or sign up to comment and upvote.

No comments yet.