pycharm 版本是 20121.1.2 x64.lnk
在pycharm 中连接oracle 数据库进行查询操作,参考了网上的代码,但是在我这里一直报错。查了一下,网上说的什么删除.pub文件啊,删除同目录下其他object呀,都试过了,没成功,好难过😫
代码如下
错误如下
AttributeError: 'str' object has no attribute 'connect'
参考代码网址如下
https://blog.csdn.net/weixin_36485376/article/details/81049835