FME Form: 2024.2
Importing Custom Python Modules to FME Flow
If you have a custom python module you need to use on FME Flow that is not part of the Python standard library, use the Upload tool on the Resources page of the FME Flow Web User Interface, and upload it to the folder under Engine\Plugins\python that corresponds to the Python release compatible with the module (for example, python36).
Importing Python Packages
If you want to import a Python package, rather than a stand-alone module, follow this procedure:
- Install the package to FME Form. For more information, see Installing Python Packages to FME Form.
- From the install location, locate the sub-directory that contains the init.pyc and main.pyc files of your package.
- Use the Upload tool on the Resources page of the FME Flow Web User Interface, as described above, and upload the directory containing the corresponding .pyc files of the package.
For more information, see Using Python with FME Flow in the FME Flow documentation.