a prettier one, IMHO.
ok, i admit i was not aware of pprint. :P but if i was, i would not regularly use it and would still write my own. i do think my own is prettier. in version 0.1 the first feature was padding the dictionary names (keys) so the values stacked up straight. sorting them was a later feature.
then i added the features to show string lengths and list element indexes (also helped to see how long a list was). this was to aid debugging (making sure a long string was not too much longer than another).
a lot of what i was using this to debug was stuff that ran in cloud instances i was not logged into (logging to files and maybe later looked at).
maybe others prefer less vertical output? :angel:
ok, i admit i was not aware of pprint. :P but if i was, i would not regularly use it and would still write my own. i do think my own is prettier. in version 0.1 the first feature was padding the dictionary names (keys) so the values stacked up straight. sorting them was a later feature.
then i added the features to show string lengths and list element indexes (also helped to see how long a list was). this was to aid debugging (making sure a long string was not too much longer than another).
a lot of what i was using this to debug was stuff that ran in cloud instances i was not logged into (logging to files and maybe later looked at).
maybe others prefer less vertical output? :angel:
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.