摘要: 基于python2.7 get与post: 开发者工具中form表单的method选项为post,那么必须使用post方法。 urllib: 拼接链接格式 urllib2: Beautiful Soup response = urllib.uelopen("http://www.3jy.com/") 阅读全文
posted @ 2017-01-19 18:35 橡皮头 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 类方法的存在即为了修改类属性。 代码示例: 代码示例2: 阅读全文
posted @ 2017-01-19 15:08 橡皮头 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 示例: 阅读全文
posted @ 2017-01-19 13:48 橡皮头 阅读(374) 评论(0) 推荐(0) 编辑