GiD 16.1.2d developer will include a Tcl package called tohil that provides ways to exchange data and execute code between the Python and Tcl interpreters.
The documentation of tohil is at https://flightaware.github.io/tohil-docs/
A python interpreter (initial version 3.10.5) will be included inside this package and some common modules
numpy 1.23.3 : efficient use of arrays
matplotlib 3.6.1 : to plot graphs
meshio 5.4.3 : to convert between several mesh formats
h5py 3.7.0 : to read/write HDF5 scientific data format
netCDF4 1.6.1 : to read/write netCDF4 scientific data format
debugpy 1.6.3 : to allow debug of Python from VSCode editor in case of embedded Python interpreter
Note: It is possible to install more Pyhton modules using the pip standard way of python (pip install <module>)
<GiD>\scripts\tohil\python\scripts\pip.exe
modules will be located at
<GiD>\scripts\tohil\python\lib\site-packages
Note: probably must run pip in a console opened in Windows ‘as administrator’ (otherwise Windows doesn’t allow to copy the files if GiD is installed in ‘Program files’ as usual). In Linux do it as ‘sudo’