Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ease-dev] Include js script from within python EASE

Thanks for the reply Christian,

Is there a way I can pass parameters to the second script?

Vahid

On Wed, Sep 25, 2019 at 4:11 AM Christian Pontesegger <christian.pontesegger@xxxxxx> wrote:
Hi Vahid,


> I would like to know if/how it is possible to include a _javascript_
> EASE script from a python EASE script so I can later call its
> functions.

This is not possible as different script interpreters are used to
execute the code. The best you could do is spawn another script engine
from python and wait for its execution result. The 'Scripting' module
provides all necessary functions.

Christian
_______________________________________________
ease-dev mailing list
ease-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/ease-dev

Back to the top