Ken Mankoff writes:
> Hi Sebastian,
>
> Thanks for your help. I was running with "-Q" but must have been
> making some other mistakes. It does work.
>
> As for your other email... I do know several tangles can go to the
> same file. And I may be using <> incorrectly, but I'm using it
> for the
Hi Sebastian,
Thanks for your help. I was running with "-Q" but must have been making some
other mistakes. It does work.
As for your other email... I do know several tangles can go to the same file.
And I may be using <> incorrectly, but I'm using it for the following
reasons:
1) I'd like to
I wrote:
> [..]
>
> Please try it with emacs -Q. Maybe your config is broken.
After starting emacs -Q you will have to
M-x customize-variable RET org-babel-load-languages
and add Python as a loaded language.
Ken Mankoff writes:
> On 2019-10-06 at 21:52 +02, Sebastian Miele
> wrote...
>> I wrote:
>>
>>> [..]
>>>
>>> However, something like the following may suit your use case. (For the
>>> header-args property see section 15.2 (Using Header Arguments) of the
>>> manual.)
>>>
>>> * A Heading
>>> :P
Ken Mankoff writes:
> Hi Sebastian,
>
> I'm not getting the results I expect from your MWE either. Perhaps I
> gave too much code and asked X when what I really want is Y. I think
> I've distilled it to this:
>
> What is the most elegant Org way to get a table into a Python array?
I do not kno
On 2019-10-06 at 21:52 +02, Sebastian Miele wrote...
> I wrote:
>
>> [..]
>>
>> However, something like the following may suit your use case. (For the
>> header-args property see section 15.2 (Using Header Arguments) of the
>> manual.)
>>
>> * A Heading
>> :PROPERTIES:
>> :header-args: :var tabl
Hi Sebastian,
I'm not getting the results I expect from your MWE either. Perhaps I gave too
much code and asked X when what I really want is Y. I think I've distilled it
to this:
What is the most elegant Org way to get a table into a Python array?
I can code it directly:
#+BEGIN_SRC python
<>
I wrote:
> [..]
>
> However, something like the following may suit your use case. (For the
> header-args property see section 15.2 (Using Header Arguments) of the
> manual.)
>
> * A Heading
> :PROPERTIES:
> :header-args: :var table=table_foo
> :END:
>
> #+NAME: table_foo
> | foo |
> |-|
> |
Hi Ken!
Ken Mankoff writes:
> I'm having with noweb and variables. Can someone explain what I'm
> doing wrong? For example, if I have this table:
>
> #+NAME: table_foo
> | foo |
> |-|
> | 42 |
> | 100 |
>
> And I want to import it into Python and use it, I can do that like this:
>
> #+NAME:
Hi Org list,
I'm having with noweb and variables. Can someone explain what I'm doing wrong?
For example, if I have this table:
#+NAME: table_foo
| foo |
|-|
| 42 |
| 100 |
And I want to import it into Python and use it, I can do that like this:
#+NAME: import
#+BEGIN_SRC python :var table
10 matches
Mail list logo