The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

Load Another Source Block Into A Python Variable In Emacs Org Mode

TODO: Pull subtitle into page object

This is how you can work on a code block with syntax highlighting and pass it to another code block for direct output

code_start_default_section code_end_default_section
Results
this is a test
and another line

#+begin_example

this is a test and another line

#+end_example

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

Load Another Source Block Into A Python Variable In Emacs Org Mode

-- p

This is how you can work on a code block with syntax highlighting 
and pass it to another code block for direct output

-- code/
-- js

function run(argv) {
    console.log("here 1")
}

-- /code

-- code/
-- python

print('''
<<data1>>
''')

-- /code

-- p

#+begin_example

-- p

function run(argv) {
    console.log("here 1")
}

-- p

#+end_example

-- p

If you're just using text, you can do this

-- p

The birch canoe slid on the smooth planks.
Glue the sheet to the dark blue background.
It's easy to tell the depth of a well.
Rice is often served in round bowls.
The juice of lemons makes fine punch.
The box was thrown beside the parked truck.

-- code/
-- python

print(data)

-- /code

-- results/

The birch canoe slid on the smooth planks.
Glue the sheet to the dark blue background.
It's easy to tell the depth of a well.
Rice is often served in round bowls.
The juice of lemons makes fine punch.
The box was thrown beside the parked truck.

-- /results

-- p

This shows how you can do it with data from the end of a file (or wherever)

-- code/
-- python

print(end_data)

-- /code

-- results/

this is a test
and another line

-- /results

-- p

#+begin_example

-- p

this is a test
and another line

-- p

#+end_example


-- categories
-- Python 
-- Emacs 

-- metadata
-- date: 2022-05-29 15:14:41
-- id: 29qruro3
-- status: scratch
-- type: post
-- SCRUBBED_NEO: false
-- site: aws