From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Stanton Subject: Extraneous output from Python code blocks using :session option Date: Tue, 10 Mar 2015 20:38:25 -0700 Message-ID: <1931A590-8B23-4412-86C7-F3571EC466FF@haas.berkeley.edu> Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVXTe-0007fA-UA for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 23:38:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVXTa-00039S-OX for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 23:38:34 -0400 Received: from mail-pd0-f175.google.com ([209.85.192.175]:45093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVXTa-000391-IW for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 23:38:30 -0400 Received: by pdjy10 with SMTP id y10so7502019pdj.12 for ; Tue, 10 Mar 2015 20:38:29 -0700 (PDT) Received: from [10.0.0.13] (c-50-136-135-172.hsd1.ca.comcast.net. [50.136.135.172]) by mx.google.com with ESMTPSA id z4sm3225617pdi.90.2015.03.10.20.38.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Mar 2015 20:38:27 -0700 (PDT) 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: emacs-orgmode@gnu.org I'm trying to use the :session option so I can import modules, etc., = just once at the beginning of my document, like with am IPython = notebook. Unfortunately, the output from these code blocks contains some = extraneous characters. For example: #+BEGIN_SRC python :session :results output a =3D 2 b =3D 3 c =3D 4 print 'a=3D ', a print 'b =3D ', b print 'a + b =3D ', a+b #+END_SRC #+RESULTS: :=20 : >>> >>> a=3D 2 : b =3D 3 : a + b =3D 5 How can I stop the production of all those ">" signs (sometimes they're = dots), which don't appear if I run the same code block without the = :session option? Thanks. Richard Stanton=