I've got a few questions around the use of Python within an FME2017+ process and the possible scenarios.
There seems to be a few ways in which I might need configure some Python to run in FME and I'm trying to understand all of the options. There are quite a few articles on the Knowledge Center but a few are getting a little long in the tooth now and several seem to suggest that things have changed in recent versions of FME and I think that's because there were some fairly significant underlying changes around 2012 or so.
- FME installs a build of Python that allows you to run some scripts. It seems to install 2.7 and 3.4 and 3.5 libraries (as per the Help>Options) but I can only find \\fmepython27 and \\fmepython35. Is 3.4 part of 3.5? Presumably if I use the option 'FME Python 2.7' it's using the FME installed Python interpreter?
- If I wanted to create a Python script that FME and another application like ArcGIS needed to use, presumably I'd need to change the FME options to 'use custom interpreter' and then point it at one that had actually been installed by ArcGIS?
- If I had a really old Python script that I didn't want to upgrade, presumably I could install the old interpreter and again, point FME to the right place using the 'custom interpreter' option?
Have I missed out any scenarios? What about if I wanted to call custom Python libraries or functions that FME hadn't installed. Are the Python libraries that FME installs by default a subset of a much fuller Python installation that I should really consider installing and pointing FME at most of the time, assuming I was going to be doing lots of Python development?
Thanks for the help FME Python Gurus.