emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Fwd: run python from org, draft


From: Andreas Röhler
Subject: Re: [O] Fwd: run python from org, draft
Date: Fri, 29 Mar 2013 21:15:11 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130307 Thunderbird/17.0.4

Am 29.03.2013 20:59, schrieb Gary Oberbrunner:
On Fri, Mar 29, 2013 at 11:09 AM, Eric Schulte <address@hidden>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

[Prev in Thread] Current Thread [Next in Thread]