From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Wish: babel for python3 Date: Sat, 15 Oct 2011 12:36:52 -0600 Message-ID: <87ipnq6r0b.fsf@gmail.com> References: <87y5wntz12.fsf@yahoo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RF96S-0003kV-5N for emacs-orgmode@gnu.org; Sat, 15 Oct 2011 14:37:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RF96Q-0000JE-Gy for emacs-orgmode@gnu.org; Sat, 15 Oct 2011 14:37:00 -0400 Received: from mail-pz0-f47.google.com ([209.85.210.47]:36979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RF96Q-0000JA-BQ for emacs-orgmode@gnu.org; Sat, 15 Oct 2011 14:36:58 -0400 Received: by pzd13 with SMTP id 13so4028656pzd.6 for ; Sat, 15 Oct 2011 11:36:56 -0700 (PDT) In-Reply-To: <87y5wntz12.fsf@yahoo.de> (Arne Babenhauserheide's message of "Fri, 14 Oct 2011 16:42:49 +0200") 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: arne_bab@web.de Cc: emacs-orgmode@gnu.org Hi Arne, I think you can simply add the following to your configuration to use python3 as your python executable. (setq org-babel-python-command "python3") Best -- Eric Arne Babenhauserheide writes: > Hi,=20 > > I=E2=80=99d love to have babel for python3.=20 > > My first shot at it would just be ob-python.el with each mention of pytho= n replaced by python3, but I hope that there is a more elegant way=E2=80=A6= =20 > > Is there a way to get python3 support for Babel into org-mode cleanly? > > Best wishes,=20 > Arne > --=20 Eric Schulte http://cs.unm.edu/~eschulte/