[Paraview] resume python script from last position

Favre Jean jfavre at cscs.ch
Fri Jul 26 04:05:11 EDT 2013


you may use for example time, and replacing space with underscore.

import time

view.WriteImage(format("pic_" + time.asctime().replace(" ", "_") + ".png"), "vtkPNGWriter", 1)
-----------------
Jean/CSCS


More information about the ParaView mailing list