View Single Post
Posts: 38 | Thanked: 16 times | Joined on Dec 2009
#118
I'm testing my wings on this coding stuff (never done anything apart from some crude command line C++ programs) and with my luck on the <20 lines I wrote I already managed to use syntax that apparently isn't supported in the Python version found on N900.

It's mentioned in the Python documentation that the "with ... as ... :" statement (recommended for reading files) should be available in Python 2.5, but apparently "the with statement is only allowed when the with_statement feature has been enabled.". Can I somehow enable that feature or should I just change it to something else?