Re: [O] Suppressing interpeter output in code blocks

2013-06-06 Thread Eric Schulte
Michael Steeves writes: > On 6/6/13 12:04 PM, Eric Schulte wrote: >> Michael Steeves writes: >>> Is there any way to suppress all the extra text, and just get the >>> "Hello, world." string as my output? >>> >> >> #+begin_src python :session testing >> a = 1 >> b = 2 >> c = a + b >> "Hello, wor

Re: [O] Suppressing interpeter output in code blocks

2013-06-06 Thread Michael Steeves
On 6/6/13 12:04 PM, Eric Schulte wrote: > Michael Steeves writes: >> Is there any way to suppress all the extra text, and just get the >> "Hello, world." string as my output? >> > > #+begin_src python :session testing > a = 1 > b = 2 > c = a + b > "Hello, world." > #+end_src > > #+RESULTS: > : H

Re: [O] Suppressing interpeter output in code blocks

2013-06-06 Thread Eric Schulte
Michael Steeves writes: > Apologies if this is documented somehere, but I haven't been having much > luck in trying to find the answer to this. > > If I have an org doc with some python code in it > > #+begin_src python :session testing :results output > a = 1 > b = 2 > c = a + b > print "Hello,

[O] Suppressing interpeter output in code blocks

2013-06-05 Thread Michael Steeves
Apologies if this is documented somehere, but I haven't been having much luck in trying to find the answer to this. If I have an org doc with some python code in it #+begin_src python :session testing :results output a = 1 b = 2 c = a + b print "Hello, world." #+end_src when I evaluate the block