/
Using Python in GiD
GiD - The personal pre and post processor
Using Python in GiD
GiD uses Tcl/Tk as scripting language and to create its GUI
Python is another scripting language, with simplier syntax, better support for data types, and very popular ( with lots of extra features implemented as modules)
Thus, it is very interesting to allow to call Python code from within GiD, and to interact with GiD, asking data or doing actions, and this is now possible using the tohil
package.
- Now, it is possible to re-use our current Python code in GiD without re-writting it in Tcl language.
- Lots of Python modules can be used to expand the current possibilities of GiD, (e.g. numpy, scipy, TensorFlow, matplotlib, ...).
- Developer users with experience in Python are able develop code without learning Tcl language (just the minimum to call Python code).
- Python-based GiD-problemtypes and plugins become self-contained and will use a known Python version (i.e. no need to globally install Python or use any other incompatible version).
Related content
Running Python as external process
Running Python as external process
More like this
From GiD's command line ( matplotlib example )
From GiD's command line ( matplotlib example )
More like this
Running Python inside GiD
Running Python inside GiD
More like this
Install more Python packages
Install more Python packages
Read with this
Tohil Python package
Tohil Python package
More like this
Python's IDLE shell in GiD
Python's IDLE shell in GiD
Read with this
COPYRIGHT © 2022 · GID · CIMNE