use print() - import print_function - should be fine for both py2 and py3
[nepi.git] / examples / openvswitch / ovs_ping_2_switches.py
index 84c28d0..a28bef2 100644 (file)
@@ -33,6 +33,8 @@
 # $ PYTHONPATH=$PYTHONPATH:src/ python examples/openvswitch/ovs_ping_2_switches.py -n "192.168.3.0/24" -C "1.1.1.1" -s <slicename> -i /~/.ssh/id_rsa
 #
 
+from __future__ import print_function
+
 from nepi.execution.ec import ExperimentController
 
 import os
@@ -202,5 +204,4 @@ stdout = ec.trace(app, "stdout")
 # Delete the overlay network
 ec.shutdown()
 
-print stdout
-
+print(stdout)