From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Doyley, Marvin M." Subject: Re: strange behavior with org-babel python Date: Tue, 12 May 2015 09:10:54 +0000 Message-ID: <33B7FA77-0D9F-44D9-AC34-742E57406AC4@ur.rochester.edu> References: <801AAE40-718A-46D4-A16D-5A0BEDB510ED@ur.rochester.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ys6j0-0000w0-Vj for emacs-orgmode@gnu.org; Tue, 12 May 2015 05:43:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ys6iw-0006qU-Va for emacs-orgmode@gnu.org; Tue, 12 May 2015 05:43:42 -0400 Received: from mail-bl2on0128.outbound.protection.outlook.com ([65.55.169.128]:19102 helo=na01-bl2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ys6iw-0006qK-RD for emacs-orgmode@gnu.org; Tue, 12 May 2015 05:43:38 -0400 In-Reply-To: Content-Language: en-US Content-ID: <9F9581AA2A032F48A8D45D048E25E659@namprd07.prod.outlook.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: Puneeth Chaganti Cc: "emacs-orgmode@gnu.org" Thanks, this works when I use :session, but I don=92t get any results when I am not running a session.=20 Doy you know why this is the case? Cheers, M On May 11, 2015, at 11:20 PM, Puneeth Chaganti wrote: > On Tue, May 12, 2015 at 6:37 AM, Doyley, Marvin M. > wrote: >> Hi there, >>=20 >> If run the follow codes I get the following, could someone explain to me= what is going wrong > [snip] >> PS in .emacs, I have (setq org-babel-python-command "ipython --no-banner= --classic --no-confirm-exit") >=20 > To reliably paste code blocks into IPython, you will have to use > %cpaste magic command. See any of these links[1][2][3] for code you > can reuse. >=20 > [1] - https://github.com/punchagan/dot-emacs/blob/master/punchagan.org#py= thon-customizations > [2] - https://lists.gnu.org/archive/html/emacs-orgmode/2014-03/msg00405.h= tml > [3] - http://emacs.stackexchange.com/questions/3859/working-setup-for-ipy= thon-in-babel >=20 > Hope that helps, > Puneeth