Inserting-embedding some html data at the end of a .py file

Lele Gaifax lele at metapensiero.it
Thu Mar 7 10:22:09 CET 2013


Νίκος Γκρ33κ <nikos.gr33k at gmail.com> writes:

> I did read about print but i'm interesetd to see and its not mentioned there how
>
> 	except MySQLdb.Error, e:
> 		print ( "Query Error: ", sys.exc_info()[1].excepinfo()[2] )
>
> is supposed to be written as in Python v3.x

Read better:
http://docs.python.org/release/3.0.1/whatsnew/3.0.html#changed-syntax
4th (bullet) point.

ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele at metapensiero.it  |                 -- Fortunato Depero, 1929.




More information about the Python-list mailing list