prettyprint

Print list/dict/tuple object prettily
Download

prettyprint Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Matsumoto Taichi
  • Publisher web site:
  • http://github.com/taichino/

prettyprint Tags


prettyprint Description

Print list/dict/tuple object prettily prettyprint is a Perl module that privides pretty printing for list/dict/tuple python object.Simple example of usage is followings >>> from prettyprint import pp >>> target = >>> print target # what a ugly print especially in japanese >>> pp(target) # now we can see pretty print with pp >>> target_dict = {'order': {'en':'pretty print', 'ja':'綺麗に出力せよ'}} >>> print target_dict # what a hell again {'order': {'en': 'pretty print', 'ja': '綺麗に出力せよ'}} >>> pp(target_dict) # pp again { "order": { "en": "print prettily", "ja": "綺麗に出力せよ" } } Requirements: · Python


prettyprint Related Software