[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.
- [O] Fwd: Fwd: run python from org, draft, (continued)
- Re: [O] Fwd: run python from org, draft, John Hendy, 2013/03/29
- Message not available
- [O] Fwd: Fwd: run python from org, draft, Gary Oberbrunner, 2013/03/29
- Re: [O] Fwd: run python from org, draft, John Hendy, 2013/03/29
- Re: [O] Fwd: run python from org, draft, Eric Schulte, 2013/03/29
- Re: [O] Fwd: run python from org, draft, Eric Schulte, 2013/03/29
- Re: [O] Fwd: run python from org, draft, Andreas Röhler, 2013/03/29
- Re: [O] Fwd: run python from org, draft, Andreas Röhler, 2013/03/29
- Re: [O] Fwd: run python from org, draft, Gary Oberbrunner, 2013/03/29
- Re: [O] Fwd: run python from org, draft,
Andreas Röhler <=
- Re: [O] Fwd: run python from org, draft, Eric Schulte, 2013/03/29
- Re: [O] Fwd: run python from org, draft, Gary Oberbrunner, 2013/03/29
- Re: [O] Fwd: run python from org, draft, Eric Schulte, 2013/03/29