Skip to main content
Question

Running Python script Step by step

  • January 27, 2020
  • 4 replies
  • 1490 views

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?

4 replies

becchr
Influencer
Forum|alt.badge.img+25
  • Influencer
  • January 27, 2020

hi @muhammad_yasir, the FME-tutorial is a good starting point I guess:

https://knowledge.safe.com/articles/706/python-and-fme-basics.html

 


becchr wrote:

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.


Forum|alt.badge.img
  • January 28, 2020
muhammad_yasir wrote:

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.


mark2atsafe
Safer
Forum|alt.badge.img+43
  • Safer
  • January 31, 2020

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings