Last active
December 14, 2015 12:59
-
-
Save tlecomte/5090728 to your computer and use it in GitHub Desktop.
Execnet for Icy, basic example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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