解决在Pycharm中无法显示代码提示的问题

#coding: utf-8
from cx_Oracle.CURSOR import *
import cx_Oracle

conn= cx_Oracle.connect('XX', 'XX', '127.0.0.1:1521/orcl') #type:cx_Oracle.Connection
c=conn.cursor() #type:Cursor


# x=c.execute('select sysdate from dual')

x=c.execute('select * from sys_org')
result = x.fetchone()
print(result)
c.close()
conn.close()

红色部分解决在Pycharm中无法显示代码提示的问题
posted @ 2017-10-28 17:17  沙耶  阅读(2557)  评论(0编辑  收藏  举报