Community

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

  RSS

soujanyabargavi
(@soujanyabargavi)
New Member
Joined: 3 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?


ReplyQuote
Topic Tags
cl4ptp
(@cl4ptp)
New Member
Joined: 5 months ago
Posts: 4
10/01/2019 6:39 pm  

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.


ReplyQuote
Share:
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.

OK
  
Working

Please Login or Register