I think it is useful to save personalised template scripts for the PythonCaller transformer.
Now, the template script looks like this:
import fme import fmeobjects # Template Function interface: def processFeature(feature): pass # Template Class Interface: class FeatureProcessor(object): def __inti__(self): pass def input(self, feature): self.pyoutput(feature): def close(self): pass
Personally, I always add e.g. the line,
logfile = fmeobjects.FMELogFile()
and almost never use the template function.
Other FME-users might e.g. want to use by default:
import math
Therefore, I think it is usefull that any FME-user can save his own, personalised, template PythonCaller scripts.



