Skip to main content
Question

Running Python script Step by step

  • January 27, 2020
  • 4 replies
  • 1793 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?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

becchr
Influencer
Forum|alt.badge.img+32
  • Influencer
  • 107 replies
  • 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

 


  • Author
  • 30 replies
  • January 28, 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

 

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
  • 275 replies
  • January 28, 2020

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+56
  • Safer
  • 2554 replies
  • 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.