Skip to main content

Hi there,

 

I have a python script that I want to run on FME2019 desktop. I tried to google it but unfortunately, couldn't able to hold any link that explains how to run Python script. Could anyone point me to the relatively easy to follow the link that explains how to run Python script?

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.


Reply