From 15ea7ae5edb9caf40a8094bd43906c83c7b46df9 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Fri, 14 Aug 2009 18:31:02 -0600 Subject: [PATCH] added small example of raw python output --- org-babel.org | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/org-babel.org b/org-babel.org index 7aeabff58..b578f3114 100644 --- a/org-babel.org +++ b/org-babel.org @@ -2945,6 +2945,19 @@ Whereas I was hoping for | 2 | | 3 | +*Note*: to generate the above you can try using the new =raw= results +header. + +#+begin_src python :results value raw +'|'+'|\n|'.join(map(str, range(4)))+'|' +#+end_src + +#+resname: +| 0 | +| 1 | +| 2 | +| 3 | + This is now working, it doesn't return as a table because the value returned is technically a string. To return the table mentioned above try something like the following.