In old version we just put the scripts in C:\\apps\\FME\\Python if we need to get them in Python Caller.
How do we do it in the new versions
Thanks
In old version we just put the scripts in C:\\apps\\FME\\Python if we need to get them in Python Caller.
How do we do it in the new versions
Thanks
Sorry for the delay.
In previous version we could use a python script that is stored on disk and not within the Python caller.
We just needed to put the script in some location so the caller will find it.
It is easier for us to manage the scripts this way.
Is it possible in the newest version - I could not find it in the doc's.
Thanks
Hi @modybuch , I think this folder is what you are looking for. Replace {username} with actual Windows user name.
C:\\Users\\{username}\\Documents\\FME\\Plugins\\Python
The Python interpreter bundled in FME considers this folder as the root directory for external Python modules by default.
Hi Takashi
Where do I put the files if the server is running under Local System?
Thanks
Hi Takashi (or anybody else)
Is there a way to do it or you must run the server under a "real" user?
Thanks
Hi Takashi (or anybody else)
Is there a way to do it or you must run the server under a "real" user?
Thanks
If you run the workspace with FME Server, save your Python script into this resource folder, through FME Server Web Interface.
Resources > Engine > Plugins > Python