[Top][All Lists]

[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: Tue, 28 May 2019 00:21:02 -0400

On Tue, May 28, 2019 at 12:05 AM Doug Stewart <address@hidden> wrote:

On Mon, May 27, 2019 at 11:29 PM Mike Miller <address@hidden> wrote:
Hi Doug,

On Mon, May 27, 2019 at 18:44:22 -0400, Doug Stewart wrote:
> What pkg do I need to get pyeval and pyexec to work?

You are looking for the Pythonic package.


Thanks Mike
DASCertificate for 206392

I am trying to do
python_cmd('import  smtplib,  ssl')
and then latter do:

python_cmd('context = ssl.create_default_context()')
but it says that there is no ssl

error: Python exception: NameError: name 'ssl' is not defined
    occurred at line 1 of the Python code block:
    context = ssl.create_default_context()
error: called from
    python_cmd at line 179 column 7
    pythcmds at line 11 column 1

when I do it in python it all works. I was just trying to get it to work from octave.
I tried 
pyexec('import  smtplib,  ssl')
and this does not work.

DASCertificate for 206392

reply via email to

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