PythonTableViewer
From fmepedia
This transformer displays feature attributes in a table form in the log window.
The transformer allows selecting attributes that will be shown and specify the amount of features (first N features) - outputting big datasets into log window can be quite slow.
The transformer requires that all incoming features have the same schema, and there should be just one PythonTableViewer in a workspace, otherwise the translation will fail.
NOTE that because of a known bug (more than one PythonCaller in a workspace cause translation to fail), if you use this transformer in FME 2009, you have to add some valid Python code into 'Startup Python Script' under 'Workspace Settings' -> 'Advanced', for example:
import pyfme
In FME 2010 this bug is fixed.
I am just a beginner in Python, and this transformer is rather a scripting exercise than a serious thing. During creation of this transformer, I used a lot Oliver's_Python_Corner, which is a great source of information about Python in FME for everyone.
The attached archive contains the transformer, an example workspace, and a MapInfo table used as a source data.
