Am 29.03.2013 20:59, schrieb Gary Oberbrunner:
On Fri, Mar 29, 2013 at 11:09 AM, Eric Schulte <schulte.e...@gmail.com>wrote:


Because of quirks of the python language, when executing outside of a
session, it is necessary to explicitly specify a return.
...

This is clearly stated in the Python documentation on Worg.
http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-python.html


... which I just wrote!  Glad it's already useful! :-)


Ah, thanks a lot! Really helpful.

Apropos for

subtypes:

    raw: value is inserted directly

may you give some example there, how to write them?

I think in any case you will need my recent patch if you want to use
session mode.


IIUC it's addressed resp. implemented already w/
993e3ee6215764f122b62cc9c949299b50e1eb22
org-babel-python-with-earmufs

However, ob-python should not fix python-modes but read them... use them...

Anyway, glad to see it's moving,

Andreas

If testing is holding up application of my patch, I can test it on Linux
and Mac.



Reply via email to