{"id":1945,"date":"2019-01-22T14:51:24","date_gmt":"2020-02-12T13:56:18","guid":{"rendered":"http:\/\/vip.fxxkpython.com\/?p=1945"},"modified":"2021-08-31T02:19:02","modified_gmt":"2021-08-30T18:19:02","slug":"5b596061be","status":"publish","type":"post","link":"https:\/\/vip.fxxkpython.com\/?p=1945","title":{"rendered":"python\u722c\u866b04 | \u957f\u6c5f\u540e\u6d6a\u63a8\u524d\u6d6a\uff0cRequests\u5e93\u628aurllib\u5e93\u62cd\u5728\u6c99\u6ee9\u4e0a"},"content":{"rendered":"<div class=\"bpp-post-content\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6700\u8fd1\n<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6709\u4e9b\u670b\u53cb<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u770b\u5b8c\u5c0f\u5e05b\u7684\u6587\u7ae0\u4e4b\u540e<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u628a\u5c0f\u5e05b\u7684\u8868\u60c5\u5305\u90fd\u5077\u4e86<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u8fd8\u5728\u6211\u7684\u5fae\u4fe1<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u75af\u72c2\u53d1\u8868\u60c5\u5305\u561a\u745f<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6211\u5c31\u5475\u5475\u4e86<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\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: 56%;height: auto !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python9-1581515778.jpeg\" alt=\"python\" title=\"python\"><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u53ea\u80fd\u8bf4\u4e00\u53e5<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><span style=\"font-size: 20px;\"><strong>\u76d8\u4ed6<\/strong><\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u8fd8\u6709\u4e00\u4e9b\u670b\u53cb<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u770b\u5b8c\u6587\u7ae0\u4e0d\u70b9<strong>\u597d\u770b<\/strong><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u8fd8\u6765\u50ac\u66f4<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u5c0f\u5e05b\u4e5f\u53ea\u80fd\u8bf4\u4e00\u53e5<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><span style=\"font-size: 20px;\"><strong>\u7ee7\u7eed\u76d8\u4ed6<\/strong><\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><span style=\"font-size: 20px;\"><strong><br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><span style=\"font-size: 20px;\"><strong><img decoding=\"async\" class=\"mpa-image aligncenter\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python3-1581515778.jpeg\" alt=\"python\" title=\"python\"><\/strong><\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\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;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u63a5\u4e0b\u6765\u6211\u4eec\u8981\u6765\u73a9\u4e00\u4e2a\u65b0\u7684\u5e93<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u8fd9\u4e2a\u5e93\u7684\u540d\u79f0\u53eb\u505a<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><strong>Requests<\/strong><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u8fd9\u4e2a\u5e93\u6bd4\u6211\u4eec\u4e0a\u6b21\u8bf4\u7684 <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\" rel=\"noopener noreferrer\">urllib<\/a>&nbsp;\u53ef\u662f\u8981\u725b\u903c\u4e00\u4e22\u4e22\u7684<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6bd5\u7adf Requests \u662f\u5728 urllib \u7684\u57fa\u7840\u4e0a\u641e\u51fa\u6765\u7684<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u901a\u8fc7\u5b83\u6211\u4eec\u53ef\u4ee5\u7528\u66f4\u5c11\u7684\u4ee3\u7801<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6a21\u62df\u6d4f\u89c8\u5668\u64cd\u4f5c<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u4eba\u751f\u82e6\u77ed<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\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;\">\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 \/>\n<\/strong><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\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\/python5-1581515779.jpeg\" alt=\"python\" title=\"python\"><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">skr<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u5bf9\u4e8e\u4e0d\u662f python \u7684\u5185\u7f6e\u5e93<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u6211\u4eec\u9700\u8981\u5b89\u88c5\u4e00\u4e0b<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u76f4\u63a5\u4f7f\u7528 pip \u5b89\u88c5<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><span style=\"color: rgb(255, 76, 0);\">pip install requests<\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><span style=\"font-size: 20px;\"><strong><br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u5b89\u88c5\u5b8c\u540e\u5c31\u53ef\u4ee5\u4f7f\u7528\u4e86<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u63a5\u4e0b\u6765\u5c31\u6765\u611f\u53d7\u4e00\u4e0b requests \u5427<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u5bfc\u5165 requests \u6a21\u5757\n<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<pre style=\"overflow: auto hidden;font-family: Consolas, Menlo, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, monospace;font-size: 0.9em;background-color: rgb(238, 238, 238);padding: 11px 14px;margin: 15px 0.5em;line-height: 1.3em;color: rgb(62, 67, 73);text-align: left;\"><span class=\"kn\" style=\"color: rgb(0, 68, 97);font-weight: bold;\">import<\/span> <span class=\"nn\" style=\"color: rgb(0, 0, 0);\">requests<\/span><\/pre>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u4e00\u884c\u4ee3\u7801 Get \u8bf7\u6c42<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<pre style=\"overflow: auto hidden;font-family: Consolas, Menlo, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, monospace;font-size: 0.9em;background-color: rgb(238, 238, 238);padding: 11px 14px;margin: 15px 0.5em;line-height: 1.3em;color: rgb(62, 67, 73);text-align: left;\"><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">requests<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">get<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'https:\/\/api.github.com\/events'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)<\/span><\/pre>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u4e00\u884c\u4ee3\u7801 Post \u8bf7\u6c42<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<pre style=\"overflow: auto hidden;font-family: Consolas, Menlo, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, monospace;font-size: 0.9em;background-color: rgb(238, 238, 238);padding: 11px 14px;margin: 15px 0.5em;line-height: 1.3em;color: rgb(62, 67, 73);text-align: left;\"><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">requests<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">post<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'https:\/\/httpbin.org\/post'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">,<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">data<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">{<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'key'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">:<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'value'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">})<\/span><\/pre>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\"><span style=\"font-size: 20px;\"><strong><br \/>\n<\/strong><\/span><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u5176\u5b83\u4e71\u4e03\u516b\u7cdf\u7684 Http \u8bf7\u6c42<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<pre style=\"overflow: auto hidden;font-family: Consolas, Menlo, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, monospace;font-size: 0.9em;background-color: rgb(238, 238, 238);padding: 11px 14px;margin: 15px 0.5em;line-height: 1.3em;color: rgb(62, 67, 73);text-align: left;\"><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">requests<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">put<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'https:\/\/httpbin.org\/put'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">,<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">data<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">{<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'key'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">:<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'value'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">})\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">requests<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">delete<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'https:\/\/httpbin.org\/delete'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">requests<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">head<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'https:\/\/httpbin.org\/get'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">requests<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">options<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'https:\/\/httpbin.org\/get'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)<\/span><\/pre>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u60f3\u8981\u643a\u5e26\u8bf7\u6c42\u53c2\u6570\u662f\u5427\uff1f<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<pre style=\"overflow: auto hidden;font-family: Consolas, Menlo, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, monospace;font-size: 0.9em;background-color: rgb(238, 238, 238);padding: 11px 14px;margin: 15px 0.5em;line-height: 1.3em;color: rgb(62, 67, 73);text-align: left;\"><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">payload<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">{<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'key1'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">:<\/span> <span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'value1'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">,<\/span> <span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'key2'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">:<\/span> <span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'value2'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">}\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">requests<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">get<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'https:\/\/httpbin.org\/get'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">,<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">params<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">payload<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)<\/span><\/pre>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u5047\u88c5\u81ea\u5df1\u662f\u6d4f\u89c8\u5668<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<pre style=\"overflow: auto hidden;font-family: Consolas, Menlo, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, monospace;font-size: 0.9em;background-color: rgb(238, 238, 238);padding: 11px 14px;margin: 15px 0.5em;line-height: 1.3em;color: rgb(62, 67, 73);text-align: left;\"><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">url<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'https:\/\/api.github.com\/some\/endpoint'\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">headers<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">{<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'user-agent'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">:<\/span> <span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'my-app\/0.0.1'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">}\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">requests<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">get<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">url<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">,<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">headers<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">headers<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)<\/span><\/pre>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u83b7\u53d6\u670d\u52a1\u5668\u54cd\u5e94\u6587\u672c\u5185\u5bb9<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<pre style=\"overflow: auto hidden;font-family: Consolas, Menlo, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, monospace;font-size: 0.9em;background-color: rgb(238, 238, 238);padding: 11px 14px;margin: 15px 0.5em;line-height: 1.3em;color: rgb(62, 67, 73);text-align: left;\"><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"kn\" style=\"color: rgb(0, 68, 97);font-weight: bold;\">import<\/span> <span class=\"nn\" style=\"color: rgb(0, 0, 0);\">requests\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">requests<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">get<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'https:\/\/api.github.com\/events'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">text\n\n<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\">u'[{\"repository\":{\"open_issues\":0,\"url\":\"https:\/\/github.com\/...\n<\/span><\/pre>\n<pre style=\"overflow: auto hidden;font-family: Consolas, Menlo, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, monospace;font-size: 0.9em;background-color: rgb(238, 238, 238);padding: 11px 14px;margin: 15px 0.5em;line-height: 1.3em;color: rgb(62, 67, 73);text-align: left;\"><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">encoding\n\n<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\">'utf-8'\n<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">\n<\/span><\/pre>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u83b7\u53d6\u5b57\u8282\u54cd\u5e94\u5185\u5bb9<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<pre style=\"overflow: auto hidden;font-family: Consolas, Menlo, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, monospace;font-size: 0.9em;background-color: rgb(238, 238, 238);padding: 11px 14px;margin: 15px 0.5em;line-height: 1.3em;color: rgb(62, 67, 73);text-align: left;\"><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">content\n\n<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\">b'[{\"repository\":{\"open_issues\":0,\"url\":\"https:\/\/github.com\/...<\/span><\/pre>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u83b7\u53d6\u54cd\u5e94\u7801<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<pre style=\"overflow: auto hidden;font-family: Consolas, Menlo, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, monospace;font-size: 0.9em;background-color: rgb(238, 238, 238);padding: 11px 14px;margin: 15px 0.5em;line-height: 1.3em;color: rgb(62, 67, 73);text-align: left;\"><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">requests<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">get<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'https:\/\/httpbin.org\/get'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">status_code\n\n<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\">200<\/span><\/pre>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u83b7\u53d6\u54cd\u5e94\u5934<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<pre style=\"overflow: auto hidden;font-family: Consolas, Menlo, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, monospace;font-size: 0.9em;background-color: rgb(238, 238, 238);padding: 11px 14px;margin: 15px 0.5em;line-height: 1.3em;color: rgb(62, 67, 73);text-align: left;\"><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">headers\n\n<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\">{<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\"> &nbsp; &nbsp;\n &nbsp; &nbsp;'content-encoding': 'gzip',<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\"> &nbsp; &nbsp;\n &nbsp; &nbsp;'transfer-encoding': 'chunked',<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\"> &nbsp;\n &nbsp; &nbsp;'connection': 'close',<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\"> &nbsp; &nbsp;\n &nbsp; &nbsp;'server': 'nginx\/1.0.4',<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\"> &nbsp; &nbsp;\n &nbsp; &nbsp;'x-runtime': '148ms',<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\"> &nbsp; &nbsp;\n &nbsp; &nbsp;'etag': '\"e1ca502697e5c9317743dc078f67693f\"',<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\"> &nbsp; \n &nbsp; &nbsp;'content-type': 'application\/json'\n &nbsp; &nbsp;\n<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\">}<\/span><\/pre>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u83b7\u53d6 Json \u54cd\u5e94\u5185\u5bb9<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<pre style=\"overflow: auto hidden;font-family: Consolas, Menlo, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, monospace;font-size: 0.9em;background-color: rgb(238, 238, 238);padding: 11px 14px;margin: 15px 0.5em;line-height: 1.3em;color: rgb(62, 67, 73);text-align: left;\"><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"kn\" style=\"color: rgb(0, 68, 97);font-weight: bold;\">import<\/span> <span class=\"nn\" style=\"color: rgb(0, 0, 0);\">requests\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">requests<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">get<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'https:\/\/api.github.com\/events'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">json<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">()\n\n<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\">[{u'repository': {u'open_issues': 0, u'url': 'https:\/\/github.com\/...<\/span><\/pre>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u83b7\u53d6 socket \u6d41\u54cd\u5e94\u5185\u5bb9<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<pre style=\"overflow: auto hidden;font-family: Consolas, Menlo, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, monospace;font-size: 0.9em;background-color: rgb(238, 238, 238);padding: 11px 14px;margin: 15px 0.5em;line-height: 1.3em;color: rgb(62, 67, 73);text-align: left;\"><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">requests<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">get<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'https:\/\/api.github.com\/events'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">,<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">stream<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span><span class=\"kc\" style=\"color: rgb(0, 68, 97);font-weight: bold;\">True<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">raw\n\n<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\">&lt;urllib3.response.HTTPResponse object at 0x101194810&gt;\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">raw<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">read<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"mi\" style=\"color: rgb(153, 0, 0);\">10<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)\n\n<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\">'x1fx8bx08x00x00x00x00x00x00x03'<\/span><\/pre>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">Post\u8bf7\u6c42<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u5f53\u4f60\u60f3\u8981\u4e00\u4e2a\u952e\u91cc\u9762\u6dfb\u52a0\u591a\u4e2a\u503c\u7684\u65f6\u5019<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<pre style=\"overflow: auto hidden;font-family: Consolas, Menlo, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, monospace;font-size: 0.9em;background-color: rgb(238, 238, 238);padding: 11px 14px;margin: 15px 0.5em;line-height: 1.3em;color: rgb(62, 67, 73);text-align: left;\"><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">payload_tuples<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">[(<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'key1'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">,<\/span> <span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'value1'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">),<\/span> <span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'key1'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">,<\/span> <span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'value2'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)]\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r1<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">requests<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">post<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'https:\/\/httpbin.org\/post'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">,<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">data<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">payload_tuples<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">payload_dict<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">{<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'key1'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">:<\/span> <span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">[<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'value1'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">,<\/span> <span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'value2'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">]}\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r2<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">requests<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">post<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'https:\/\/httpbin.org\/post'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">,<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">data<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">payload_dict<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"nb\" style=\"color: rgb(0, 68, 97);\">print<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r1<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">text<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)\n\n<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\">{<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\"> &nbsp;...<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\"> &nbsp;\"form\": {<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\"> &nbsp; &nbsp;\"key1\": [<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\"> &nbsp; &nbsp; &nbsp;\"value1\",<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\"> &nbsp; &nbsp; &nbsp;\"value2\"<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\"> &nbsp; &nbsp;]<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\"> &nbsp;},<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\"> &nbsp;...<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\">}\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r1<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">text<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">==<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">r2<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">text\n\n<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\">True<\/span><\/pre>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u8bf7\u6c42\u7684\u65f6\u5019\u7528 json \u4f5c\u4e3a\u53c2\u6570<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<pre style=\"overflow: auto hidden;font-family: Consolas, Menlo, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, monospace;font-size: 0.9em;background-color: rgb(238, 238, 238);padding: 11px 14px;margin: 15px 0.5em;line-height: 1.3em;color: rgb(62, 67, 73);text-align: left;\"><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">url<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'https:\/\/api.github.com\/some\/endpoint'\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">payload<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">{<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'some'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">:<\/span> <span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'data'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">}\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">requests<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">post<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">url<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">,<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">json<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">payload<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)<\/span><\/pre>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u60f3\u4e0a\u4f20\u6587\u4ef6\uff1f<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<pre style=\"overflow: auto hidden;font-family: Consolas, Menlo, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, monospace;font-size: 0.9em;background-color: rgb(238, 238, 238);padding: 11px 14px;margin: 15px 0.5em;line-height: 1.3em;color: rgb(62, 67, 73);text-align: left;\"><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">url<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'https:\/\/httpbin.org\/post'\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">files<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">{<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'file'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">:<\/span> <span class=\"nb\" style=\"color: rgb(0, 68, 97);\">open<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'report.xls'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">,<\/span> <span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'rb'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)}\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">requests<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">post<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">url<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">,<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">files<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">files<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">text\n\n<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\">{<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\"> &nbsp;...<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\"> &nbsp;\"files\": {<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\"> &nbsp; &nbsp;\"file\": \"&lt;censored...binary...data&gt;\"<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\"> &nbsp;},<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\"> &nbsp;...<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\">}<\/span><\/pre>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u83b7\u53d6 cookie \u4fe1\u606f<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<pre style=\"overflow: auto hidden;font-family: Consolas, Menlo, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, monospace;font-size: 0.9em;background-color: rgb(238, 238, 238);padding: 11px 14px;margin: 15px 0.5em;line-height: 1.3em;color: rgb(62, 67, 73);text-align: left;\"><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">url<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'http:\/\/example.com\/some\/cookie\/setting\/url'\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">requests<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">get<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">url<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">cookies<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">[<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'example_cookie_name'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">]\n\n<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\">'example_cookie_value'<\/span><\/pre>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u53d1\u9001 cookie \u4fe1\u606f<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<pre style=\"overflow: auto hidden;font-family: Consolas, Menlo, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, monospace;font-size: 0.9em;background-color: rgb(238, 238, 238);padding: 11px 14px;margin: 15px 0.5em;line-height: 1.3em;color: rgb(62, 67, 73);text-align: left;\"><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">url<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'https:\/\/httpbin.org\/cookies'\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">cookies<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"nb\" style=\"color: rgb(0, 68, 97);\">dict<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">cookies_are<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'working'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span> <span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">requests<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">get<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">url<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">,<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">cookies<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">cookies<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)\n\n<\/span><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">r<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">text\n\n<\/span><span class=\"go\" style=\"color: rgb(136, 136, 136);\">'{\"cookies\": {\"cookies_are\": \"working\"}}'<\/span><\/pre>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u8bbe\u7f6e\u8d85\u65f6<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<pre style=\"overflow: auto hidden;font-family: Consolas, Menlo, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, monospace;font-size: 0.9em;background-color: rgb(238, 238, 238);padding: 11px 14px;margin: 15px 0.5em;line-height: 1.3em;color: rgb(62, 67, 73);text-align: left;\"><span class=\"gp\" style=\"color: rgb(116, 83, 52);\">&gt;&gt;&gt; <\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">requests<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">.<\/span><span class=\"n\" style=\"color: rgb(0, 0, 0);\">get<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">(<\/span><span class=\"s1\" style=\"color: rgb(78, 154, 6);\">'https:\/\/github.com\/'<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">,<\/span> <span class=\"n\" style=\"color: rgb(0, 0, 0);\">timeout<\/span><span class=\"o\" style=\"color: rgb(88, 40, 0);\">=<\/span><span class=\"mf\" style=\"color: rgb(153, 0, 0);\">0.001<\/span><span class=\"p\" style=\"color: rgb(0, 0, 0);font-weight: bold;\">)\n\n<\/span><span class=\"gt\" style=\"color: rgb(164, 0, 0);font-weight: bold;\">Traceback (most recent call last):<\/span>   File <span class=\"nb\" style=\"color: rgb(0, 68, 97);\">\"&lt;stdin&gt;\"<\/span>, line <span class=\"m\" style=\"color: rgb(153, 0, 0);\">1<\/span>, in <span class=\"n\" style=\"color: rgb(0, 0, 0);\">&lt;module&gt;<\/span><span class=\"gr\" style=\"color: rgb(239, 41, 41);\">requests.exceptions.Timeout<\/span>: <span class=\"n\" style=\"color: rgb(0, 0, 0);\">HTTPConnectionPool(host='github.com', port=80): Request timed out. (timeout=0.001)<\/span><\/pre>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\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-1581515779.jpeg\" alt=\"python\" title=\"python\"><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u9664\u4e86\u725b\u903c<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u8fd8\u80fd\u8bf4\u4ec0\u4e48\u5462\uff1f\uff1f<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\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\/python7-1581515779.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 \/>\n<\/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\/python9-1581515779.jpeg\" alt=\"python\" title=\"python\"><\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\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;\">\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=2247484073&amp;idx=1&amp;sn=665a1fa621eefba334abcc4da5ed894d&amp;chksm=fc8bba38cbfc332eb514796a25130564071131a102bc795bf7ce30a2a6474532b4cc4d13ac7c&amp;scene=21#wechat_redirect\" target=\"_blank\" rel=\"noopener noreferrer\">python\u722c\u866b\u5165\u95e801\uff1a\u6559\u4f60\u5728Chrome\u6d4f\u89c8\u5668\u8f7b\u677e\u6293\u5305<\/a>\n<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\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=2247484103&amp;idx=1&amp;sn=e6535981a331d391ff05260e47d1e5d6&amp;chksm=fc8bba56cbfc3340d9a9c08d40c2f74e4f8cb71fec806396de85b7b697e1fc7fd75ca5a754c4&amp;scene=21#wechat_redirect\" target=\"_blank\" rel=\"noopener noreferrer\">python\u722c\u866b\u5165\u95e802\uff1a\u6559\u4f60\u901a\u8fc7Fiddler\u8fdb\u884c\u624b\u673a\u6293\u5305<\/a>\n<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\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\" rel=\"noopener noreferrer\">python\u722c\u866b03\uff1a\u90a3\u4e2aUrllib\u7684\u5e93\u8ba9\u6211\u4eec\u5047\u88c5\u662f\u6d4f\u89c8\u5668<\/a>\n<\/p>\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: center;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: right;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: right;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\n<p style=\"text-align: right;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u70b9<span style=\"color: rgb(255, 76, 0);\">\u597d\u770b<\/span>\u7684\u4eba<\/p>\n<p style=\"text-align: right;margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 2px;\">\u4f1a\u6709\u597d\u8fd0\u53d1\u751f\n<\/p>\n<blockquote class=\"keep-source\"><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==&amp;mid=2247484115&amp;idx=1&amp;sn=4f9ca3f0938cf9d9eaa9c6ff6c457481&amp;chksm=fc8bba42cbfc335478f72ef83049238aab250f5cf471cffe60b9ac736368b0eb4dbd2c74bcfd\" rel=\"noopener noreferrer\">python<\/a><\/p><\/blockquote>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1 \u6709\u4e9b\u670b\u53cb \u770b\u5b8c\u5c0f\u5e05b\u7684\u6587\u7ae0\u4e4b\u540e \u628a\u5c0f\u5e05b\u7684\u8868\u60c5\u5305\u90fd\u5077\u4e86 \u8fd8\u5728\u6211\u7684\u5fae\u4fe1 \u75af\u72c2\u53d1\u8868\u60c5\u5305\u561a\u745f \u6211\u5c31\u5475\u5475\u4e86 \u53ea\u80fd\u8bf4\u4e00\u53e5 \u76d8\u4ed6 \u8fd8\u6709\u4e00\u4e9b\u670b\u53cb \u770b\u5b8c\u6587\u7ae0\u4e0d\u70b9\u597d\u770b \u8fd8\u6765\u50ac\u66f4 \u5c0f\u5e05b\u4e5f\u53ea\u80fd\u8bf4\u4e00\u53e5 \u7ee7\u7eed\u76d8\u4ed6 ok \u63a5\u4e0b\u6765\u6211\u4eec\u8981\u6765\u73a9\u4e00\u4e2a\u65b0\u7684\u5e93 \u8fd9\u4e2a\u5e93\u7684\u540d\u79f0\u53eb\u505a R&hellip;<\/p>\n","protected":false},"author":1,"featured_media":1946,"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\/1945"}],"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=1945"}],"version-history":[{"count":2,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/1945\/revisions"}],"predecessor-version":[{"id":6623,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/1945\/revisions\/6623"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/media\/1946"}],"wp:attachment":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}