Update: Try and use iPython Notebox instead….makes this stuff easy by default :)
Need to have a ‘pretty’ version of a dictionary, in PHP I would use:
but in python……?
import pprint pp = pprint.PrettyPrinter(indent=4) pp.pprint(thing)
All the info you need: Pretty Print