|
From: | Karl Voit |
Subject: | [O] Mixing Python2 and Python3 blocks in one file |
Date: | Sun, 8 May 2016 10:31:03 +0200 |
User-agent: | slrn/pre1.0.0-18 (Linux) |
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: 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] |