python 2.5 on Macintosh
I'm using pyton 2.5 on Mac OS 10.5.8 and get the following:
rod$ python do_harvest.py ../harvest.py:219: Warning: 'with' will become a reserved keyword in Python 2.6 Traceback (most recent call last): File "do_harvest.py", line 48, in <module> import harvest File "../harvest.py", line 219 with open(error_file, 'w') as efile: ^ SyntaxError: invalid syntax
I'm not a python expert, and updating python in this environment isn't an option. Any ideas?