会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
leecy
博客园
首页
新随笔
联系
订阅
管理
2022年5月30日
Centos7 安装MySQL详细步骤
摘要: 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
阅读(23758)
评论(1)
推荐(7)
2022年4月19日
oracle
摘要: 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
阅读(41)
评论(0)
推荐(0)
2022年4月15日
日志模块
摘要: 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
阅读(35)
评论(0)
推荐(0)
2022年4月11日
根据xml节点,获取节点值路径
摘要: 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
阅读(173)
评论(0)
推荐(0)
根据xml值获取元素所有父节点
摘要: 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
阅读(241)
评论(0)
推荐(0)
公告