emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Strange python output using session
@ 2012-09-10 21:08 Richard Stanton
  0 siblings, 0 replies; only message in thread
From: Richard Stanton @ 2012-09-10 21:08 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-10 21:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-10 21:08 Strange python output using session Richard Stanton

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).