use print() - import print_function - should be fine for both py2 and py3
[nepi.git] / examples / ns3 / local_csma_p2p_star_ping.py
index 5c2de47..5d7593f 100644 (file)
@@ -17,6 +17,8 @@
 #
 # Author: Alina Quereilhac <alina.quereilhac@inria.fr>
 
+from __future__ import print_function
+
 """ 
 network topology:
   
@@ -181,4 +183,4 @@ stdout = ec.trace(simu, "stdout")
 
 ec.shutdown()
 
-print "PING OUTPUT", stdout
+print("PING OUTPUT", stdout)