X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=examples%2Flinux%2Fhello_world.py;fp=examples%2Flinux%2Fhello_world.py;h=2e026b5bd5023bb545f0f397a31fe52c75617f18;hb=039fbd9629d7570d4c175a5448d24badcd0f3aba;hp=424536b35423a0fc7d16181afbf7062cea30ace6;hpb=4118821ed6b57a7a88bf0471aa7ae6acff4187c6;p=nepi.git diff --git a/examples/linux/hello_world.py b/examples/linux/hello_world.py index 424536b3..2e026b5b 100644 --- a/examples/linux/hello_world.py +++ b/examples/linux/hello_world.py @@ -22,6 +22,8 @@ # $ cd # python examples/linux/hello_world.py -a -u -i +from __future__ import print_function + from nepi.execution.ec import ExperimentController from optparse import OptionParser, SUPPRESS_HELP @@ -66,7 +68,7 @@ ec.deploy() ec.wait_finished(app) -print ec.trace(app, "stdout") +print(ec.trace(app, "stdout")) ec.shutdown()