Ok, makes sense - just slipped same one line if: action bit of code inside a function, and worked fine.
Stay well Jacob Kruger Blind Biker Skype: BlindZA "Roger Wilco wants to welcome you...to the space janitor's closet..." ----- Original Message ----- From: Skip Montanaro To: Jacob Kruger Cc: Python Sent: Thursday, December 25, 2014 7:45 PM Subject: Re: If One Line > Actually more that in the interpreter, it's prompting me with ... as if I had left out a closing ) or something, but, suppose it could work fine in an actual imported bit of code? That's how it's supposed to work. Given that Python block structure is determined by indentation, you need some way to tell the interactive interpreter that the block is ended. Skip
-- https://mail.python.org/mailman/listinfo/python-list