If you want to use FEFLOW as a module I suggest to write a Python script. Here is one way how you can import FEFLOW as a module in your script:
[font=courier][color=blue] sys.path.append('C:\\Program Files\\DHI\\2017\\FEFLOW 7.1\\bin64')
import ifm
[/color][/font]
In case you use FEFLOW 7.0 you have to use another path: [font=courier][color=blue] sys.path.append('C:\\Program Files\\DHI\\2016\\FEFLOW 7.0\\bin64') [/color][/font]
The same is valid for FEFLOW 6.2: [font=courier][color=blue] sys.path.append('c:\\program files\\wasy\\feflow 6.2\\bin64')[/color][/font]
Alternatevly, you may also work with environment variables.