Salome HOME
[PY3] 2to3 results
[modules/smesh.git] / doc / salome / examples / quality_controls_ex02.py
index c2fc56f86496d9019bba127d76a8956c74932049..8b6be1c73015e1c7e4427ef23e001d20f6011ad5 100644 (file)
@@ -33,14 +33,14 @@ aFilter = smesh.GetFilter(SMESH.EDGE, SMESH.FT_MultiConnection, SMESH.FT_EqualTo
 anIds = mesh.GetIdsFromFilter(aFilter)
 
 # print the result
-print "Criterion: Borders at multi-connections Nb = ", len(anIds)
+print("Criterion: Borders at multi-connections Nb = ", len(anIds))
 j = 1
 for i in range(len(anIds)):
-  if j > 20: j = 1; print ""
-  print anIds[i],
+  if j > 20: j = 1; print("")
+  print(anIds[i], end=' ')
   j = j + 1
   pass
-print ""
+print("")
 
 # create a group
 aGroup = mesh.GetMesh().CreateGroup(SMESH.EDGE, "Borders at multi-connections")