help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I am trying to get pyeval to work.


From: Doug Stewart
Subject: Re: I am trying to get pyeval to work.
Date: Wed, 29 May 2019 15:00:47 -0400



On Wed, May 29, 2019 at 12:17 PM Mike Miller <address@hidden> wrote:
Hi Doug,

On Tue, May 28, 2019 at 17:26:25 -0400, Doug Stewart wrote:
> but this does not work in octave !!!
[…]
> server.starttls(context=context)

You missed a translation step on this line. This is Python keyword
argument syntax, you have to use pyargs in Octave to make this work
every time. Replace that with

    server.starttls (pyargs ("context", context))

and it works for me.

--
mike

Thanks Mike.

Should we try and make a sendmail.m like matlab?



--
DASCertificate for 206392


reply via email to

[Prev in Thread] Current Thread [Next in Thread]