Re: Wrapping statements in Python in SPSS

2012-12-28 Thread alankrinsky
I think 396 just comes from the end of the Python loop, without indicating which line in the loop is at issue. Here is the full code from this section of the loop: for ( msr, brk, dmn, src, dspd1, dspd2, dspd3, dspd4, dspd5, dspd6, dspd7, dspd8, dspd9, dspd10, dspd11, dspd12, period1,

Re: Wrapping statements in Python in SPSS

2012-12-28 Thread alankrinsky
Chris, I tried placing in the format you suggested and received this error message: END PROGRAM. Traceback (most recent call last): File "", line 396, in ValueError: incomplete format key On Friday, December 28, 2012 11:10:10 AM UTC-5, Chris Angelico wrote: > On Sat, D

Wrapping statements in Python in SPSS

2012-12-28 Thread alankrinsky
I am working with Python looping in SPSS. What are the limits for the for var1, var2, var3 in zip(Variable1, Variable2, Variable3): statement in the Python looping function within SPSS? I am getting an error message, I presume because of wrapping or length. Imagine the above statement, but exp