Ivar Fredholm writes:
> At this point, Babel calls org-babel-execute:python, which decides, based on
> the 'session' header, whether or not to call python3 tmp_code.py or to feed
> each line in tmp_code.py into the session interpreter. What I am wondering is
> if we could replace the code for
Hi, Tim,
Let's say in your example that we are executing Python cells with the same
session. When you execute block 1, the routines in org-babel-execute-src-block
process the code into something that can be inserted into a file (say
'tmp_code.py') and be run from the command line with python3 tm
Ivar Fredholm writes:
> I have been browsing the orgmode code and it feels like we have to do a lot
> to implement sessions. At least for Python
> or Julia, I am wondering if we could instantiate an interpreter, and send the
> code as a single 'exec' or 'include'
> command. Other languages li
I have been browsing the orgmode code and it feels like we have to do a lot to
implement sessions. At least for Python or Julia, I am wondering if we could
instantiate an interpreter, and send the code as a single 'exec' or 'include'
command. Other languages like R and groovy also have facilitie