![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
严小样儿
一枚数据分析师,统计学硕士(在读)
展开
-
【pymysql】AttributeError: module 'pymysql' has no attribute 'connect'
从报错开始梳理用Python连接MySQL数据库【操作步骤】1.搭建环境:win7-64、python-3.7.3、MySQL2.下载库包:python -m pip install pymysql3.导入模块:import pymysql4.建立连接:db = pymysql.connect(“hostname”,“username”,“password”,“database”...原创 2019-07-29 13:43:44 · 5782 阅读 · 5 评论 -
【cx_Oracle】DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: "The specified mod
从报错开始梳理用Python连接Oracle数据库【操作步骤】1.搭建环境:win7-64、python-3.7.3、Oracle客户端:instantclient2.下载库包:python -m pip install cx_Oracle3.导入模块:import cx_Oracle4.建立连接:db = cx_Oracle.connect(“username”,“passwo...原创 2019-07-29 14:14:07 · 5915 阅读 · 0 评论 -
【面向对象】哪吒大战三太子
面向对象——哪吒大战三太子""" Project Name : 哪吒大战三太子 Created On : 7/30/2019 00:30:00 @Author : Eric_Yan """class Role(): def __init__(self,role_name): self.__name = role_name self.lifevalue = 500 ...原创 2019-07-30 14:01:43 · 484 阅读 · 0 评论