SetDefaultJCVersion Method (Python)
Sets the default version of the IBM® SPSS® Statistics - Integration Plug-in for Python used for Python scripts. This method is useful when working with multiple versions of the plug-in on a given machine (see Note below). The value of the argument is a quoted string or an integer specifying a plug-in version--for example, "SpssClient160" or 160 for version 16.0. You can view the default using the GetDefaultJCVersion method.
- SetDefaultJCVersion also sets the default version of the IBM SPSS Statistics - Integration Plug-in for Python used for Python programs (Python code that utilizes the spss module).
Syntax
SpssClient.SetDefaultJCVersion(version)
Note: The methods for managing multiple versions of the plug-in (SpssClient.GetDefaultJCVersion, and SpssClient.SetDefaultJCVersion) operate within a given Python version, not across Python versions. For example, if you are driving IBM SPSS Statistics from a Python IDE installed for Python 2.6 then you can view and control the versions of the plug-in installed for Python 2.6.
See the topic Working with Multiple Versions of IBM SPSS Statistics (Python) for more information.