emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* babel python example not reproducible
@ 2014-06-11  5:11 Shiyuan
  2014-06-11  7:48 ` Doyley, Marvin
  0 siblings, 1 reply; 14+ messages in thread
From: Shiyuan @ 2014-06-11  5:11 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 662 bytes --]

Hi,
     I try to understand the difference of "session" and "non-session" as
in
 http://orgmode.org/manual/Results-of-evaluation.html#Results-of-evaluation
<http://orgmode.org/manual/Results-of-evaluation.html#Results-of-evaluation>

However, I copy-paste the example but have different result. It looks like
that the result contains whatever sent to the interactive shell too. Any
option I need to set to reproduce the same result as in the manual?  I am
using python 2.7.5 + emacs 24.3.9 + orgmode 8.2.6.

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

#+RESULTS:
: print "hello"
: hello
: 2
: 2
: print "bye"
: bye
:
:

[-- Attachment #2: Type: text/html, Size: 1006 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-06-20  5:54 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-11  5:11 babel python example not reproducible Shiyuan
2014-06-11  7:48 ` Doyley, Marvin
2014-06-16  5:59   ` Shiyuan
2014-06-16 12:19     ` Nick Dokos
2014-06-16 14:35     ` Doyley, Marvin
2014-06-16 15:03       ` Eric Schulte
2014-06-16 16:12         ` Doyley, Marvin
2014-06-17  6:21           ` Shiyuan
2014-06-17 11:54             ` Andreas Röhler
2014-06-18 14:02               ` Eric Schulte
2014-06-18 13:59             ` Eric Schulte
2014-06-19  5:57               ` Andreas Röhler
2014-06-19 13:40                 ` Eric Schulte
2014-06-20  5:53                   ` Andreas Röhler

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).