Do you want to run the whole DAT or just a specific generalized function in that DAT?
You can use the run() method to run a script in a DAT like this:
You can treat a text DAT as a module with functions like this:
You can also add python extensions as another approach to this challenge. It really comes down to what you're looking to do.
You could read more about python modules in touch here:
https://matthewragan.com/2016/07/12/pyt ... hdesigner/and extensions here:
https://matthewragan.com/2016/07/14/pyt ... hdesigner/Does that help you get started?