You are here: Workspace Basics > User Interface Reference > Workspace Navigator > Workspace Parameters > FME_BEGIN_PYTHON and FME_END_PYTHON

FME_BEGIN_PYTHON and FME_END_PYTHON

Dependencies

An FME installation includes a Python interpreter, which is used by default for all Python processing. FME ships with Python version 2.7. The FME Objects Python API supports Python 2.5 to 2.7.

To choose a different Python interpreter for FME, locate the interpreter's DLL file and follow these steps:

  • Select Tools > FME Options from the menu bar.
  • Select the Runtime icon.
  • Under Python Interpreter, check Use Custom Python Interpreter.
  • Browse to the location of the Python DLL you wish to use (for example, python26.dll).
  • Click OK to save your changes.

Note: For examples, see Startup and Shutdown Python and Tcl Scripts