Function: org-babel-python--setup-session
org-babel-python--setup-session is a byte-compiled function defined in
ob-python.el.gz.
Signature
(org-babel-python--setup-session)
Documentation
Babel Python session setup code, to be run once per session.
Function should be run from within the Python session buffer.
This is often run as a part of python-shell-first-prompt-hook,
unless the Python session was created outside Org.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ob-python.el.gz
(defun org-babel-python--setup-session ()
"Babel Python session setup code, to be run once per session.
Function should be run from within the Python session buffer.
This is often run as a part of `python-shell-first-prompt-hook',
unless the Python session was created outside Org."
(python-shell-send-string-no-output org-babel-python--def-format-value)
(setq-local org-babel-python--initialized t))