Hot answers tagged

1

From within org-edit-special, I found that you can evaluate a highlighted region by running python-shell-send-region (which should default to C-c C-r). As for evaluating an single line, I wrote my own function, python-shell-send-line, which I load from init.el: ;; Add a function to send a single line to the Python console (defun python-shell-send-line () (...


1

What worked for me was: (add-hook 'python-mode-hook (lambda () (kill-local-variable 'eldoc-documentation-function)))


Only top voted, non community-wiki answers of a minimum length are eligible