spss.GetDataFileAttributes Function (Python)
spss.GetDataFileAttributes(attrName). Returns the attribute values, as a tuple,
for the specified datafile attribute. The argument attrName is a string that specifies the name
of the attribute--for instance, a name returned by GetDataFileAttributeNames
.
Example
# Build a Python dictionary of the datafile attributes
import spss
attrDict = {}
for name in spss.GetDataFileAttributeNames():
attrDict[name] = spss.GetDataFileAttributes(name)