From mboxrd@z Thu Jan 1 00:00:00 1970 From: Evan Misshula Subject: Re: Fwd: run python from org, draft Date: Fri, 29 Mar 2013 15:04:00 -0400 Message-ID: References: <5154BC51.1050001@easy-emacs.de> <5155A97D.2090907@easy-emacs.de> <87sj3e6y5n.fsf@gmail.com> <5155B346.3060708@easy-emacs.de> <87ehey6upd.fsf@gmail.com> <5155C611.5000104@easy-emacs.de> <871uayrvju.fsf@gmail.com> <87boa2qbuv.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d044306aa15595504d914ef8a Return-path: Received: from eggs.gnu.org ([208.118.235.92]:32978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULeaq-0003pj-3G for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 15:04:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULean-00026q-H0 for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 15:04:04 -0400 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:49975) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULean-00026f-9O for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 15:04:01 -0400 Received: by mail-wi0-f178.google.com with SMTP id ez12so135545wid.5 for ; Fri, 29 Mar 2013 12:04:00 -0700 (PDT) In-Reply-To: <87boa2qbuv.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 --f46d044306aa15595504d914ef8a Content-Type: text/plain; charset=ISO-8859-1 It works exactly as advertised for me. Many thanks!! On Fri, Mar 29, 2013 at 2:50 PM, Eric Schulte wrote: > > > > But it does not appear to support named session: > > > > Works with a named session. > > #+begin_src python :session foo > > x = 9 > > x > > #+end_src > > > > #+RESULTS: > > : None > > > > #+begin_src python :session foo > > x > > #+end_src > > > > #+RESULTS: > > > > Thanks, > > > > Evan > > > > Thanks for reporting this, I've just pushed up a fix, please let me know > if the problem persists. > > Best, > > -- > Eric Schulte > http://cs.unm.edu/~eschulte > -- Evan Misshula Doctoral Student (Criminal Justice) CUNY John Jay "Let us reform our schools, and we shall find little reform needed in our prisons." John Ruskin, Unto This Last, essay 2 (1862) English critic, essayist, & reformer (1819 - 1900) "Instruction does much, but encouragement does everything." Johann Wolfgang Von Goethe www.snrg-nyc.org --f46d044306aa15595504d914ef8a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
It works exactly as advertised for me.=A0 Many thanks!!


On Fri= , Mar 29, 2013 at 2:50 PM, Eric Schulte <schulte.eric@gmail.com&g= t; wrote:
>
> But it does not appear to support named session:
>
> Works with a named session.
> #+begin_src python :session foo
> =A0 x =3D 9
> =A0 x
> #+end_src
>
> #+RESULTS:
> : None
>
> #+begin_src python :session foo
> =A0 x
> #+end_src
>
> #+RESULTS:
>
> Thanks,
>
> Evan
>

Thanks for reporting this, I've just pushed up a fix, please let = me know
if the problem persists.

Best,



--
Evan Misshu= la
Doctoral Student (Criminal Justice)
CUNY John Jay
"Let us = reform our schools, and we shall find little reform needed in our prisons.&= quot;
=A0 =A0 =A0 =A0John Ruskin, Unto This Last, essay 2 (1862)
=A0 =A0 =A0 = =A0English critic, essayist, & reformer (1819 - 1900)

"Inst= ruction does much, but encouragement does everything." Johann Wolfgang= Von Goethe
www.snrg-nyc.org
--f46d044306aa15595504d914ef8a--