Νίκος Γκρ33κ <nikos.gr...@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. l...@metapensiero.it | -- Fortunato Depero, 1929. -- http://mail.python.org/mailman/listinfo/python-list