随笔分类 -  Python

摘要:代码 #!/usr/bin/env python # encoding: utf-8 import os import binascii from datetime import datetime, timezone colnum_per_row = 16 file_path = 'demo.sys 阅读全文
posted @ 2025-03-20 00:54 倚剑问天 阅读(29) 评论(0) 推荐(0)
摘要:某居客页面爬虫脚本,支持2023版本 阅读全文
posted @ 2023-12-26 11:06 倚剑问天 阅读(46) 评论(0) 推荐(0)
摘要:简介 很多人喜欢在自己写的命令行工具开头加上软件名字的Ascii插画LOGO,这在Python下利用多行字符串还是很容易实现的,但是在C语言下会有很多的复杂转义的问题,而且格式不容易控制,所以笔者写了一个简单的Python脚本来将Python下的多行字符串转换成C语言可用的字符数组,亲测有效~ 代码 阅读全文
posted @ 2019-08-02 14:39 倚剑问天 阅读(287) 评论(0) 推荐(0)
摘要:简介 爬虫闯关链接: 1. http://www.heibanke.com/accounts/login/?next=/lesson/crawler_ex04/ 2. http://www.heibanke.com/lesson/crawler_ex04/ 3. http://www.heibank 阅读全文
posted @ 2018-10-01 18:10 倚剑问天 阅读(144) 评论(0) 推荐(0)
摘要:简介 爬虫闯关链接 : 1. http://www.heibanke.com/accounts/login/?next=/lesson/crawler_ex03/ 2. http://www.heibanke.com/accounts/login 知识点: cookie & session , cs 阅读全文
posted @ 2018-10-01 18:05 倚剑问天 阅读(178) 评论(0) 推荐(0)
摘要:简介 爬虫闯关链接: 1. http://www.heibanke.com/accounts/login/?next=/lesson/crawler_ex02/ 2. http://www.heibanke.com/accounts/login 知识点: cookie & session , csr 阅读全文
posted @ 2018-10-01 18:01 倚剑问天 阅读(130) 评论(0) 推荐(0)
摘要:简介 爬虫闯关链接: http://www.heibanke.com/lesson/crawler_ex01/ 知识点: Web编程,抓包,模拟post请求 参考代码 阅读全文
posted @ 2018-10-01 17:56 倚剑问天 阅读(131) 评论(0) 推荐(0)
摘要:简介 爬虫闯关链接: http://www.heibanke.com/lesson/crawler_ex00 知识点: Python正则表达式,Web编程 参考代码 阅读全文
posted @ 2018-10-01 17:54 倚剑问天 阅读(184) 评论(0) 推荐(0)