|
From: | Karl Voit |
Subject: | Re: [O] Mixing Python2 and Python3 blocks in one file |
Date: | Sun, 8 May 2016 17:13:13 +0200 |
User-agent: | slrn/pre1.0.0-18 (Linux) |
* Karl Voit <address@hidden> wrote: > Hi! > > 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: Correct links: http://article.gmane.org/gmane.emacs.orgmode/47878 > ... file-variables to choose interpretor http://article.gmane.org/gmane.emacs.orgmode/47955 > ... 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] |