Salome HOME
Merge Python 3 porting.
[modules/smesh.git] / doc / salome / examples / modifying_meshes_ex21.py
index a6d108bc2e4c865772ce152acf0c75fed8fa5c63..a2b92a9f9015419f7f2cff1e00e84c8a8f4ecf9d 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()