Variable: org-babel-python--exec-tmpfile

org-babel-python--exec-tmpfile is a variable defined in ob-python.el.gz.

Value

"with open('%s') as __org_babel_python_tmpfile:\n    exec(compile(__org_babel_python_tmpfile.read(), __org_babel_python_tmpfile.name, 'exec'))"

Documentation

Template for Python session command with output results.

Has a single %s escape, the tempfile containing the source code to evaluate.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-python.el.gz
(defconst org-babel-python--exec-tmpfile "\
with open('%s') as __org_babel_python_tmpfile:
    exec(compile(__org_babel_python_tmpfile.read(), __org_babel_python_tmpfile.name, 'exec'))"
  "Template for Python session command with output results.

Has a single %s escape, the tempfile containing the source code
to evaluate.")