IBM SPSS Statistics 28 Python Reference Guide

This document is a Python reference guide for IBM SPSS Statistics 28. It introduces Python integration package, Python syntax rules, Python functions and classes.


IBM SPSS Statistics 28 Python Reference Guide - cover page
Brand
IBM
Category
Other software
Document type
Programming Manual
Language
English
Pages
269
File format
PDF
File size
1.8 MB
Published
29 November, 2023
Updated
29 November, 2023
MD5 checksum
071B4A1973808559CFEEF03AB9647DEA

About this manual

This guide applies to version 28, release 0, modification 0 of IBM SPSS Statistics and describes the IBM SPSS Statistics Integration Plug-in for Python. It covers two interfaces: the Python Integration Package, for working with command syntax, variable dictionary information, case data, and procedure output, and the Scripting Facility, for working with user interface and output objects.

The guide explains Python program blocks, syntax rules, multiple versions, working directories, running IBM SPSS Statistics from an external Python process, and localizing output. It also documents Python functions and classes, the scripting class hierarchy, pivot tables, remote server management, and several appendices. The plug-in is included with IBM SPSS Statistics Essentials for Python, which includes Python 3.9.

What's inside

  • Overview
  • Python Integration Package
  • Working with Python Program Blocks
  • Python Syntax Rules
  • Python Functions and Classes
  • Scripting Guide
  • SpssClient Class
  • Pivot Tables
  • Managing Remote Servers
  • Appendix F. Python Extension Commands for SPSS Statistics

Specifications

Product version28, release 0, modification 0
Included Python versionPython 3.9
Supported operating systemsWindows, Linux, macOS, and UNIX for IBM SPSS Statistics Server
Default Python distribution locationPython3 directory under the SPSS Statistics installation directory
Programming interfacesPython Integration Package and Scripting Facility

Frequently asked questions

What two interfaces does the Integration Plug-in for Python provide?

The Python Integration Package, which works with command syntax, data, and output, and the Scripting Facility, which works with user interface and output objects.

What Python version is included with Essentials for Python?

Python 3.9 is included with Essentials for Python on all supported operating systems.

How are IBM SPSS Statistics commands used inside a Python program block?

They are expressed as character strings, typically with spss.Submit, because standard commands are not recognized directly by Python inside the block.

Where is the default Python 3.9 distribution installed?

It is installed to the Python3 directory under the directory where SPSS Statistics is installed.

Download PDF (1.8 MB)

More IBM Manuals


View all IBM manuals →