|
From: | William Henney |
Subject: | Re: [O] Mixing Python2 and Python3 blocks in one file |
Date: | Tue, 17 May 2016 09:24:32 -0500 |
Python2 and Python3 are two different languages. Unfortunately,
Org-mode only uses ~#+BEGIN_SRC python~ for both and uses
python-shell-interpreter to choose/switch the compiler.
Shouldn't Org-mode introduce ~#+BEGIN_SRC python2~ and ~#+BEGIN_SRC
python3~ to solve this issue in a clean way?
~#+BEGIN_SRC python~ can still default to python2.
I only found those sources/solutions:
http://thread.gmane.org/gmane.emacs.orgmode/47867
... file-variables to choose interpretor
http://thread.gmane.org/gmane.emacs.orgmode/47867
... workaround with #+srcname (I don't get yet)
--
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
> get Memacs from https://github.com/novoid/Memacs <
https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github
[Prev in Thread] | Current Thread | [Next in Thread] |