Monday, 5 November 2012

IPython table display tools (updated)

I did the following changes on the IPython display module:

  • If parameter tight is True, it won't use <pre>, __repr() nor textwrapping. Which also means that non ASCII characters are printed as unicode.
  • print_html() knows about html_multi_dict() and will use it, if you pass something like [{'a' : 1}, {'a' : 2}]
  • enc() is now compatible with both python2 and python3
See the original post

No comments:

Post a Comment