上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: 保存视频资源 灵活应用split和os,并且养成检错的习惯 阅读全文
posted @ 2018-03-01 00:40 zzuli风尘 阅读(141) 评论(0) 推荐(0) 编辑
摘要: r = requests.get('www.baidu.com') r.request.headers{'User-Agent': 'python-requests/2.18.4', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Conn 阅读全文
posted @ 2018-03-01 00:34 zzuli风尘 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 基本爬虫框架,注意raise_fo_status与try,except的配合使用,方便检查错误 阅读全文
posted @ 2018-02-28 21:16 zzuli风尘 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 简单爬图片,功能需增强 大佬代码: 1 import requests 2 from bs4 import BeautifulSoup 3 circle = requests.get('http://travel.quanjing.com/tag/12975/%E9%A9%AC%E5%B0%94%E 阅读全文
posted @ 2018-02-28 18:46 zzuli风尘 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 第一次使用爬虫,python的功能由衷的强大,不过遭遇的运程主机的强行关闭,基本只能下载前几章就会遭遇强行关闭,下一价段争取解决 阅读全文
posted @ 2018-02-27 18:30 zzuli风尘 阅读(533) 评论(1) 推荐(0) 编辑
摘要: FatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean. The warehouse has 阅读全文
posted @ 2018-02-20 21:43 zzuli风尘 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 链接:https://www.nowcoder.com/questionTerminal/d83721575bd4418eae76c916483493de来源:牛客网广场上站着一支队伍,她们是来自全国各地的扭秧歌代表队,现在有她们的身高数据,请你帮忙找出身高依次递增的子序列。 例如队伍的身高数据是( 阅读全文
posted @ 2018-02-20 17:13 zzuli风尘 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in th 阅读全文
posted @ 2018-02-20 15:32 zzuli风尘 阅读(150) 评论(0) 推荐(0) 编辑
摘要: Message queue is the basic fundamental of windows system. For each process, the system maintains a message queue. If something happens to this process 阅读全文
posted @ 2018-02-20 11:11 zzuli风尘 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 夏天来了~~好开心啊,呵呵,好多好多水果~~ Joe经营着一个不大的水果店.他认为生存之道就是经营最受顾客欢迎的水果.现在他想要一份水果销售情况的明细表,这样Joe就可以很容易掌握所有水果的销售情况了. Input第一行正整数N(0<N<=10)表示有N组测试数据. 每组测试数据的第一行是一个整数M 阅读全文
posted @ 2018-02-19 23:24 zzuli风尘 阅读(350) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页