emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-babel and python3


From: Rasmus
Subject: Re: [O] org-babel and python3
Date: Wed, 10 Aug 2011 16:48:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

henry atting <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]