摘要: Centos7 安装MySQL详细步骤 首先在虚拟机中安装一个Centos7(VM虚拟机安装Centos7) 1.1 MySQL安装 1.1.1 下载wget命令 yum -y install wget 1.1.2 在线下载mysql安装包 wget https://dev.mysql.com/ge 阅读全文
posted @ 2022-05-30 20:03 leecy125 阅读(23516) 评论(1) 推荐(7) 编辑
摘要: import cx-Oracle import os os.environ['NLS_LANG'] = 'SIMPLIFIED CHINESE_CHINA.UTF8' # 设置oracle的编码为utf8 class Oracle: def __init__(self, user, password 阅读全文
posted @ 2022-04-19 21:17 leecy125 阅读(36) 评论(0) 推荐(0) 编辑
摘要: from logging import getLogger, FileHandler, StreamHandler, Formatter class Logger: def __init__(self, name, log_level='info', log_file=None): self.log 阅读全文
posted @ 2022-04-15 08:15 leecy125 阅读(31) 评论(0) 推荐(0) 编辑
摘要: from lxml import etree s = ''' <Departments orgID="123" name="xmllist"> <One> <orgID>124</orgID> <name>A</name> <type>type a</type> <status>Active</st 阅读全文
posted @ 2022-04-11 21:52 leecy125 阅读(157) 评论(0) 推荐(0) 编辑
摘要: from lxml import etree s = ''' <Departments orgID="123" name="xmllist"> <One> <orgID>124</orgID> <name>A</name> <type>type a</type> <status>Active</st 阅读全文
posted @ 2022-04-11 21:25 leecy125 阅读(184) 评论(0) 推荐(0) 编辑