Fair warning, the way that exception block is written won't work in python3

Python 3.2.3 (default, Jun  8 2012, 05:36:09) 
[GCC 4.7.0 20120507 (Red Hat 4.7.0-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> try:
...    raise ValueError("foo")
... except ValueError,e:
  File "<stdin>", line 3
    except ValueError, e:
                     ^
SyntaxError: invalid syntax