Variable attributes are, of course, variable specific, so you have to know the variable name that owns the attribute. You might be able to use file attributes instead.
Otherwise, you could iterate over the variable index and find the attributes for each variable via spss.GetVarAttributeNames.
Otherwise, if you have a list of candidate variables, you could capture the output of DISPLAY ATTRIBUTES with OMS and parse through that.
------------------------------
Jon Peck
------------------------------