Re: Any restriction on network in jython scripts?


Randall Wood <rhwood@...>
 

Those will either “just work” or not work at all. You can only python modules that have no native code dependencies (i.e. are “pure Python”) or have been provided by the Jython runtime. I don’t know if those two modules are pure Python or have or have not been provided by the Jython project.

Randall

On Jul 20, 2020, at 11:43, emmanuel ALLAUD <eallaud@...> wrote:

Hi all,

I would like to use a jython script which implements a small server on. Is is possible to import socket and select in jython?

TIA

Manu



Join jmri@jmri-developers.groups.io to automatically receive all group messages.