Can python import the SPSS and SPSSAux libraries and use them to any value outside of the spss context?  


New Member
Joined: 5 months ago
Posts: 1
04/01/2019 5:22 am  

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?

Topic Tags
New Member
Joined: 7 months ago
Posts: 4
10/01/2019 6:39 pm  

This library might help:

Also check out this tutorial:

If that turns out not helpful enough, this question seems better suited for Stack Overflow.

Subscribe to our newsletter

We use cookies to collect information about our website and how users interact with it. We’ll use this information solely to improve the site. You are agreeing to consent to our use of cookies if you click ‘OK’. All information we collect using cookies will be subject to and protected by our Privacy Policy, which you can view here.


Please Login or Register