How could I get the database message returned from Sybase in python script?

Wang King <[email protected]> Tue, 8 Nov 2005 17:18:36 +0800
Newsgroups gmane.comp.python.sybase
Message-ID <[email protected]>
HI,everyone:
I'd install the  Sybase Module for python successful,but I don't know
how to get the database message returned from Sybase.For example,I
execute sql "SELECT * FROM TABLE_NOEXIST",I want to get the message
from database like "TABLE_NOEXIST not found...."but not
"Sybase.DatabaseError".

I'm  jackeroo for python.So please give an example for this problem.

Thanks.