Skip to content

Instantly share code, notes, and snippets.

@tlecomte
Last active December 14, 2015 12:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tlecomte/5090728 to your computer and use it in GitHub Desktop.
Save tlecomte/5090728 to your computer and use it in GitHub Desktop.
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