hi @muhammad_yasir, the FME-tutorial is a good starting point I guess:
https://knowledge.safe.com/articles/706/python-and-fme-basics.html
hi @muhammad_yasir, the FME-tutorial is a good starting point I guess:
https://knowledge.safe.com/articles/706/python-and-fme-basics.html
To be honest, the above-mentioned tutorials are not a good starting point for beginners. It's very hard to follow and feel disconnect while reading those tutorials.
To be honest, the above-mentioned tutorials are not a good starting point for beginners. It's very hard to follow and feel disconnect while reading those tutorials.
Hi @muhammad_yasir
you might want to take a look at https://knowledge.safe.com/articles/60319/pythoncaller-transformer.html This article explains how to use PythonCaller and provides some examples.
I'd also add that FME does not have a full development environment for Python (or any language), so there's no way you can run a Python script "step by step". Notice, for example, that there is no Run button inside the PythonCaller transformer. You can really only debug using trace statements that get printed to the log.