From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: org-babel and python3
Date: Wed, 10 Aug 2011 16:48:50 +0200 [thread overview]
Message-ID: <87k4alxqy5.fsf@gmail.com> (raw)
In-Reply-To: 871uwtpdft.fsf@bye.fritz.box
henry atting <nsmp_02@online.de> writes:
> How can I cause org-babel to use python3 instead of python2?
> Emacs (in python-mode) already does it flawlessly with
>
> (setq py-python-command "/usr/bin/python3")
There is a variable:
┏━━━┫ org-babel-python-command ┃
┃
┃ org-babel-python-command is a variable defined in `ob-python.el'. Its
┃ value is "python2"
┃
┃ This variable is potentially risky when used as a file local variable.
┃
┃ Documentation: Name of command for executing python code.
┃
┗━━━
You could change it. I never managed to get Python2/3 working well in
Org-mode,
--
Sent from my Emacs
next prev parent reply other threads:[~2011-08-10 14:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-10 14:07 org-babel and python3 henry atting
2011-08-10 14:48 ` Rasmus [this message]
2011-08-10 15:04 ` henry atting
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=87k4alxqy5.fsf@gmail.com \
--to=rasmus@gmx.us \
--cc=emacs-orgmode@gnu.org \
/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).