0
在org-mode
,如果我執行我的第一個命令就是這樣,如何防止顯示交互式python shell的頭部結果?
#+BEGIN_SRC python :session :results output
t = [1,2,3]
print(t)
#+END_SRC
我獲得
#+RESULTS:
: Python 2.7.12 (default, Jul 1 2016, 15:12:24)
: [GCC 5.4.0 20160609] on linux2
: Type "help", "copyright", "credits" or "license" for more information.
: >>> python.el: native completion setup loaded
: [1, 2, 3]
如何簡單地得到:
#+RESULTS:
: [1, 2, 3]
注意,如果我再次C-c C-c
,消息消失(現在存在sinc ethe過程)。