From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Oberbrunner Subject: Re: Fwd: run python from org, draft Date: Fri, 29 Mar 2013 15:59:48 -0400 Message-ID: References: <5154BC51.1050001@easy-emacs.de> <5155A97D.2090907@easy-emacs.de> <87sj3e6y5n.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b86f4a29f9b7204d915b64b Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULfSr-0008D0-4r for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 15:59:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULfSn-0003sM-Hm for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 15:59:53 -0400 Received: from mail-pb0-f52.google.com ([209.85.160.52]:44906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULfSn-0003sD-BR for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 15:59:49 -0400 Received: by mail-pb0-f52.google.com with SMTP id ma3so384933pbc.25 for ; Fri, 29 Mar 2013 12:59:48 -0700 (PDT) In-Reply-To: <87sj3e6y5n.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: emacs-orgmode --047d7b86f4a29f9b7204d915b64b Content-Type: text/plain; charset=ISO-8859-1 On Fri, Mar 29, 2013 at 11:09 AM, Eric Schulte 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! :-) I think in any case you will need my recent patch if you want to use session mode. If testing is holding up application of my patch, I can test it on Linux and Mac. -- Gary --047d7b86f4a29f9b7204d915b64b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable



On Fri, Mar 29, 2013 at 11:09 AM, Eric Schulte &l= t;schulte.eric@= 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/languag= es/ob-doc-python.html

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

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

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

--
Gary
--047d7b86f4a29f9b7204d915b64b--