I find myself doing this in pdb quite often:
import pprint
pprint.PrettyPrinter().pprint(variable_of_interest)
Is there a better way to pretty-print variables from pdb? I'm looking for something easier to type, and ideally something that's always available in pdb so I can use it anytime I'm debugging.