| Server IP : 217.160.0.212 / Your IP : 216.73.216.15 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/org/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301!\210\300\302!\210\300\303!\210\304\305\306\"\207" [require ob org-macs python add-to-list org-babel-tangle-lang-exts ("python" . "py")] 3)
(defvar org-babel-default-header-args:python nil)
(byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313\314\315&\210\300\316\302\303\317DD\320\312\313\306\307\310\321\314\322&\210\300\323\302\303\324DD\325\312\313\306\307\310\326\314\315&\210\300\327\302\303\330DD\331\312\313\306\307\310\332\314\322&\207" [custom-declare-variable org-babel-python-command funcall function #[0 "\300\207" ["python"] 1 #1=""] "Name of the command for executing Python code." :version "24.4" :package-version (Org . "8.0") :group org-babel :type string org-babel-python-mode #[0 "\300\301!\203 \301\207\302\207" [featurep python-mode python] 2 #1#] "Preferred python mode for use in running python interactively.\nThis will typically be either `python' or `python-mode'." (Org . "8.0") symbol org-babel-python-hline-to #[0 "\300\207" ["None"] 1 #1#] "Replace hlines in incoming tables with this when translating to python." (Org . "8.0") org-babel-python-None-to #[0 "\300\207" [hline] 1 #1#] "Replace `None' in python tables with this before returning." (Org . "8.0")] 12)
#@120 Execute a block of Python code with Babel.
This function is called by `org-babel-execute-src-block'.
(fn BODY PARAMS)
(defalias 'org-babel-execute:python #[514 "\301\236A\206 \302\303\236A!\304\236A\305\236A\211\306=\205! \307\236A\310\236A\311!\312\313\n!#\205D \314\203A \315\202B \316\"P\317 &\320\321\322\f\236A\323
\236A\"\321\324
\236A\325\236A\"#)\207" [org-babel-python-command :python org-babel-python-initiate-session :session :result-params :result-type value :return :preamble org-babel-comint-use-async org-babel-expand-body:generic org-babel-variable-assignments:python format "\n%s" "\nreturn %s" org-babel-python-evaluate org-babel-reassemble-table org-babel-pick-name :colname-names :colnames :rowname-names :rownames] 17 (#$ . 1315)])
#@127 Prepare SESSION according to the header arguments in PARAMS.
VARS contains resolved variable references.
(fn SESSION PARAMS)
(defalias 'org-babel-prep-session:python #[514 "\301!\302!\303!\204 \304\305\"\210\306 \307\310\"\216rq\210\212\311\312\307\313\"\"\210,\210\207" [comint-input-filter org-babel-python-initiate-session org-babel-variable-assignments:python org-babel-comint-buffer-livep error "Buffer %s does not exist or has no process" match-data make-closure #[0 "\301\300\302\"\207" [V0 set-match-data evaporate] 3] #[257 "\300\207" [nil] 2 "\n\n(fn INPUT)"] mapc #[257 "\301\210\211c\210\302 \210\303\300!\207" [V0 1 comint-send-input org-babel-comint-wait-for-output] 3 "\n\n(fn VAR)"]] 9 (#$ . 2113)])
#@51 Load BODY into SESSION.
(fn SESSION BODY PARAMS)
(defalias 'org-babel-load-session:python #[771 "\300 \301\302\"\216\303\"r\211q\210\304\305p!!b\210\306!c\210)\211\262)\207" [current-window-configuration make-closure #[0 "\301\300!\207" [V0 set-window-configuration] 2] org-babel-prep-session:python process-mark get-buffer-process org-babel-chomp] 8 (#$ . 2848)])
#@82 Return a list of Python statements assigning the block's variables.
(fn PARAMS)
(defalias 'org-babel-variable-assignments:python #[257 "\300\301\302!\"\207" [mapcar #[257 "\300\301@\302A!#\207" [format "%s=%s" org-babel-python-var-to-python] 6 "\n\n(fn PAIR)"] org-babel--get-vars] 5 (#$ . 3225)])
#@162 Convert an elisp value to a python variable.
Convert an elisp value, VAR, into a string of python source code
specifying a variable of the same value.
(fn VAR)
(defalias 'org-babel-python-var-to-python #[257 "\211<\203 \301\302\303\304#\305Q\207\211\306=\203 \207\307;\203'