P
Peng Yu
I don't see any different between the following code in terms of
output. Are they exactly the same ('as' v.s. ',')?
try:
raise IOError('IOError')
except IOError as e:
print e
try:
raise IOError('IOError')
except IOError, e:
print e
output. Are they exactly the same ('as' v.s. ',')?
try:
raise IOError('IOError')
except IOError as e:
print e
try:
raise IOError('IOError')
except IOError, e:
print e