[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pytave: adding exec and eval commands
From: |
Colin Macdonald |
Subject: |
Re: pytave: adding exec and eval commands |
Date: |
Fri, 11 Mar 2016 00:26:10 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
On 10/03/16 12:02, Mike Miller wrote:
> FYI, I have a clone of pytave on bitbucket, would you consider making
> yours a fork of mine and rebasing your changes on that? You can then
> submit PRs there if you like that interface.
Ok, I hope I've done so...
> The direction I think makes sense *eventually* is to treat all Python
> objects as first class objects in Octave, whether they're "things" or
> "callables", versus the quick hacks I was playing with last year to
> evaluate objects vs function calls.
Sounds good to me: I can do `py.exec(str)` where `str` is a long string
of python code.
(Future code in Symbolic might be written differently but for now its
just strings of python code).
Colin