From 2e09601464610180498160271f4976b8ce055a5d Mon Sep 17 00:00:00 2001 From: JaeYoo-Im Date: Tue, 14 Sep 2021 01:49:47 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=99=8B=20python=20config=20for=20orgmode?= =?UTF-8?q?=20graph?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .emacs.d.vanilla/emacs.org | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.emacs.d.vanilla/emacs.org b/.emacs.d.vanilla/emacs.org index b43522f..f16254e 100644 --- a/.emacs.d.vanilla/emacs.org +++ b/.emacs.d.vanilla/emacs.org @@ -1252,3 +1252,24 @@ using =svlangserver= ;;"--ytdl-format=bestvideo[height<=?720]+bestaudio/best") ;;(message "Starting streaming...")) #+end_src +** Python + +- prequisite +#+begin_src shell + paru -S jupyter python-pip + pip install matplotlib numpy pandas tabulate +#+end_src + +- configuration for emacs table +#+begin_src emacs-lisp + (use-package jupyter + :straight t) + (org-babel-do-load-languages + 'org-babel-load-languages + '((emacs-lisp . t) ;; Other languages + (shell . t) + ;; Python & Jupyter + (python . t) + (jupyter . t))) + (org-babel-jupyter-override-src-block "python") +#+end_src