From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Subject: Re: Fwd: run python from org, draft Date: Fri, 29 Mar 2013 21:15:11 +0100 Message-ID: <5155F64F.3040203@easy-emacs.de> References: <5154BC51.1050001@easy-emacs.de> <5155A97D.2090907@easy-emacs.de> <87sj3e6y5n.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULfgT-0006yJ-Mu for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 16:14:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULfgS-0008M4-7m for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 16:13:57 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:51991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULfgR-0008Ln-V8 for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 16:13:56 -0400 In-Reply-To: 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: Gary Oberbrunner Cc: emacs-orgmode , Eric Schulte Am 29.03.2013 20:59, schrieb Gary Oberbrunner: > 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! :-) > 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. >