pip install cx_Oracle
查询表注释
select * from user_col_comments t where 1=1 and t.comments is not null and t.table_name = @TABLE
select * from user_tab_columns t where t.table_name = ‘表名‘
python连接oracle
原文:http://my.oschina.net/chworld/blog/514714