]> SALOME platform Git repositories - modules/smesh.git/blobdiff - doc/salome/examples/modifying_meshes_ex21.py
Salome HOME
[PY3] 2to3 results
[modules/smesh.git] / doc / salome / examples / modifying_meshes_ex21.py
index 650d998e5e8014792c80e71f53add61d01bffefb..e9afc8e485a08eb6c6e69a1a6697b07d41b9b252 100644 (file)
@@ -28,8 +28,8 @@ GroupSmooth = mesh.GroupOnGeom(face, "Group of faces (smooth)", SMESH.FACE)
 
 # boolean SmoothObject(Object, IDsOfFixedNodes, MaxNbOfIterations, MaxAspectRatio, Method)
 res = mesh.SmoothObject(GroupSmooth, [], 20, 2., smesh.CENTROIDAL_SMOOTH)
-print "\nSmoothing ... ",
-if not res: print "failed!"
-else:       print "done."
+print("\nSmoothing ... ", end=' ')
+if not res: print("failed!")
+else:       print("done.")
 
 salome.sg.updateObjBrowser(True)