Hello,
Benda Xu <[email protected]> writes:
> Dear All,
>
> The following code block fails:
>
> #+BEGIN_SRC python :results output :session
> for i in (1, 2):
> pass
> print "hey"
> #+END_SRC
>
>
> #+RESULTS:
> :
> : ... ... File "<stdin>", line 3
> : print "hey"
> : ^
> : SyntaxError: invalid syntax
[...]
> Any ideas?
I summarized my understanding of the issues with python sessions here
(the issue you report is #3):
http://thread.gmane.org/gmane.emacs.orgmode/95980/focus=96076
It's on my TODO list to revisit.
--
Kyle