...
Python print to file
To debug Python code it is always possible to print data of variables to a file, with something like this:
...
then the debugger will be stopped in our break point and can inspect variables, etc.
...
...
Python show text with W
If pyhton is running in GiD then can call the Tcl GiD procedure called W that show text in a window
...
will show a GiD window with the value of the variable a
...
Python force reload a file
Using our Tcl command GiD_Python_Import_File
(that do tohil::import)
will import a module in Python,
...