{"id":1903,"date":"2019-01-26T12:13:58","date_gmt":"2020-02-12T13:56:01","guid":{"rendered":"http:\/\/vip.fxxkpython.com\/?p=1903"},"modified":"2020-02-12T21:56:10","modified_gmt":"2020-02-12T13:56:10","slug":"0b17860b74","status":"publish","type":"post","link":"https:\/\/vip.fxxkpython.com\/?p=1903","title":{"rendered":"python\u722c\u866b06 | \u4f60\u7684\u7b2c\u4e00\u4e2a\u722c\u866b\uff0c\u722c\u53d6\u5f53\u5f53\u7f51 Top 500 \u672c\u4e94\u661f\u597d\u8bc4\u4e66\u7c4d"},"content":{"rendered":"<div class=\"bpp-post-content\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\" ><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6765\u5566\uff0c\u8001\u5f1f<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"     src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python3-1581515762.gif\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6211\u4eec\u5df2\u7ecf\u77e5\u9053\u600e\u4e48\u4f7f\u7528<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU2ODYzNTkwMg==&amp;mid=2247484115&amp;idx=1&amp;sn=4f9ca3f0938cf9d9eaa9c6ff6c457481&amp;chksm=fc8bba42cbfc335478f72ef83049238aab250f5cf471cffe60b9ac736368b0eb4dbd2c74bcfd&amp;scene=21#wechat_redirect\" target=\"_blank\" >Requests<\/a><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u8fdb\u884c\u5404\u79cd\u8bf7\u6c42\u9a9a\u64cd\u4f5c<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u4e5f\u77e5\u9053\u4e86\u5bf9\u670d\u52a1\u5668\u8fd4\u56de\u7684\u6570\u636e\u5982\u4f55\u4f7f\u7528<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU2ODYzNTkwMg==&amp;mid=2247484120&amp;idx=1&amp;sn=5f5a2ad4f9c458c4ed04c2726cf0b6f2&amp;chksm=fc8bba49cbfc335f1dae0ffc2ad03cad443cb944c2666ba51f70e0e9663bb86bc960971bf804&amp;scene=21#wechat_redirect\" target=\"_blank\" >\u6b63\u5219\u8868\u8fbe\u5f0f<\/a><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6765\u8fc7\u6ee4\u6211\u4eec\u60f3\u8981\u7684\u5185\u5bb9<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">&#8230;<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u90a3\u4e48\u63a5\u4e0b\u6765<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6211\u4eec\u5c31\u4f7f\u7528 requests \u548c re \u6765\u5199\u4e00\u4e2a<span style=\"color: rgb(255, 76, 0);\">\u722c\u866b<\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u4f5c\u4e3a\u4e00\u4e2a\u7231\u770b\u4e66\u7684\u4f60\uff08\u8bf4\u7684\u8ddf\u771f\u7684\u4f3c\u7684\uff09<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"     style=\"width: 69%;height: auto !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python9-1581515762.jpeg\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u600e\u4e48\u80fd\u53d1\u73b0\u597d\u4e66\u5462\uff1f<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6240\u4ee5\u6211\u4eec<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u722c\u53d6\u5f53\u5f53\u7f51\u7684\u524d <strong>500 <\/strong>\u672c\u597d\u4e94\u661f\u8bc4\u4e66\u7c4d<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u600e\u4e48\u6837\uff1f<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"     src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python10-1581515762.gif\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">ok<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u63a5\u4e0b\u6765\u5c31\u662f<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><strong>\u5b66\u4e60 python \u7684\u6b63\u786e\u59ff\u52bf<\/strong><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><strong><br  \/><\/strong><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><span style=\"background-color: rgb(255, 0, 0);color: rgb(255, 255, 255);\">\u8bf7\u5728\u7535\u8111\u7684\u966a\u540c\u4e0b<\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><span style=\"background-color: rgb(255, 0, 0);color: rgb(255, 255, 255);\">\u8fb9\u770b\u672c\u6587\u8fb9\u7ec3\u4e60<\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><strong><br  \/><\/strong><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u9996\u5148\u6211\u4eec\u8981\u5bf9\u6211\u4eec\u7684\u76ee\u6807\u7f51\u7ad9\u8fdb\u884c\u5206\u6790<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u5148\u6478\u6e05\u5bf9\u65b9\u7684\u5e95<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6211\u4eec\u624d\u80fd\u6218\u65e0\u4e0d\u80dc<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"     src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python4-1581515763.jpeg\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6253\u5f00\u8fd9\u4e2a\u4e66\u7c4d\u6392\u884c\u699c\u7684\u5730\u5740<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><span style=\"color: rgb(0, 82, 255);\"><strong>http:\/\/bang.dangdang.com\/books\/fivestars\/01.00.00.00.00.00-recent30-0-0-1-1<\/strong><\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><span style=\"color: rgb(0, 82, 255);\"><strong><br  \/><\/strong><\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u662f\u8fd9\u6837\u7684\u4e00\u4e2a\u7f51\u9875<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\" aligncenter\"       style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python10-1581515763.jpg\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"text-align: center;\"><br  \/><\/p>\n<p style=\"text-align: center;\">\u6bcf\u4e00\u9875\u663e\u793a 20 \u672c\u4e66<\/p>\n<p style=\"text-align: center;\"><br  \/><\/p>\n<p style=\"text-align: center;\">\u5f53\u6211\u4eec\u70b9\u51fb\u4e0b\u4e00\u9875\u7684\u65f6\u5019<\/p>\n<p style=\"text-align: center;\"><br  \/><\/p>\n<p style=\"text-align: center;\">\u4f60\u53ef\u4ee5\u53d1\u73b0\u5730\u5740\u53d8\u4e86<\/p>\n<p style=\"text-align: center;\"><br  \/><\/p>\n<p style=\"text-align: center;\"><span style=\"color: rgb(0, 82, 255);\">http:\/\/bang.dangdang.com\/books\/fivestars\/01.00.00.00.00.00-recent30-0-0-1-<\/span><span style=\"color: rgb(255, 76, 0);\">2<\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u4e5f\u5c31\u662f\u6211\u4eec\u7ffb\u5230\u7b2c\u51e0\u9875\u7684\u65f6\u5019<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u94fe\u63a5\u5730\u5740\u7684\u6700\u540e\u4e00\u4e2a\u53c2\u6570\u4f1a\u8ddf\u7740\u53d8<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u90a3\u4e48\u6211\u4eec\u7b49\u4f1a\u5728 python \u4e2d\u53ef\u4ee5\u7528\u4e00\u4e2a\u53d8\u91cf<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6765\u5b9e\u73b0\u83b7\u53d6\u4e0d\u540c\u9875\u6570\u7684\u5185\u5bb9<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"     src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python3-1581515764.jpeg\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u63a5\u7740<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u7528\u6211\u4eec\u4e4b\u524d\u8bf4\u7684&nbsp;<a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU2ODYzNTkwMg==&amp;mid=2247484073&amp;idx=1&amp;sn=665a1fa621eefba334abcc4da5ed894d&amp;chksm=fc8bba38cbfc332eb514796a25130564071131a102bc795bf7ce30a2a6474532b4cc4d13ac7c&amp;scene=21#wechat_redirect\" target=\"_blank\" >Chrome<\/a>&nbsp;\u9a9a\u64cd\u4f5c<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6765\u5206\u6790\u4e00\u4e0b<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6211\u4eec\u8981\u7684\u5185\u5bb9\u662f\u600e\u4e48\u8bf7\u6c42\u7684<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u4ee5\u53ca<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u8fd4\u56de\u7ed9\u6211\u4eec\u7684\u6e90\u4ee3\u7801\u662f\u4ec0\u4e48\u6837\u7684<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"     src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python3-1581515765.gif\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u53ef\u4ee5\u770b\u5230<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6211\u4eec\u901a\u8fc7 GET \u8bf7\u6c42<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\" aligncenter\"       style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python7-1581515765.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6211\u4eec\u7684\u8bf7\u6c42\u5934<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\" aligncenter\"       style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python0-1581515765.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u8fd9\u662f\u670d\u52a1\u5668\u8fd4\u56de\u6765\u7684\u6570\u636e<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\" aligncenter\"       style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python1-1581515766.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u63a5\u7740\u6211\u4eec\u518d\u6765\u5206\u6790\u4e00\u4e0b\u6211\u4eec\u8981\u6293\u53d6\u7684\u5173\u952e\u4fe1\u606f<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\" aligncenter\"       style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python5-1581515766.jpg\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6211\u4eec\u8981\u7684\u5c31\u662f\u524d 500 \u672c\u4e66\u7684<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><span style=\"color: rgb(255, 76, 0);\">\u6392\u540d<\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><span style=\"color: rgb(255, 76, 0);\">\u4e66\u540d<\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><span style=\"color: rgb(255, 76, 0);\">\u56fe\u7247\u5730\u5740<\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><span style=\"color:#ff4c00;\">\u4f5c\u8005<\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><span style=\"color: rgb(255, 76, 0);\">\u63a8\u8350\u6307\u6570<\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><span style=\"color: rgb(255, 76, 0);\">\u4e94\u661f\u8bc4\u5206\u6b21\u6570<\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><span style=\"color: rgb(255, 76, 0);\">\u4ef7\u683c<\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><span style=\"color: rgb(255, 76, 0);\"><br  \/><\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u901a\u8fc7\u6e90\u7801\u6211\u4eec\u53ef\u4ee5\u770b\u5230<br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u8fd9\u4e9b\u4fe1\u606f\u88ab\u653e\u5728\u4e86 &lt;li&gt; \u6807\u7b7e\u4e2d<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p><img decoding=\"async\" class=\" aligncenter\"       style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python6-1581515767.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p><img decoding=\"async\" class=\" aligncenter\"       style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python7-1581515767.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u90a3\u4e48\u6211\u4eec\u7b49\u4f1a\u5c31\u53ef\u4ee5\u4f7f\u7528<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU2ODYzNTkwMg==&amp;mid=2247484120&amp;idx=1&amp;sn=5f5a2ad4f9c458c4ed04c2726cf0b6f2&amp;chksm=fc8bba49cbfc335f1dae0ffc2ad03cad443cb944c2666ba51f70e0e9663bb86bc960971bf804&amp;scene=21#wechat_redirect\" target=\"_blank\" >\u5e74\u8f7b\u4eba\uff0c\u4e0d\u4f1a\u6b63\u5219\u8868\u8fbe\u5f0f\u4f60\u7761\u5f97\u7740\u89c9\uff1f\u6709\u70b9\u51fa\u606f\u6ca1\u6709\uff1f<\/a><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6765\u8fdb\u884c\u8fc7\u6ee4\u6211\u4eec\u8981\u7684\u4fe1\u606f<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u4e00\u987f\u5206\u6790\u5b8c\u4e86\u4e4b\u540e<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u63a5\u4e0b\u6765\u64b8\u4ee3\u7801\u4e86<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"     src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python8-1581515767.jpeg\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u4e3b\u8981\u601d\u8def<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u4f7f\u7528 page \u53d8\u91cf\u6765\u5b9e\u73b0\u7ffb\u9875<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6211\u4eec\u4f7f\u7528 requests \u8bf7\u6c42\u5f53\u5f53\u7f51<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u7136\u540e\u5c06\u8fd4\u56de\u7684 HTML \u8fdb\u884c\u6b63\u5219\u89e3\u6790<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u7531\u4e8e\u6211\u4eec\u6682\u65f6\u8fd8\u6ca1\u5b66\u5230<strong>\u6570\u636e\u5e93<\/strong><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6240\u4ee5\u89e3\u6790\u5b8c\u4e4b\u540e\u5c31\u628a\u5185\u5bb9\u5b58\u5230\u6587\u4ef6\u4e2d<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<section   class=\"mpa-template\" mpa-preserve=\"t\">\n<pre style=\"margin:0;padding:0;border-radius:none;background:none;\"><code style=\"border-radius: 4px;font-size: 0.85em;margin: 0px 0.15em;background: rgb(248, 248, 248);color: rgb(51, 51, 51);display: block;padding: 6px;overflow-x: auto;white-space: nowrap;\" class=\"hljs-github\"><span class=\"hljs-github-function\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 99px;text-decoration: none solid rgb(51, 51, 51);font-weight: 400;font-style: normal;\"><span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 20px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">def<\/span> <span class=\"hljs-github-title\" style=\"color: rgb(153, 0, 0);background: rgba(0, 0, 0, 0);display: inline;width: 27px;text-decoration: none solid rgb(153, 0, 0);font-weight: 700;font-style: normal;\">main<\/span><span class=\"hljs-github-params\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 39px;text-decoration: none solid rgb(51, 51, 51);font-weight: 400;font-style: normal;\">(page)<\/span>:<\/span><br  \/> &nbsp; &nbsp;url = <span class=\"hljs-github-string\" style=\"color: rgb(221, 17, 68);background: rgba(0, 0, 0, 0);display: inline;width: 501px;text-decoration: none solid rgb(221, 17, 68);font-weight: 400;font-style: normal;\">'http:\/\/bang.dangdang.com\/books\/fivestars\/01.00.00.00.00.00-recent30-0-0-1-'<\/span> + str(page)<br  \/> &nbsp; &nbsp;html = request_dandan(url)<br  \/> &nbsp; &nbsp;items = parse_result(html) <span class=\"hljs-github-comment\" style=\"color: rgb(153, 153, 136);background: rgba(0, 0, 0, 0);display: inline;width: 146px;text-decoration: none solid rgb(153, 153, 136);font-weight: 400;font-style: italic;\"># \u89e3\u6790\u8fc7\u6ee4\u6211\u4eec\u60f3\u8981\u7684\u4fe1\u606f<\/span><br  \/> &nbsp; &nbsp;<br  \/> &nbsp; &nbsp;<span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 20px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">for<\/span> item <span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 13px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">in<\/span> items:<br  \/> &nbsp; &nbsp; &nbsp; &nbsp;write_item_to_file(item)<\/code><\/pre>\n<\/section>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u8bf7\u6c42\u5f53\u5f53\u7f51<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u5f53\u6211\u4eec\u8bf7\u6c42\u6210\u529f\u4e4b\u540e<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u62ff\u5230\u6e90\u4ee3\u7801<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<section   class=\"mpa-template\" mpa-preserve=\"t\">\n<pre style=\"margin:0;padding:0;border-radius:none;background:none;\"><code style=\"border-radius: 4px;font-size: 0.85em;margin: 0px 0.15em;background: rgb(248, 248, 248);color: rgb(51, 51, 51);display: block;padding: 6px;overflow-x: auto;white-space: nowrap;\" class=\"hljs-github\"><span class=\"hljs-github-function\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 158px;text-decoration: none solid rgb(51, 51, 51);font-weight: 400;font-style: normal;\"><span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 20px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">def<\/span> <span class=\"hljs-github-title\" style=\"color: rgb(153, 0, 0);background: rgba(0, 0, 0, 0);display: inline;width: 93px;text-decoration: none solid rgb(153, 0, 0);font-weight: 700;font-style: normal;\">request_dandan<\/span><span class=\"hljs-github-params\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 33px;text-decoration: none solid rgb(51, 51, 51);font-weight: 400;font-style: normal;\">(url)<\/span>:<\/span><br  \/> &nbsp; &nbsp;<span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 20px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">try<\/span>:<br  \/> &nbsp; &nbsp; &nbsp; &nbsp;response = requests.get(url)<br  \/> &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 13px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">if<\/span> response.status_code == <span class=\"hljs-github-number\" style=\"color: rgb(0, 128, 128);background: rgba(0, 0, 0, 0);display: inline;width: 19px;text-decoration: none solid rgb(0, 128, 128);font-weight: 400;font-style: normal;\">200<\/span>:<br  \/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 40px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">return<\/span> response.text<br  \/> &nbsp; &nbsp;<span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 40px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">except<\/span> requests.RequestException:<br  \/> &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 39px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">return<\/span> <span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 26px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">None<\/span><\/code><\/pre>\n<\/section>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u62ff\u5230\u6e90\u4ee3\u7801\u4e86<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u5c31\u8981\u5bf9\u5176\u89e3\u6790<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u83b7\u53d6\u6211\u4eec\u60f3\u8981\u7684\u5173\u952e\u4fe1\u606f<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u83b7\u53d6\u5230\u4e86\u4e4b\u540e\u6211\u4eec\u5c01\u88c5\u4e00\u4e0b\u6570\u636e<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<section   class=\"mpa-template\" mpa-preserve=\"t\">\n<pre style=\"margin:0;padding:0;border-radius:none;background:none;\"><code style=\"border-radius: 4px;font-size: 0.85em;margin: 0px 0.15em;background: rgb(248, 248, 248);color: rgb(51, 51, 51);display: block;padding: 6px;overflow-x: auto;white-space: nowrap;\" class=\"hljs-github\"><span class=\"hljs-github-function\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 152px;text-decoration: none solid rgb(51, 51, 51);font-weight: 400;font-style: normal;\"><span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 20px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">def<\/span> <span class=\"hljs-github-title\" style=\"color: rgb(153, 0, 0);background: rgba(0, 0, 0, 0);display: inline;width: 79px;text-decoration: none solid rgb(153, 0, 0);font-weight: 700;font-style: normal;\">parse_result<\/span><span class=\"hljs-github-params\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 40px;text-decoration: none solid rgb(51, 51, 51);font-weight: 400;font-style: normal;\">(html)<\/span>:<\/span><br  \/> &nbsp; &nbsp;pattern = re.compile(<span class=\"hljs-github-string\" style=\"color: rgb(221, 17, 68);background: rgba(0, 0, 0, 0);display: inline;width: 1887px;text-decoration: none solid rgb(221, 17, 68);font-weight: 400;font-style: normal;\">'&lt;li&gt;.*?list_num.*?(d+).&lt;\/div&gt;.*?&lt;img src=\"(.*?)\".*?class=\"name\".*?title=\"(.*?)\"&gt;.*?class=\"star\"&gt;.*?class=\"tuijian\"&gt;(.*?)&lt;\/span&gt;.*?class=\"publisher_info\"&gt;.*?target=\"_blank\"&gt;(.*?)&lt;\/a&gt;.*?class=\"biaosheng\"&gt;.*?&lt;span&gt;(.*?)&lt;\/span&gt;&lt;\/div&gt;.*?&lt;p&gt;&lt;spansclass=\"price_n\"&gt;&amp;yen;(.*?)&lt;\/span&gt;.*?&lt;\/li&gt;'<\/span>,re.S)<br  \/> &nbsp; &nbsp;items = re.findall(pattern,html)<br  \/> &nbsp; &nbsp;<span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 20px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">for<\/span> item <span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 13px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">in<\/span> items:<br  \/> &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 33px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">yield<\/span> {<br  \/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"hljs-github-string\" style=\"color: rgb(221, 17, 68);background: rgba(0, 0, 0, 0);display: inline;width: 46px;text-decoration: none solid rgb(221, 17, 68);font-weight: 400;font-style: normal;\">'range'<\/span>: item[<span class=\"hljs-github-number\" style=\"color: rgb(0, 128, 128);background: rgba(0, 0, 0, 0);display: inline;width: 7px;text-decoration: none solid rgb(0, 128, 128);font-weight: 400;font-style: normal;\">0<\/span>],<br  \/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"hljs-github-string\" style=\"color: rgb(221, 17, 68);background: rgba(0, 0, 0, 0);display: inline;width: 46px;text-decoration: none solid rgb(221, 17, 68);font-weight: 400;font-style: normal;\">'iamge'<\/span>: item[<span class=\"hljs-github-number\" style=\"color: rgb(0, 128, 128);background: rgba(0, 0, 0, 0);display: inline;width: 7px;text-decoration: none solid rgb(0, 128, 128);font-weight: 400;font-style: normal;\">1<\/span>],<br  \/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"hljs-github-string\" style=\"color: rgb(221, 17, 68);background: rgba(0, 0, 0, 0);display: inline;width: 46px;text-decoration: none solid rgb(221, 17, 68);font-weight: 400;font-style: normal;\">'title'<\/span>: item[<span class=\"hljs-github-number\" style=\"color: rgb(0, 128, 128);background: rgba(0, 0, 0, 0);display: inline;width: 7px;text-decoration: none solid rgb(0, 128, 128);font-weight: 400;font-style: normal;\">2<\/span>],<br  \/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"hljs-github-string\" style=\"color: rgb(221, 17, 68);background: rgba(0, 0, 0, 0);display: inline;width: 73px;text-decoration: none solid rgb(221, 17, 68);font-weight: 400;font-style: normal;\">'recommend'<\/span>: item[<span class=\"hljs-github-number\" style=\"color: rgb(0, 128, 128);background: rgba(0, 0, 0, 0);display: inline;width: 6px;text-decoration: none solid rgb(0, 128, 128);font-weight: 400;font-style: normal;\">3<\/span>],<br  \/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"hljs-github-string\" style=\"color: rgb(221, 17, 68);background: rgba(0, 0, 0, 0);display: inline;width: 53px;text-decoration: none solid rgb(221, 17, 68);font-weight: 400;font-style: normal;\">'author'<\/span>: item[<span class=\"hljs-github-number\" style=\"color: rgb(0, 128, 128);background: rgba(0, 0, 0, 0);display: inline;width: 7px;text-decoration: none solid rgb(0, 128, 128);font-weight: 400;font-style: normal;\">4<\/span>],<br  \/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"hljs-github-string\" style=\"color: rgb(221, 17, 68);background: rgba(0, 0, 0, 0);display: inline;width: 46px;text-decoration: none solid rgb(221, 17, 68);font-weight: 400;font-style: normal;\">'times'<\/span>: item[<span class=\"hljs-github-number\" style=\"color: rgb(0, 128, 128);background: rgba(0, 0, 0, 0);display: inline;width: 7px;text-decoration: none solid rgb(0, 128, 128);font-weight: 400;font-style: normal;\">5<\/span>],<br  \/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"hljs-github-string\" style=\"color: rgb(221, 17, 68);background: rgba(0, 0, 0, 0);display: inline;width: 46px;text-decoration: none solid rgb(221, 17, 68);font-weight: 400;font-style: normal;\">'price'<\/span>: item[<span class=\"hljs-github-number\" style=\"color: rgb(0, 128, 128);background: rgba(0, 0, 0, 0);display: inline;width: 7px;text-decoration: none solid rgb(0, 128, 128);font-weight: 400;font-style: normal;\">6<\/span>]<br  \/> &nbsp; &nbsp; &nbsp; &nbsp;}<\/code><\/pre>\n<\/section>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6253\u5370\u4e00\u4e0b\u770b\u770b\u7ed3\u679c<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<section   class=\"mpa-template\" mpa-preserve=\"t\">\n<pre style=\"margin:0;padding:0;border-radius:none;background:none;\"><code style=\"border-radius: 4px;font-size: 0.85em;margin: 0px 0.15em;background: rgb(248, 248, 248);color: rgb(51, 51, 51);display: block;padding: 6px;overflow-x: auto;white-space: nowrap;\" class=\"hljs-github\"><span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 20px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">for<\/span> item <span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 13px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">in<\/span> items:<br  \/> &nbsp; &nbsp; &nbsp; &nbsp;print(item)<\/code><\/pre>\n<\/section>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u53ef\u4ee5\u770b\u5230\u8fd9\u6837\u7684\u6570\u636e<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\" aligncenter\"       style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python8-1581515768.jpg\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6ca1\u6bdb\u75c5<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u73b0\u5728\u6211\u4eec\u83b7\u53d6\u7684\u662f\u7b2c 1 \u9875\u7684\u6570\u636e<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u5982\u4f55\u81ea\u52a8\u83b7\u53d6 25 \u9875 500 \u6761\u6570\u636e\u5462<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6765\u4e2a for \u5faa\u73af\u5457<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<section   class=\"mpa-template\" mpa-preserve=\"t\">\n<pre style=\"margin:0;padding:0;border-radius:none;background:none;\"><code style=\"border-radius: 4px;font-size: 0.85em;margin: 0px 0.15em;background: rgb(248, 248, 248);color: rgb(51, 51, 51);display: block;padding: 6px;overflow-x: auto;white-space: nowrap;\" class=\"hljs-github\"><span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 13px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">if<\/span> __name__ == <span class=\"hljs-github-string\" style=\"color: rgb(221, 17, 68);background: rgba(0, 0, 0, 0);display: inline;width: 66px;text-decoration: none solid rgb(221, 17, 68);font-weight: 400;font-style: normal;\">\"__main__\"<\/span>:<br  \/> &nbsp; &nbsp;<span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 20px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">for<\/span> i <span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 13px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">in<\/span> range(<span class=\"hljs-github-number\" style=\"color: rgb(0, 128, 128);background: rgba(0, 0, 0, 0);display: inline;width: 7px;text-decoration: none solid rgb(0, 128, 128);font-weight: 400;font-style: normal;\">1<\/span>,<span class=\"hljs-github-number\" style=\"color: rgb(0, 128, 128);background: rgba(0, 0, 0, 0);display: inline;width: 13px;text-decoration: none solid rgb(0, 128, 128);font-weight: 400;font-style: normal;\">26<\/span>):<br  \/> &nbsp; &nbsp; &nbsp; &nbsp;main(i)<\/code><\/pre>\n<\/section>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u83b7\u53d6\u5b8c 500 \u672c\u4e66\u7684\u6570\u636e\u4e4b\u540e<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u5b58\u5230 book.txt \u6587\u4ef6<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<section   class=\"mpa-template\" mpa-preserve=\"t\">\n<pre style=\"margin:0;padding:0;border-radius:none;background:none;\"><code style=\"border-radius: 4px;font-size: 0.85em;margin: 0px 0.15em;background: rgb(248, 248, 248);color: rgb(51, 51, 51);display: block;padding: 6px;overflow-x: auto;white-space: nowrap;\" class=\"hljs-github\"><span class=\"hljs-github-function\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 191px;text-decoration: none solid rgb(51, 51, 51);font-weight: 400;font-style: normal;\"><span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 20px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">def<\/span> <span class=\"hljs-github-title\" style=\"color: rgb(153, 0, 0);background: rgba(0, 0, 0, 0);display: inline;width: 119px;text-decoration: none solid rgb(153, 0, 0);font-weight: 700;font-style: normal;\">write_item_to_file<\/span><span class=\"hljs-github-params\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 40px;text-decoration: none solid rgb(51, 51, 51);font-weight: 400;font-style: normal;\">(item)<\/span>:<\/span><br  \/> &nbsp; &nbsp;print(<span class=\"hljs-github-string\" style=\"color: rgb(221, 17, 68);background: rgba(0, 0, 0, 0);display: inline;width: 131px;text-decoration: none solid rgb(221, 17, 68);font-weight: 400;font-style: normal;\">'\u5f00\u59cb\u5199\u5165\u6570\u636e ====&gt; '<\/span> + str(item))<br  \/> &nbsp; &nbsp;<span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 27px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">with<\/span> open(<span class=\"hljs-github-string\" style=\"color: rgb(221, 17, 68);background: rgba(0, 0, 0, 0);display: inline;width: 66px;text-decoration: none solid rgb(221, 17, 68);font-weight: 400;font-style: normal;\">'book.txt'<\/span>, <span class=\"hljs-github-string\" style=\"color: rgb(221, 17, 68);background: rgba(0, 0, 0, 0);display: inline;width: 20px;text-decoration: none solid rgb(221, 17, 68);font-weight: 400;font-style: normal;\">'a'<\/span>, encoding=<span class=\"hljs-github-string\" style=\"color: rgb(221, 17, 68);background: rgba(0, 0, 0, 0);display: inline;width: 46px;text-decoration: none solid rgb(221, 17, 68);font-weight: 400;font-style: normal;\">'UTF-8'<\/span>) <span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 13px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">as<\/span> f:<br  \/> &nbsp; &nbsp; &nbsp; &nbsp;f.write(json.dumps(item, ensure_ascii=<span class=\"hljs-github-keyword\" style=\"color: rgb(51, 51, 51);background: rgba(0, 0, 0, 0);display: inline;width: 33px;text-decoration: none solid rgb(51, 51, 51);font-weight: 700;font-style: normal;\">False<\/span>) + <span class=\"hljs-github-string\" style=\"color: rgb(221, 17, 68);background: rgba(0, 0, 0, 0);display: inline;width: 26px;text-decoration: none solid rgb(221, 17, 68);font-weight: 400;font-style: normal;\">'n'<\/span>)<br  \/> &nbsp; &nbsp; &nbsp; &nbsp;f.close()<\/code><\/pre>\n<\/section>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u5b8c\u6210<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u9879\u76ee\u8dd1\u8d77\u6765<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\" aligncenter\"      style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python6-1581515769.gif\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"     src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python2-1581515769.gif\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6253\u5f00\u6211\u4eec\u5b58\u50a8\u7684 book.txt \u770b\u770b<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\" aligncenter\"       style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python5-1581515770.jpg\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u524d 500 \u672c\u4e66\u7684\u6570\u636e\u5c31\u88ab\u6211\u4eec\u62ff\u5230\u5566<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"     src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python10-1581515770.gif\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u672c\u7bc7\u5b8c<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u5b8c\u6574\u4ee3\u7801\u5c0f\u5e05b\u5df2\u7ecf\u653e\u5230\u516c\u4f17\u53f7\u540e\u53f0\u5566<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u9700\u8981\u7684\u670b\u53cb<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u5728\u516c\u4f17\u53f7\u53d1\u9001<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><strong>500<\/strong><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><strong><br  \/><\/strong><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u5373\u53ef\u83b7\u53d6<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">ok<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u54b1\u4eec\u4e0b\u56de\u518d\u89c1<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: center;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"     src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python9-1581515770.gif\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: center;\"><strong><span style=\"letter-spacing: 2px;text-align: center;\">\u626b\u4e00\u626b<\/span><\/strong><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: center;\"><strong><span style=\"letter-spacing: 2px;text-align: center;\">\u5b66\u4e60 Python \u6ca1\u70e6\u607c<\/span><\/strong><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: center;\"><strong><span style=\"letter-spacing: 2px;text-align: center;\"><br  \/><\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\" aligncenter\"       style=\"width: 69%;height: auto !important;box-shadow: rgb(170, 170, 170) 0em 0em 1em 0px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python2-1581515770.jpeg\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u8fd1\u671f\u6587\u7ae0<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU2ODYzNTkwMg==&amp;mid=2247484110&amp;idx=1&amp;sn=94156b5693931aebe9d1708b87c98488&amp;chksm=fc8bba5fcbfc3349547842cbd201e05937dfa5f93009f9b2bd815e68149cb39fb4f7b6865be7&amp;scene=21#wechat_redirect\" target=\"_blank\" >python\u722c\u866b03 | \u90a3\u4e2a\u53eb\u505aUrllib\u7684\u5e93\u8ba9\u6211\u4eec\u7684python\u5047\u88c5\u662f\u6d4f\u89c8\u5668<\/a><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU2ODYzNTkwMg==&amp;mid=2247484115&amp;idx=1&amp;sn=4f9ca3f0938cf9d9eaa9c6ff6c457481&amp;chksm=fc8bba42cbfc335478f72ef83049238aab250f5cf471cffe60b9ac736368b0eb4dbd2c74bcfd&amp;scene=21#wechat_redirect\" target=\"_blank\" >python\u722c\u866b04 | \u957f\u6c5f\u540e\u6d6a\u63a8\u524d\u6d6a\uff0cRequests\u5e93\u628aurllib\u5e93\u62cd\u5728\u6c99\u6ee9\u4e0a<\/a><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU2ODYzNTkwMg==&amp;mid=2247484120&amp;idx=1&amp;sn=5f5a2ad4f9c458c4ed04c2726cf0b6f2&amp;chksm=fc8bba49cbfc335f1dae0ffc2ad03cad443cb944c2666ba51f70e0e9663bb86bc960971bf804&amp;scene=21#wechat_redirect\" target=\"_blank\" >python\u722c\u866b05 | \u5e74\u8f7b\u4eba\uff0c\u4e0d\u4f1a\u6b63\u5219\u8868\u8fbe\u5f0f\u4f60\u7761\u5f97\u7740\u89c9\uff1f\u6709\u70b9\u51fa\u606f\u6ca1\u6709\uff1f<\/a><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: right;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: right;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><br  \/><\/p>\n<p style=\"text-align: right;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u652f\u6301\u5c0f\u5e05b\u7684\u5c31\u987a\u624b<\/p>\n<p style=\"text-align: right;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"height: 20px !important;max-height: 20px !important;width: 20px !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python2-1581515770.png\" alt=\"python\" title=\"python\"  \/>\u70b9\u4e2a\u597d\u770b\u5427<\/p>\n<blockquote class=\"keep-source\">\n<p>\u539f\u6587\u59cb\u53d1\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7\uff08\u5b66\u4e60python\u7684\u6b63\u786e\u59ff\u52bf\uff09\uff1a<a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU2ODYzNTkwMg==&#038;mid=2247484142&#038;idx=1&#038;sn=d4893c734e44a16db871f7904910bdcb&#038;chksm=fc8bba7fcbfc336964aa4ee74d490098024479e663b9a83e7ca8e7b4ec876009a9f497462c77\">python<\/a><\/p>\n<\/blockquote>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u6765\u5566\uff0c\u8001\u5f1f \u6211\u4eec\u5df2\u7ecf\u77e5\u9053\u600e\u4e48\u4f7f\u7528 Requests \u8fdb\u884c\u5404\u79cd\u8bf7\u6c42\u9a9a\u64cd\u4f5c \u4e5f\u77e5\u9053\u4e86\u5bf9\u670d\u52a1\u5668\u8fd4\u56de\u7684\u6570\u636e\u5982\u4f55\u4f7f\u7528 \u6b63\u5219\u8868\u8fbe\u5f0f \u6765\u8fc7\u6ee4\u6211\u4eec\u60f3\u8981\u7684\u5185\u5bb9 &#8230; \u90a3\u4e48\u63a5\u4e0b\u6765 \u6211\u4eec\u5c31\u4f7f\u7528 requests \u548c re \u6765\u5199\u4e00\u4e2a\u722c\u866b \u4f5c\u4e3a\u4e00\u4e2a\u7231\u770b\u4e66\u7684\u4f60\uff08\u8bf4\u7684\u8ddf&hellip;<\/p>\n","protected":false},"author":1,"featured_media":1904,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[303],"tags":[302,19,300,301],"_links":{"self":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/1903"}],"collection":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1903"}],"version-history":[{"count":1,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/1903\/revisions"}],"predecessor-version":[{"id":1927,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/1903\/revisions\/1927"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/media\/1904"}],"wp:attachment":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}