Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Execnet for Icy, basic example
from icyexecnetgateway import IcyExecnetGateway
# setups a remote python interpreter and returns the associated gateway
with IcyExecnetGateway() as gateway:
# print some text in the remote interpreter
# it will be sent to Icy and printed in the console output of Icy's Script Editor
gateway.remote_exec("""print "Hello from remote Python" """)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment