emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Strange python output using session


From: Richard Stanton
Subject: [O] Strange python output using session
Date: Mon, 10 Sep 2012 14:08:34 -0700

I get an extra blank item plus some strange formatting on my output when I use 
the :session key in a python source block. Here's a simple example showing the 
problem:

---------------

* Examples

#+BEGIN_SRC python :results output
print "hello"
print "bye"
print 2
#+END_SRC

#+RESULTS:
: hello
: bye
: 2

#+BEGIN_SRC python :results output :session
print "hello"
print "bye"
print 2
#+END_SRC

#+RESULTS:
: 
: hello
: >>> bye
: >>> 2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]