Quote:
Originally Posted by yecam
Actually, I am running version 2.6.1
Python 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)] on win32
|
Oh, hilarity. Anyway, the line in question is definitely not a comment ('with' is now syntax which was tested in Python 2.5 and made non-optional in 2.6), and I'm also suspicious of the exact error -- are you sure you don't have a version of Python 2.5 kicking around which is taking precedent? Even if not, 2.6.1 is a kind of old version of Python 2.6 -- I'd try upgrading. If *that* doesn't work, try re-downloading via the pastie-page "download" link.