In “C-c ‘“ Eglot not supported.
To edit remote use C-x C-f /ssh:sshconfigrecord:
- C-c C-c working on remote
For remote, working in “C-c ‘“ and directly with C-c C-c:
#+begin_src python :dir "/ssh:host:" #+end_src
not supported for remote:
:session s1
But this will require to execute first block fully when you do C-c C-c at second block. Value passed as a string.
print("String value.")
print(vv)
print(vv)
To pass value with structure use dict and JSON format.
import json
print(json.dumps({"x": "String value."}))
import json
print(vv)
vv2 = json.loads(vv)
print(vv2)
{"x": "String value."}
:
{'x': 'String value.'}
print(vv2['x'])
String value.
(let ((default-directory "/ssh:host:/root/"))
(org-babel-eval "python" "import sys; print(sys.path)"))
use: ln -fs /usr/local/bin/python3.11 /usr/bin/python