¡@

Home 

python Programming Glossary: error.code

cx_Oracle and Exception Handling - Good practices?

http://stackoverflow.com/questions/7465889/cx-oracle-and-exception-handling-good-practices

except cx_Oracle.DatabaseError as e error e.args if error.code 1017 print 'Please check your credentials.' # sys.exit else.. except cx_Oracle.DatabaseError as e error e.args if error.code 955 print 'Table already exists' if error.code 1031 print Insufficient.. e.args if error.code 955 print 'Table already exists' if error.code 1031 print Insufficient privileges are you sure you're using..