[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] asynchronous python code blocks in org-mode
From: |
Karl Voit |
Subject: |
Re: [O] asynchronous python code blocks in org-mode |
Date: |
Mon, 30 Nov 2015 12:38:48 +0100 |
User-agent: |
slrn/pre1.0.0-18 (Linux) |
* John Kitchin <address@hidden> wrote:
> Hi everyone,
Hi John!
> 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!
Found the link to your video + blog on Twitter. On the weekend, I
watched it with big eyes and tried your code on my side as well:
great work!
> 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.
I'm loving it.
I'd love to see this async method for shell script as well. Many
shell snippets I am using do take some time: backup, audio
conversion, bulk image conversion, ...
1) How big is the chance that we're going to see async babel block
execution by default in a future org-mode release?
2) In the meantime: Wouldn't it be nice to have additional
source-block definitions like python + apython (for asynchronous
python) or sh + ash?
--
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
> get Memacs from https://github.com/novoid/Memacs <
https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github