What is the difference between ',' and 'as' in except statements, eg:
except Exception, exception:
except Exception as exception:
The definitive document is PEP-3110: Catching Exceptions
asis required to assign exception to variable.
assyntax, since it is far less ambiguous and forward compatible with Python 3.x.