use print() - import print_function - should be fine for both py2 and py3
[nepi.git] / examples / omf / iminds_omf6_vlc.py
index 1c4d1ce..b312abd 100644 (file)
@@ -45,6 +45,8 @@
 #        - t3 (t2 + 2s) : Kill the application
 #
 
+from __future__ import print_function
+
 from nepi.execution.resource import ResourceAction, ResourceState
 from nepi.execution.ec import ExperimentController
 
@@ -174,7 +176,7 @@ ec.wait_finished([app4, app5])
 
 # Retrieve the bytes transmitted output and print it
 byte_count = ec.trace(app3, "stdout")
-print "BYTES transmitted", byte_count
+print("BYTES transmitted", byte_count)
 
 # Stop Experiment
 ec.shutdown()