Dear all,
I'm trying to use the Python Result Object (CPython interpreter) to define properties (scoping, user-defined inputs) for a custom evaluation algorithm.
I'm having difficulties with defining these properties: if the reload_props function inside is not flawless, it simply won't run and debugging is almost impossible. The only way I know of to export/print some information from the interpreter run is writing messages in the log file using e.g. ExtAPI.Log.WriteMessage("Hello World!") which is a tedious work and makes development painful.
My quiestion is: is there a way to add logging or printing or whatever to redirect the interpreter output to a file so debugging becomes possible?