Part VI. Programming SPSS with Python and Scripts

Programming SPSS with Python and Scripts

In this part. . .

If you've always wanted to boss a computer around in more than one language, you can write commands using the Python programming language and include them among the Command Syntax statements. The result is the same as if you had written Command Syntax, but Python is a more modern and flexible language. If you think you might want to become a computer nerd, this is the way to go.

And you can use scripting — programming in either Python or Sax BASIC — to create programs that execute automatically. (Careful, though — this can be pretty impressive. When your friends start to bring you jelly doughnuts to crunch their numbers, be gracious.)

Get SPSS For Dummies®, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.