上一页 1 ··· 89 90 91 92 93 94 95 96 97 ··· 103 下一页
摘要: 错误提示 error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https:// visualstudio.microsoft.com/visual-cpp- 阅读全文
posted @ 2022-01-13 11:50 悟透 阅读(1159) 评论(0) 推荐(0)
摘要: 一个简单的python获取html页面 版本说明: Testing system os : Windows 7 Python : 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 22:20:52) [MSC v.1916 32 bit (Intel)] on 阅读全文
posted @ 2022-01-13 09:52 悟透 阅读(3276) 评论(0) 推荐(0)
摘要: xlutils 作用: Eecel文件操作 必要操作: import xlutils 帮助查看: >>> help(xlutils) 或 单独查看某个方法(函数) >>> help(xlutils.copy) 方法(函数): ## 复制excel文件里所有sheet页内容到内存 workbook = 阅读全文
posted @ 2022-01-11 22:41 悟透 阅读(276) 评论(0) 推荐(0)
摘要: xlwt 作用: Excel写入文件操作 必要操作: import xlwt 帮助查看: >>> help(xlwt) 或 单独查看某个方法(函数) >>> help(xlwt.write) 方法(函数): row = 0 #行 column = 9 # 列 xlwt.write(row,colum 阅读全文
posted @ 2022-01-11 22:23 悟透 阅读(183) 评论(0) 推荐(0)
摘要: xlrd 作用: Excle内容读取 必要操作: import xlrd 帮助查看: >>> help(xlrd) 或 单独查看某个方法(函数) >>> help(xlrd.open_workbook) 方法(函数): ## 打开test.xls文件 wb = xlrd.open_workbook( 阅读全文
posted @ 2022-01-11 22:22 悟透 阅读(241) 评论(0) 推荐(0)
摘要: 脚本功能:批量替换excel文件里字符串内容,并保留原有样式。 运行环境:Linux Python 注意:1.只支持xls(excel 97、2003) 但不支持xlsx(excel 2010+) 2.脚本中的注释,在实际使用时可以删除,在某些环境下可能会有奇怪问题。 #!/usr/bin/pyth 阅读全文
posted @ 2022-01-10 21:09 悟透 阅读(912) 评论(0) 推荐(0)
摘要: formatting_info=True 保留原文件为操作过的内容格式,但操作过的内容格式这没有了 import xlrd,xlwt from xlutils.copy import copy workbook1 = xlrd.open_workbook( xls_list, formatting_ 阅读全文
posted @ 2022-01-10 20:56 悟透 阅读(1054) 评论(0) 推荐(0)
摘要: 方法 函数: #开头,Python注释 print() 2.x: print "Hello Word!" 3.x: print(Hello Word!) P21: rstrip() 删除字符串结尾空格 lrstrip() 删除字符串开头空格 P24: str() 指出字符串类型,整数 第三章:P26 阅读全文
posted @ 2022-01-09 13:18 悟透 阅读(239) 评论(0) 推荐(0)
摘要: 提示一:welcome to emergency mode!after logging in ,type “journalctl -xb” to view system logs,“systemctl reboot” to reboot ,“systemctl default” to try aga 阅读全文
posted @ 2022-01-08 15:04 悟透 阅读(937) 评论(0) 推荐(0)
摘要: 问题:VMware系统创建的linx虚拟机里可以正常上网,正常使用, 但是物理机连接里的Xshell和SecureCRT就链接不上虚拟机。 原因:可能是系统休眠、待机导致网络数据异常 解决方法:重启VMware的“VMnet8”虚拟机网卡,然后重新连接,即可。 详细解决方法: 1.查看虚拟机的第一块 阅读全文
posted @ 2022-01-01 23:25 悟透 阅读(361) 评论(0) 推荐(0)
上一页 1 ··· 89 90 91 92 93 94 95 96 97 ··· 103 下一页