Salome HOME
[PY3] 2to3 results
[modules/smesh.git] / doc / salome / examples / filters_ex29.py
index b4a454ad72eb0ed3a2a8983031e2da958e4c9fa3..e6b817a4c27d9e8c226d120e4aa68bd058e5f617 100644 (file)
@@ -5,4 +5,4 @@ from SMESH_mechanic import *
 # get all faces which lie on the cylindrical face \a sub_face1
 filter = smesh.GetFilter(SMESH.FACE, SMESH.FT_BelongToCylinder, sub_face1)
 ids = mesh.GetIdsFromFilter(filter)
-print "Number of faces which lie on the cylindrical surface sub_face1:", len(ids)
+print("Number of faces which lie on the cylindrical surface sub_face1:", len(ids))