From mboxrd@z Thu Jan 1 00:00:00 1970 From: Puneeth Chaganti Subject: Re: strange behavior with org-babel python Date: Tue, 12 May 2015 08:50:09 +0530 Message-ID: References: <801AAE40-718A-46D4-A16D-5A0BEDB510ED@ur.rochester.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ys0kD-0002i4-56 for emacs-orgmode@gnu.org; Mon, 11 May 2015 23:20:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ys0kB-0005N7-UL for emacs-orgmode@gnu.org; Mon, 11 May 2015 23:20:33 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:32935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ys0kB-0005Mq-IF for emacs-orgmode@gnu.org; Mon, 11 May 2015 23:20:31 -0400 Received: by wief7 with SMTP id f7so100845388wie.0 for ; Mon, 11 May 2015 20:20:30 -0700 (PDT) In-Reply-To: <801AAE40-718A-46D4-A16D-5A0BEDB510ED@ur.rochester.edu> 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: "Doyley, Marvin M." Cc: "emacs-orgmode@gnu.org" On Tue, May 12, 2015 at 6:37 AM, Doyley, Marvin M. wrote: > Hi there, > > 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") 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. [1] - https://github.com/punchagan/dot-emacs/blob/master/punchagan.org#python-customizations [2] - https://lists.gnu.org/archive/html/emacs-orgmode/2014-03/msg00405.html [3] - http://emacs.stackexchange.com/questions/3859/working-setup-for-ipython-in-babel Hope that helps, Puneeth