From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: asynchronous python code blocks in org-mode Date: Fri, 20 Nov 2015 11:52:18 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zzov9-0005cc-KE for emacs-orgmode@gnu.org; Fri, 20 Nov 2015 11:52:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zzov6-0007ud-Bh for emacs-orgmode@gnu.org; Fri, 20 Nov 2015 11:52:23 -0500 Received: from mail-qg0-x233.google.com ([2607:f8b0:400d:c04::233]:33331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zzov6-0007uU-86 for emacs-orgmode@gnu.org; Fri, 20 Nov 2015 11:52:20 -0500 Received: by qgea14 with SMTP id a14so76747868qge.0 for ; Fri, 20 Nov 2015 08:52:19 -0800 (PST) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" Cc: Rebecca Taylor Hi everyone, I worked out some ideas on running Python blocks asynchronously in org-mode, while seeing the output of the code, /and/ still capturing the output in org-mode! The post is here: http://kitchingroup.cheme.cmu.edu/blog/2015/11/20/Asynchronously-running-python-blocks-in-org-mode/ It seems to work pretty well as a proof of concept, but the present approach has some limitations, e.g. no sessions, no src-block :var, and maybe others. These might be fixable at some point. Anyway, I thought I would share it, to see if anyone has thoughts on it, and in case it looks useful to you. -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu