* Another way to pass an argument to Python. * Alternative to http://www.spsstools.net/Python/PassAnArgumentToPython.sps. * Omit the following line if using the Production Facility. define @param () "Coming from SPSS or even outside SPSS (using stats.com -symbols)" !enddefine. datafile attribute attribute = argv(@param). begin program. import spssaux arg = spssaux.getAttributesDict()["argv"] print "--->", arg #This is just to check that Python got parameter as expected end program.