Menu

Python bridge

2017-12-12
2017-12-12
  • Vincent Doucet

    Vincent Doucet - 2017-12-12

    Hi,
    I'm running DWSIM on Windows.
    As far as I understand I do not need to care about Python to run DWSIM.
    However if I want to play with Python scripts I guess I have to indicate the proper settings in General settings / Other / Python bridge settings (I think there is a copy/paste typo in chapter 6.5.8 of the documentation).
    Which version of Python should I use ? 2.x ? 3.x ? I know both version are quite different and not necessarily compatible.

    Regards,
    Vincent

     

    Last edit: Vincent Doucet 2017-12-12
  • Vincent Doucet

    Vincent Doucet - 2017-12-12

    I think I have found my answer ... either Python 2.7 or IronPython. I'll try with IronPython.

     
  • Daniel Medeiros

    Daniel Medeiros - 2017-12-12

    Yes. DWSIM supports IronPython and Python.NET. The first is integrated, it is part of DWSIM and works better overall. You must switch to the second only if you intend to use an external python package like scipy, numpy, etc... It supports python version 2.7.

     
MongoDB Logo MongoDB