Inserting-embedding some html data at the end of a .py file
Roland Koebler
r.koebler at yahoo.de
Thu Mar 7 03:58:13 EST 2013
Hi,
> but now iam receiving this error concering except:
>
> nikos at superhost.gr [~/www/cgi-bin]# /usr/bin/python3 metrites.py
> File "metrites.py", line 88
> except MySQLdb.Error, e:
> ^
> SyntaxError: invalid syntax
> nikos at superhost.gr [~/www/cgi-bin]#
>
> which used to work ok in v2.6.6
>
> can you help?
Python 3 introduced some Python 2-incompatible changes.
So, please read: http://docs.python.org/release/3.0.1/whatsnew/3.0.html
Roland
More information about the Python-list
mailing list