emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Arne Babenhauserheide <arne_bab@web.de>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Wish: babel for python3
Date: Sat, 15 Oct 2011 20:52:36 +0200	[thread overview]
Message-ID: <1641361.izftS2FJEB@fluss> (raw)
In-Reply-To: <87ipnq6r0b.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 878 bytes --]

Hi Eric, 

Can I then still use babel for python 2.x? I need it for both, because I have 
python3 and python2 projects. 

Best wishes, 
Arne

Am Samstag, 15. Oktober 2011, 12:36:52 schrieb Eric Schulte:
> 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 <arne_bab@web.de> writes:
> > Hi,
> > 
> > I’d love to have babel for python3.
> > 
> > My first shot at it would just be ob-python.el with each mention of
> > python replaced by python3, but I hope that there is a more elegant
> > way…
> > 
> > Is there a way to get python3 support for Babel into org-mode cleanly?
> > 
> > Best wishes,
> > Arne

--
Ein Würfel System - einfach saubere Regeln: 

- http://1w6.org


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

  reply	other threads:[~2011-10-15 18:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-14 14:42 Wish: babel for python3 Arne Babenhauserheide
2011-10-15 18:36 ` Eric Schulte
2011-10-15 18:52   ` Arne Babenhauserheide [this message]
2011-10-15 20:09     ` Thomas S. Dye
2011-10-15 20:29       ` Arne Babenhauserheide
2011-10-18  8:56         ` Torsten Wagner
2011-10-18 12:13           ` Rasmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1641361.izftS2FJEB@fluss \
    --to=arne_bab@web.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).