MySQLdbd error. Perhpas it isn't installed?

Νίκος Γκρ33κ nikos.gr33k at gmail.com
Wed Mar 27 14:27:00 EDT 2013


=>  187                 print ( "Query Error: ", sys.exc_info()[1].excepinfo()[2])

excepinfo is probably mis-spelled---I have no idea what you intend.l


Python3 raised exceptions in an except: clause giving the double exception message that I don't think you'd have seen in python2. Maybe the purpose is to help novice python programmers who haven't learned to make try: except: clause trap a specific statement looking for specific Errors.

Maybe this line which iuses to work in python 2.6 doesnt in python 3.2.3 ?

do i have to switch it to soemthing else?



More information about the Python-list mailing list