I am just being curious about the syntax of python exceptions as I can't seem to understand when you are suppossed to use the syntax below to catch an exception.
try:
"""
Code that can raise an exception...
"""
except Exception as e:
pass
and
try:
"""
Code that can raise an exception...
"""
except Exception, e:
pass
What is the difference?