随笔分类 - 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
阅读全文
摘要:简介 很多人喜欢在自己写的命令行工具开头加上软件名字的Ascii插画LOGO,这在Python下利用多行字符串还是很容易实现的,但是在C语言下会有很多的复杂转义的问题,而且格式不容易控制,所以笔者写了一个简单的Python脚本来将Python下的多行字符串转换成C语言可用的字符数组,亲测有效~ 代码
阅读全文
摘要:简介 爬虫闯关链接: 1. http://www.heibanke.com/accounts/login/?next=/lesson/crawler_ex04/ 2. http://www.heibanke.com/lesson/crawler_ex04/ 3. http://www.heibank
阅读全文
摘要:简介 爬虫闯关链接 : 1. http://www.heibanke.com/accounts/login/?next=/lesson/crawler_ex03/ 2. http://www.heibanke.com/accounts/login 知识点: cookie & session , cs
阅读全文
摘要:简介 爬虫闯关链接: 1. http://www.heibanke.com/accounts/login/?next=/lesson/crawler_ex02/ 2. http://www.heibanke.com/accounts/login 知识点: cookie & session , csr
阅读全文
摘要:简介 爬虫闯关链接: http://www.heibanke.com/lesson/crawler_ex01/ 知识点: Web编程,抓包,模拟post请求 参考代码
阅读全文
摘要:简介 爬虫闯关链接: http://www.heibanke.com/lesson/crawler_ex00 知识点: Python正则表达式,Web编程 参考代码
阅读全文

浙公网安备 33010602011771号