spss.IsDistributedMode Function (Python)

spss.IsDistributedMode(). Indicates whether IBM® SPSS® Statistics is in distributed mode. The result is Boolean—True if SPSS Statistics is in distributed mode, False otherwise. The IsDistributedMode function always returns False when an external Python process is controlling the SPSS Statistics backend.

Example

import spss
if spss.IsDistributedMode():
   print("SPSS Statistics is in distributed mode")
else:
   print("SPSS Statistics is not in distributed mode")