Uwe Brauer via "General discussions about Org-mode."
<emacs-orgmode@gnu.org> writes:

> #+NAME: many-cols
> | a | b | c |
> | d | e | f |
> | g | h | i |
>
> #+NAME: hline-please
> #+BEGIN_SRC python :var tab=many-cols :hlines yes
> return tab
> #+END_SRC
>
> #+RESULTS: hline-please
> | a | b | c |
> | d | e | f |
> | g | h | i |
>
> Works, but I also hoped that I could use python to add hlines to table
> without hline, but alas it does not work!

:hlines controls filtering ---- from input. It does nothing about code
block output.

More specifically, ":hlines no" takes care about removing hlines from
the input. ":hlines yes" does not perform any filtering.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to