From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian P. Luque Subject: Re: Python loops with ":results output" Date: Tue, 21 Feb 2017 14:56:23 -0600 Message-ID: <87zihfxnyg.fsf@otaria.sebmel.org> References: <87vas4p4tx.fsf@otaria.sebmel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgHOL-0007KO-QE for emacs-orgmode@gnu.org; Tue, 21 Feb 2017 15:50:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgHOI-0002z4-MH for emacs-orgmode@gnu.org; Tue, 21 Feb 2017 15:50:33 -0500 Received: from [195.159.176.226] (port=34608 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cgHOI-0002yk-Eg for emacs-orgmode@gnu.org; Tue, 21 Feb 2017 15:50:30 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cgHOA-00018K-6M for emacs-orgmode@gnu.org; Tue, 21 Feb 2017 21:50:22 +0100 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" To: emacs-orgmode@gnu.org On Tue, 21 Feb 2017 08:58:59 -0500, John Kitchin wrote: > On Mon, Feb 20, 2017 at 11:04 PM, Seb wrote: > #+BEGIN_SRC python :session :results output :exports results for i > in range(3):     print("Iter {0}".format(i)) > #+END_SRC > Try using ob-ipython. It doesn't have that issue for me. Thank you; unfortunately, this seems to work with Jupyter/Ipython kernels running as a service, which adds quite an overhead to the workflow. -- Seb