Eric,
>> On Mon, 05 Sep 2011 11:35:37 -0600, Eric Schulte said:
> Hi Myles, The `org-babel-python-command' variable is used to decide
> which python executable is used to run non-interactive python code.
> Session evaluation is performed using the interactive python mode
> defined in the `org-babel-python-mode' variable.
The distinction had not occurred to me and of course it should have.
> From there the selected interactive python back-end is responsible
> for all python interaction and you would want to look at the
> relevant documentation for that tool to find out how to specify
> which flavor of python is used.
So for python-mode, the value of py-python-command decides the python
version:
(setq org-babel-python-command "python2"
org-babel-python-mode 'python-mode
py-python-command "python2"
)
> Hope this helps -- Eric
It did, thank you very much.
Myles