Salome HOME
Merge Python 3 porting.
[modules/smesh.git] / doc / salome / examples / quality_controls_ex05.py
index bf6d7fa4c4f44b960c5307f3918356c879ebf29e..1ec552f752896f40d3c7bccc26f7ab1a2742cc2d 100644 (file)
@@ -42,13 +42,13 @@ aGroup = mesh.CreateEmptyGroup(SMESH.NODE, "Free_nodes")
 aGroup.Add(anNodeIds)
 
 # print the result
-print "Criterion: Free nodes Nb = ", len(anNodeIds)
+print("Criterion: Free nodes Nb = ", len(anNodeIds))
 j = 1
 for i in range(len(anNodeIds)):
-  if j > 20: j = 1; print ""
-  print anNodeIds[i],
+  if j > 20: j = 1; print("")
+  print(anNodeIds[i], end=' ')
   j = j + 1
   pass
-print ""
+print("")
 
 salome.sg.updateObjBrowser()