emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Fwd: run python from org, draft


From: Gary Oberbrunner
Subject: [O] Fwd: run python from org, draft
Date: Fri, 29 Mar 2013 08:11:53 -0400

[sorry, forgot to "reply all" -- Gary]

---------- Forwarded message ----------
From: Gary Oberbrunner <address@hidden>
Date: Thu, Mar 28, 2013 at 10:43 PM
Subject: Re: [O] run python from org, draft
To: Andreas Röhler <address@hidden>


Does this assume org-babel-python-mode is set to 'python-mode?  The default is 'python, I believe.  I don't think you should unconditionally call py-send-string-return-output like that.

Also, why would you avoid calling org-babel-python-evaluate?  Where in your patch would it account for the setting of session, result-type or result-params?



On Thu, Mar 28, 2013 at 5:55 PM, Andreas Röhler <address@hidden> wrote:
Hi,

as running python from org-source has been reported broken,
herewith a patch, which allows basic usage.

Requires python-mode.el-6.1

https://launchpad.net/python-mode/trunk/6.1.1/+download/python-mode.el-6.1.1.tar.gz

Just a draft, not thought as implementation,

Andreas



--
Gary



--
Gary

reply via email to

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