From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: Using Org and eev together - problem with source blocks Date: Sun, 10 Nov 2019 11:39:30 +0100 Message-ID: <87zhh4ypzx.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55282) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTkd7-0003zz-Mq for emacs-orgmode@gnu.org; Sun, 10 Nov 2019 05:39:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iTkd6-0004hN-Lm for emacs-orgmode@gnu.org; Sun, 10 Nov 2019 05:39:37 -0500 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:33074) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iTkd5-0004hB-9m for emacs-orgmode@gnu.org; Sun, 10 Nov 2019 05:39:36 -0500 Received: by mail-lj1-x229.google.com with SMTP id t5so10721021ljk.0 for ; Sun, 10 Nov 2019 02:39:35 -0800 (PST) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Eduardo Ochs Cc: Alan Schmitt , Org Mode On 2019-11-10 at 02:54 +01, Eduardo Ochs wrote... > #+BEGIN_SRC python > def square (x): > return x*x > > print(square(5)) > #+END_SRC > > [...] when I run the Python block with C-c C-c I always get a results > block like this (without the indentation): > > #+RESULTS: > : None > > What am I doing wrong? I expected an output of "25"... =( Adding ":output results" makes this work for me, but I'm not using emacs24. -k.