#+Title: Python Sessions Works with an un-named session. #+begin_src python :session x = 1 + 2 x #+end_src #+RESULTS: : 3 #+begin_src python :session x #+end_src #+RESULTS: : 3 Works with a named session. #+begin_src python :session foo x = 9 x #+end_src #+RESULTS: : 9 #+begin_src python :session foo x #+end_src #+RESULTS: : 9 Notice that the un-named session still has the desired value. #+begin_src python :session x #+end_src #+RESULTS: : 3