09 2021 档案
摘要:with open('config.ini','wb') as f:wb 指的是以二进制的方式打开文件,所以在写入文件的时候,会提示TypeError: a bytes-like object is required, not 'str'所以解决方法很简单,修改成 with open('config
阅读全文
摘要:mysql -uroot -p use mysql; update user set host='%' where user ='root'; FLUSH PRIVILEGES; GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'WITH GRANT OPTION;
阅读全文
摘要:官网下载 需要使用的rpm包 https://downloads.mysql.com/archives/community/ mysql-community-server-8.0.23-1.el7.x86_64.rpm mysql-community-libs-8.0.23-1.el7.x86_64
阅读全文
摘要:下载sticky包解压 ./configure \--prefix=/usr/local/nginx \--pid-path=/var/run/nginx/nginx.pid \--lock-path=/var/lock/nginx.lock \--error-log-path=/usr/local
阅读全文
摘要:#设置高度和行宽 sheet1.row(0).height_mismatch = Truesheet1.row(0).height = 800sheet1.col(0).width = Truesheet1.col(0).width = 30000 #设置字体和大小font_RedBlob = xl
阅读全文
摘要:driver.find_element_by_xpath("").get_attribute('textContent') get_attribute这个方法还可以定位标签内是否含有某个属性 比如 ,看一下某个按钮是不是 disabled状态的 driver.find_element_by_xpat
阅读全文
摘要:https://www.cnblogs.com/jinanxiaolaohu/p/15160954.html RPM包方式安装Oracle21c的方法 前言 北京时间2021.8.14 Oracle发布了最新的数据库版本Oracle21c, Oracle规划不再发布Oracle20c和Oracle2
阅读全文
摘要:https://www.cnblogs.com/lysheng/p/14611515.html oracle21c新特性 Oracle明确:Oracle 21c 其实就相当于 Oracle 20c,因为 20c从未进入公众可用的版本发布。 在官方的版本计划中,20c 已经被移出,并做出如下声明: O
阅读全文