First question: How does one catch the results out of the second code block below?
#+begin_src python :session :results silent
band = "ABBA"
#+end_src
#+begin_src python :session
return band
#+end_src
#+RESULTS:
Running C-c C-c
on both of them consecutively yields to empty results. However they both seem to run properly as there's no error for undefined variable band
in the latter block. For example the code below gives results as expected.
#+begin_src python
return "ABBA"
#+end_src
#+RESULTS:
: ABBA
Secondly, I recall reading somewhere in the documentation that the sessions can be named and run in isolated environments. How does that work? There seems to be no examples of such behaviour.