Ask Your Question

ISE's profile - activity

2015-12-06 04:51:53 +0200 received badge  Famous Question (source)
2014-05-09 04:30:55 +0200 received badge  Notable Question (source)
2013-08-09 07:12:28 +0200 received badge  Popular Question (source)
2012-12-20 10:53:50 +0200 marked best answer Sage notebook table output

There is a html.table() command to which you can provide lists of lists and it will display them as a table. For example:

html.table([['header 1', 'header 2', 'header 3'], range(3), range(3, 6)])

If you do this on the command line, you will actually get the raw html output.

2012-12-20 10:53:50 +0200 received badge  Scholar (source)
2012-12-20 10:14:51 +0200 asked a question Sage notebook table output

If I use pretty_print() or view(), I am not able to use visual intendation by tabulation symbols in the notepad.

So, how to make SAGE notebook use HTML tables or similar formatting for its output?

Is there a way to get HTML-code from the pretty-printing commands to use it with normal strings for the output, formatted as I need?

2012-12-20 02:20:52 +0200 received badge  Supporter (source)