2024年3月19日

该文被密码保护。 阅读全文
posted @ 2024-03-19 17:46 三道_python 阅读(0) 评论(0) 推荐(0) 编辑

2022年7月13日

摘要: 但是windows 7旗舰版 安装到 playwright install 的时候,运行完命令后,powershell 无任何错误提示,这个时候到cmd下,运行playwright install,提示错误信息“无法找到入口 无法定位程序输入点 GetHostNameW 于动态链接库 WS2_32. 阅读全文
posted @ 2022-07-13 09:48 三道_python 阅读(3305) 评论(0) 推荐(0) 编辑

2022年6月24日

摘要: if debug: print(name) try: return NameObject(name.decode('utf-8')) except: try: return NameObject(name.decode('latin-1')) except (UnicodeEncodeError, 阅读全文
posted @ 2022-06-24 11:19 三道_python 阅读(475) 评论(0) 推荐(0) 编辑

2022年6月4日

摘要: runfile('C:/Users/oqur2c/.spyder-py3/temp.py', wdir='D:/Personal/Python_Project') Traceback (most recent call last): File "<ipython-input-1-f09f3fbc9d 阅读全文
posted @ 2022-06-04 07:09 三道_python 阅读(127) 评论(0) 推荐(0) 编辑

2022年3月25日

摘要: import pywintypesimport win32apiimport win32con完美解决! 搜索 复制 阅读全文
posted @ 2022-03-25 19:53 三道_python 阅读(761) 评论(0) 推荐(0) 编辑

2021年10月12日

摘要: //index.php <?php $keys = file("a.txt");//$dir $hangshu = count(file("a.txt")); $zuoce1 = ''; for ($ww=$hangshu - 12;$ww<$hangshu - 0; $ww++){ $jqurl 阅读全文
posted @ 2021-10-12 15:57 三道_python 阅读(49) 评论(0) 推荐(0) 编辑

2021年6月3日

摘要: word_count = {} with open("./Beginner Guide to Python.txt") as fin: for line in fin: line = line[:-1] words = line.split() for word in words: if word 阅读全文
posted @ 2021-06-03 11:00 三道_python 阅读(101) 评论(0) 推荐(0) 编辑

2020年12月1日

摘要: 打算做个模板爬虫,爬啊爬。 爬虫爬过来的代码不显示调用图片,css,js的绝对路径,引用到本地格式就错乱了。 为了解决这个问题,特地请教大师并优化代码,代码如下。 <?php $rpp = '<sdf src="bbbs/sdd" <link rel="stylesheet" type="text/ 阅读全文
posted @ 2020-12-01 16:28 三道_python 阅读(464) 评论(0) 推荐(0) 编辑

2020年10月17日

摘要: 今天遇到一个问题。 本来建立的充电桩网【www.chongdianzhuang.wang】以前的域名为.net,被客户买走了,数据没要, 网站扔了怪可惜的,所以需要将.net域名更换为.wang 尝试了各种方法吧,最后发现一个很快速的方法将sql中所有的.net域名替换为www.chongdianz 阅读全文
posted @ 2020-10-17 14:10 三道_python 阅读(472) 评论(0) 推荐(0) 编辑

2020年4月12日

摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <input type = "text" id="clock" style="width: 449px 阅读全文
posted @ 2020-04-12 16:19 三道_python 阅读(170) 评论(0) 推荐(0) 编辑