Can python import the SPSS and SPSSAux libraries and use them to any value outside of the spss context?
I'm helping my wife try and navigate IBM SPSS and python. She knows SPSS, and I kinda know python -- We might be able to work together. As it stands, I understand that I can call small snippets of python from within an SPSS syntax. While this is useful for looping and conditional branching based on data, it seems a little fuzzy to me. It almost feels like Inversion of Control, but not really.
I was wondering is it possible to have a python script, external to an spss syntax, that can still use the SPSS libraries in any meaningful way, or do I have to keep my scripts confined to the SPSS syntax and runtime?
This library might help: https://pypi.org/project/tableschema-spss/
Also check out this tutorial: https://www.spss-tutorials.com/spss-python-basics/
If that turns out not helpful enough, this question seems better suited for Stack Overflow.