{"id":2195,"date":"2018-08-22T09:11:00","date_gmt":"2020-02-12T13:58:28","guid":{"rendered":"http:\/\/vip.fxxkpython.com\/?p=2195"},"modified":"2020-02-12T21:58:34","modified_gmt":"2020-02-12T13:58:34","slug":"2c54e9f364","status":"publish","type":"post","link":"https:\/\/vip.fxxkpython.com\/?p=2195","title":{"rendered":"Python\u7684\u4e92\u8054\u7f51\u7f16\u7a0b"},"content":{"rendered":"<div class=\"bpp-post-content\">\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: justify;letter-spacing: 3px;\" ><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 92.125px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python4-1581515908.jpeg\" alt=\"python\" title=\"python\"  \/><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">&nbsp;\u4f60\u600e\u4e48\u8fd8\u5728\u7528Python\u5199\u7684\u5355\u673a\u7248\u7a0b\u5e8f\uff1f<\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: justify;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: justify;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">\u56e0\u4e3a\u6211\u73b0\u5728\u624d\u521a\u5b66\u4e0d\u4e45<\/span><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 54.1875px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python6-1581515908.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 92.125px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python4-1581515909.jpeg\" alt=\"python\" title=\"python\"  \/><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">&nbsp;\u73b0\u5728\u5f00\u53d1\u7684\u57fa\u672c\u4e0a\u90fd\u662f\u4e92\u8054\u7f51\u7a0b\u5e8f\u4e86\uff0c\u4f60\u8981\u4e0d\u8981\u8ddf\u6211\u4e00\u8d77\u5b66\u4e00\u4e0b\u7528Python\u7f51\u7edc\u7f16\u7a0b\uff1f<\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">\u54c7\uff01\u771f\u7684\u5417\uff1f\u5927\u4f6c\u6c42\u5e26\uff01<\/span><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"height: 36px !important;max-height: 36px !important;width: 39.9273px !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python6-1581515909.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 92.125px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python10-1581515909.jpeg\" alt=\"python\" title=\"python\"  \/><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">&nbsp;\u4f4e\u8c03\u4f4e\u8c03\uff0c\u8bf4\u5230\u7f51\u7edc\u7f16\u7a0b\uff0c\u90a3\u4e48\u6211\u4eec\u5148\u8981\u4e86\u89e3\u4e92\u8054\u7f51\u3002<\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">\u6211\u4e86\u89e3\uff0c\u4e92\u8054\u7f51\u5c31\u662f\u628a\u8bb8\u591a\u7f51\u7edc\u8fde\u63a5\u8d77\u6765\u3002<\/span><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"height: 36px !important;max-height: 36px !important;width: 43.8px !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python3-1581515909.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 92.125px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python2-1581515909.jpeg\" alt=\"python\" title=\"python\"  \/><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">&nbsp;\u6069\uff0c\u4e0d\u9519\uff0c\u90a3\u4f60\u77e5\u9053\u4ec0\u4e48\u662fTCP\uff0cUDP\u5417\uff1f<\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">em\uff0c\u4ee5\u524d\u542c\u8fc7\uff0c\u73b0\u5728\u6709\u70b9\u5fd8\u4e86\uff0c\u4f60\u53ef\u4ee5\u7ed9\u6211\u8bf4\u9053\u8bf4\u9053\u5417\uff1f<\/span><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"height: 36px !important;max-height: 36px !important;width: 39.9273px !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python1-1581515909.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 92.125px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python10-1581515909-1.jpeg\" alt=\"python\" title=\"python\"  \/><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">&nbsp;\u53ef\u4ee5\uff0c\u6211\u4eec\u4ee5\u524d\u7684\u8ba1\u7b97\u673a\u7f51\u7edc\uff0c\u4e3a\u4e86\u80fd\u591f\u4e92\u76f8\u901a\u4fe1\uff0c\u5f88\u591a\u5382\u5546\u90fd\u6709\u81ea\u5df1\u7684\u4e00\u5957\u534f\u8bae\uff0c\u8fd9\u5c31\u5f04\u5f97\u5f88\u4e71\uff0c\u56e0\u4e3a\u4e92\u4e0d\u517c\u5bb9\uff0c\u6240\u4ee5\u901a\u4fe1\u8d77\u6765\u5f88\u8d39\u52b2\u3002\u540e\u6765\u5462\uff0c\u4e3a\u4e86\u8ba9\u6210\u5343\u4e0a\u4e07\u7684\u8ba1\u7b97\u673a\u8fde\u63a5\u8d77\u6765\uff0c\u5b9a\u4e49\u4e86\u4e24\u4e2a\u6807\u51c6\u7684\u534f\u8bae\uff0c\u4e00\u4e2a\u662fTCP\uff0c\u4e00\u4e2a\u662f IP\uff0c\u4e5f\u5c31\u662f\u6211\u4eec\u73b0\u5728\u7b80\u79f0\u7684&nbsp;<strong>TCP\/IP \u534f\u8bae\u3002<\/strong><\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><span style=\"color: rgb(136, 136, 136);font-size: 14px;\"><br  \/><\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><span style=\"color: rgb(136, 136, 136);font-size: 14px;\"><br  \/><\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">\u4e5f\u5c31\u662f\u8bf4\u6211\u4eec\u9075\u5faa TCP\/IP \u534f\u8bae\u5c31\u53ef\u4ee5\u4e92\u8054\u4e86\u662f\u5427\uff01<\/span><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"height: 36px !important;max-height: 36px !important;width: 52.7143px !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python10-1581515909.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 92.125px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python1-1581515909.jpeg\" alt=\"python\" title=\"python\"  \/><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">&nbsp;\u6069\uff0c\u901a\u4fe1\u7684\u65f6\u5019\uff0c\u53cc\u65b9\u8981\u77e5\u9053\u5bf9\u65b9\u7684\u6807\u8bc6\uff0c\u624d\u80fd\u901a\u4fe1\u3002<\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">\u90a3\u3002\u3002\u5927\u4f6c\u80fd\u544a\u8bc9\u6211\u4e0b TCP \u548c IP \u7684\u533a\u522b\u5417\uff1f<\/span><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 54.1875px;box-shadow: none;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python3-1581515909-1.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 92.125px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python7-1581515909.jpeg\" alt=\"python\" title=\"python\"  \/><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">&nbsp;\u5f53\u7136\u53ef\u4ee5\uff0c\u90a3\u6211\u5148\u544a\u8bc9\u4f60 IP \u534f\u8bae\u5427\uff0c\u5047\u5982\u6211\u8981\u53d1\u4fe1\u606f\u7ed9\u4f60\uff0c\u6211\u4eec\u90fd\u5728\u4e92\u8054\u7f51\u4e0a\uff0c\u90fd\u6709\u81ea\u5df1\u7684 IP \u5730\u5740\u548c\u8def\u7531\uff0c\u90a3\u4e48\u5f53\u6211\u53d1\u4fe1\u606f\u7ed9\u4f60\u7684\u65f6\u5019\u5462\uff0cIP \u534f\u8bae\u5c31\u8d1f\u8d23\u5c06\u6570\u636e\u8fdb\u884c\u4f20\u8f93\uff0c\u8fd9\u4e9b\u6570\u636e\u88ab\u5206\u5272\u6210\u4e00\u5c0f\u5757\u4e00\u5c0f\u5757\u7684\uff0c\u901a\u8fc7 IP \u5305\u7ed9\u53d1\u9001\u8fc7\u53bb\u3002\u56e0\u4e3a\u4eec\u4e4b\u95f4\u5728\u4e92\u8054\u7f51\u4e0a\u662f\u6709\u5f88\u591a\u94fe\u8def\u7684\uff0c\u6240\u4ee5\u8def\u7531\u5c31\u4f1a\u5c06\u4e00\u5c0f\u5757\u4e00\u5c0f\u5757\u7684\u6570\u636e\u5305\u9010\u4e2a\u8fdb\u884c\u8f6c\u53d1\uff0c\u76f4\u5230\u53d1\u9001\u5230\u4f60\u7684IP\u5730\u5740\u3002\u4f46\u662f\u5b83<strong>\u4e0d\u80fd\u591f\u4fdd\u8bc1\u6570\u636e\u90fd\u80fd\u5230\u8fbe\uff0c\u4e5f\u4fdd\u8bc1\u4e0d\u4e86\u80fd\u591f\u6309\u987a\u5e8f\u7684\u5230\u8fbe\u3002<\/strong><\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">\u554a~\u90a3\u5982\u679c\u4e22\u5931\u600e\u4e48\u529e\uff1f\u6709\u4ec0\u4e48\u529e\u6cd5\u5417\uff1f<\/span><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"height: 36px !important;max-height: 36px !important;width: 39.9273px !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python5-1581515909.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 92.125px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python9-1581515910.jpeg\" alt=\"python\" title=\"python\"  \/><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">&nbsp;\u6709\uff01\u90a3\u5c31\u662f TCP \u534f\u8bae\uff0cTCP\u534f\u8bae\u5efa\u7acb\u5728IP\u534f\u8bae\u4e4b\u4e0a\u7684\u3002TCP\u534f\u8bae\u4f1a\u5efa\u7acb<strong>\u53ef\u9760\u8fde\u63a5\uff0c\u4fdd\u8bc1\u6570\u636e\u5305\u6309\u987a\u5e8f\u5230\u8fbe<\/strong>\u3002TCP\u534f\u8bae\u4f1a\u901a\u8fc7\u63e1\u624b\u5efa\u7acb\u8fde\u63a5\uff0c\u786e\u4fdd\u5bf9\u65b9\u6309\u987a\u5e8f\u6536\u5230\uff0c\u5982\u679c\u5305\u4e22\u6389\u4e86\uff0c\u5c31\u81ea\u52a8\u7684\u91cd\u65b0\u518d\u53d1\u3002<\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">\u54e6\uff0c\u660e\u767d\u4e86\uff0c\u90a3\u521a\u521a\u4f60\u8bf4\u7684 UDP \u53c8\u662f\uff1f<\/span><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"height: 36px !important;max-height: 36px !important;width: 39.9273px !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python8-1581515910.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 92.125px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python1-1581515910.jpeg\" alt=\"python\" title=\"python\"  \/><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">&nbsp;\u6211\u4eec\u5df2\u7ecf\u77e5\u9053\u4e86 TCP \u662f\u9762\u5411\u8fde\u63a5\u7684\uff0c\u6bd4\u8f83\u53ef\u9760\uff0c\u800cUDP\u534f\u8bae\u5462\uff0c\u5b83\u662f\u9762\u5411\u65e0\u8fde\u63a5\u7684\uff0c\u4e5f\u5c31\u662f\u6211\u53ea\u8981\u77e5\u9053\u4f60\u7684IP\u5730\u5740\u548c\u7aef\u53e3\u5c31\u53ef\u4ee5\u76f4\u63a5\u7ed9\u4f60\u53d1\u9001\u6570\u636e\u4e86\uff0c\u4e0d\u9700\u8981\u5148\u8ddf\u4f60\u63e1\u624b\uff0c\u4e0d\u8fc7\u6570\u636e\u80fd\u4e0d\u80fd\u5230\u8fbe\u5c31\u4e0d\u77e5\u9053\u4e86\u3002<\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">\u54e6\uff0c\u660e\u767d\uff0c\u5c31\u662fTCP\u53ef\u9760\uff0cUDP\u4f20\u8f93\u6548\u7387\u9ad8\u3002<\/span><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"height: 36px !important;max-height: 36px !important;width: 52.7143px !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python0-1581515910.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 92.125px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python9-1581515910-1.jpeg\" alt=\"python\" title=\"python\"  \/><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">&nbsp;\u5bf9\u5934\uff0c\u6240\u4ee5\u5462\uff0c\u5982\u679c\u4e0d\u8981\u6c42\u6570\u636e\u53ef\u9760\u5230\u8fbe\u7684\u8bdd\u5c31\u53ef\u4ee5\u7528UDP\u3002\u90a3\u4e48\u63a5\u4e0b\u6765\u6211\u4eec\u5c31\u7528 Python \u6765\u8fdb\u884c TCP \u548c UDP \u7684\u7f16\u7a0b\u5427\u3002<\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">\u592a\u597d\u4e86\uff01\uff01<\/span><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"height: 36px !important;max-height: 36px !important;width: 55.2px !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python0-1581515910-1.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 92.125px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python3-1581515910.jpeg\" alt=\"python\" title=\"python\"  \/><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">&nbsp;\u4e0d\u8fc7\u5728\u6b64\u4e4b\u524d\u8ddf\u4f60\u8bb2\u4e00\u4e0b Socket \u7684\u4e1c\u897f\uff0c\u56e0\u4e3a\u7b49\u4e0b\u6211\u4eec\u8981\u7528\u5230\uff0cSocket \u5728\u4e92\u8054\u7f51\u7f16\u7a0b\u4e2d\u8868\u793a\u5efa\u7acb\u4e86\u4e00\u4e2a\u4e92\u8054\u7f51\u8fde\u63a5\uff0cSocket\u77e5\u9053\u4e86\u5bf9\u65b9\u7684IP\u5730\u5740\u3001\u7aef\u53e3\u53f7\u3001\u534f\u8bae\uff0c\u5c31\u53ef\u4ee5\u5efa\u7acb\u8fde\u63a5\u4e86\u3002<\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">\u6069\uff0c\u611f\u8c22\u5927\u4f6c\uff0c\u660e\u767d\u4e86\u3002<\/span><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"height: 36px !important;max-height: 36px !important;width: 54.7826px !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python1-1581515910.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 92.125px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python1-1581515910-1.jpeg\" alt=\"python\" title=\"python\"  \/><span style=\"color: rgb(136, 136, 136);font-size: 14px;\">&nbsp;ok\uff0c\u90a3\u6211\u4eec\u5f00\u59cb\u5427\uff01<\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><span style=\"font-size: 20px;\"><strong>1<\/strong><\/span><strong>&nbsp;Python \u4e2d\u7684 TCP \u7f16\u7a0b<\/strong><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><strong><br  \/><\/strong><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><strong>1.1 TCP\u5ba2\u6237\u7aef\u7684\u7f16\u5199<\/strong><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\">\u6211\u4eec\u73b0\u5728\u8bbf\u95ee\u4e00\u4e9b\u7f51\u9875\u4ec0\u4e48\u7684\uff0c\u8fd9\u4e9b\u7f51\u9875\u662f\u5728\u670d\u52a1\u5668\u7aef\u7684\uff0c\u800c\u6211\u4eec\u8bbf\u95ee\u7684\u8bbe\u5907\u5c5e\u4e8e\u5ba2\u6237\u7aef\u3002<\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\">\u6bd4\u5982\u6211\u4eec\u73b0\u5728\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95ee\u8fd9\u4e2a\u5730\u5740\uff1a<\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><span style=\"color: rgb(0, 128, 255);\">http:\/\/www.meizitu.com\/<\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\">\u90a3\u4e48\u4f1a\u5f97\u5230\u597d\u591a\u5c0f\u59d0\u59d0\u7684\u56fe\u7247\u54c8\u54c8\uff1a<\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;\"><img decoding=\"async\" class=\" aligncenter\"       style=\"box-shadow: rgb(170, 170, 170) 0em 0em 1em 0px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python1-1581515911.jpg\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: justify;letter-spacing: 3px;\">\u90a3\u4e48\u6211\u4eec\u600e\u4e48\u901a\u8fc7 Python \u6765\u5efa\u7acb\u53ef\u9760\u7684 TCP \u8fde\u63a5\uff0c\u83b7\u53d6\u5230\u8fd9\u4e9b\u56fe\u7247\u5462\uff1f<br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: justify;letter-spacing: 3px;\"><br  \/><\/p>\n<pre style=\"margin-right: 0.5em;margin-left: 0.5em;background-color: rgb(43, 43, 43);font-size: 12pt;color: rgb(169, 183, 198);font-family: \u5b8b\u4f53;\"><span style=\"color: rgb(128, 128, 128);\"># \u5bfc\u5165socket\u8fd9\u4e2a\u5e93<br  \/><\/span><span style=\"color: rgb(204, 120, 50);\">import <\/span>socket<br  \/><br  \/><span style=\"color: rgb(128, 128, 128);\"># \u521b\u5efa\u4e00\u4e2asocket\u5bf9\u8c61<br  \/><\/span>s = socket.socket(socket.AF_INET<span style=\"color: rgb(204, 120, 50);\">,<\/span>socket.SOCK_STREAM)<br  \/><span style=\"color: rgb(128, 128, 128);\"># \u5f00\u59cb\u5efa\u7acbTCP\u8fde\u63a5<br  \/><\/span>s.connect((<span style=\"color: rgb(106, 135, 89);\">\"www.meizitu.com\"<\/span><span style=\"color: rgb(204, 120, 50);\">,<\/span><span style=\"color: rgb(104, 151, 187);\">80<\/span>))<br  \/><span style=\"color: rgb(128, 128, 128);\"># \u8fde\u63a5\u540e\uff0c\u53d1\u9001\u8bf7\u6c42<br  \/><\/span>s.send(<span style=\"color: rgb(165, 194, 97);\">b'GET \/ HTTP\/1.1<\/span><span style=\"color: rgb(204, 120, 50);\">rn<\/span><span style=\"color: rgb(165, 194, 97);\">Host: www.meizitu.com<\/span><span style=\"color: rgb(204, 120, 50);\">rn<\/span><span style=\"color: rgb(165, 194, 97);\">Connection: close<\/span><span style=\"color: rgb(204, 120, 50);\">rnrn<\/span><span style=\"color: rgb(165, 194, 97);\">'<\/span>)<br  \/><span style=\"color: rgb(128, 128, 128);\"># \u63a5\u6536\u6570\u636e<br  \/><\/span>buffer = []<br  \/><span style=\"color: rgb(204, 120, 50);\">while True<\/span>:<br  \/>    d = s.recv(<span style=\"color: rgb(104, 151, 187);\">1024<\/span>)<br  \/>    <span style=\"color: rgb(204, 120, 50);\">if <\/span>d:<br  \/>        buffer.append(d)<br  \/>    <span style=\"color: rgb(204, 120, 50);\">else<\/span>:<br  \/>        <span style=\"color: rgb(204, 120, 50);\">break<br  \/><\/span><span style=\"color: rgb(128, 128, 128);\"># \u628a\u5b57\u8282\u8fde\u63a5\u8d77\u6765<br  \/><\/span>data = <span style=\"color: rgb(165, 194, 97);\">b''<\/span>.join(buffer)<br  \/><br  \/><span style=\"color: rgb(128, 128, 128);\"># \u5173\u95ed\u8fde\u63a5<br  \/><\/span>s.close()<br  \/><br  \/><span style=\"color: rgb(128, 128, 128);\"># \u628a\u6570\u636e\u8bfb\u53d6\u51fa\u6765<br  \/><\/span><span style=\"color: rgb(128, 128, 128);\"><br  \/><\/span><span style=\"color: rgb(204, 120, 50);\">with <\/span><span style=\"color: rgb(136, 136, 198);\">open<\/span>(<span style=\"color: rgb(106, 135, 89);\">'meizi.html'<\/span><span style=\"color: rgb(204, 120, 50);\">,<\/span><span style=\"color: rgb(106, 135, 89);\">'wb'<\/span>) <span style=\"color: rgb(204, 120, 50);\">as <\/span>f:<br  \/>    f.write(data)<br  \/><br  \/><br  \/><\/pre>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: justify;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: justify;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: justify;letter-spacing: 3px;\">\u8fd0\u884c\u4e4b\u540e\uff0c\u6211\u4e48\u5c31\u6709\u4e86\u54b1\u4eec\u7684\u59b9\u7eb8\u6587\u4ef6\uff1a<br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: justify;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: center;\"><img decoding=\"async\" class=\" aligncenter\"       style=\"box-shadow: rgb(170, 170, 170) 0em 0em 1em 0px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python5-1581515911.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\">\u6253\u5f00\u6709\u60ca\u559c\u3002<\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 92.125px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python10-1581515911.jpeg\" alt=\"python\" title=\"python\"  \/>&nbsp;<span style=\"font-size: 14px;color: rgb(136, 136, 136);\">\u8fd9\u5c31\u662f\u5efa\u7acbTCP\u8fde\u63a5\uff0c\u7136\u540e\u5ba2\u6237\u7aef\u5411\u670d\u52a1\u7aef\u53d1\u9001\u8bf7\u6c42\u7684\u8fc7\u7a0b\u4e86\u3002<\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\"><br  \/><\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;text-align: right;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\">\u55ef\u55ef\u55ef\uff0c\u6211\u61c2\u4e86\uff0c\u6211\u8fd9\u5c31\u53bb\u8bd5\u8bd5\uff0c\u5c0f\u59d0\u59d0\u7b49\u6211\u3002<\/span><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"height: 36px !important;max-height: 36px !important;width: 34.8571px !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python4-1581515911.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;text-align: right;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;text-align: right;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 92.125px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python1-1581515911.jpeg\" alt=\"python\" title=\"python\"  \/>&nbsp;<span style=\"font-size: 14px;color: rgb(136, 136, 136);\">\u77a7\u628a\u4f60\u6025\u7684\uff0c\u670d\u52a1\u7aef\u600e\u4e48\u5199\u4e0d\u4e86\u89e3\u4e00\u4e0b\uff1f<\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\"><br  \/><\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\"><br  \/><\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\"><br  \/><\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;text-align: right;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\">\u8981\u554a\uff0c\u89c1\u7b11\u89c1\u7b11\uff0c\u6211\u628a\u7eb8\u5dfe\u6536\u56de\u53bb\u5148\u3002<img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"height: 36px !important;max-height: 36px !important;width: 49.5652px !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python4-1581515911-1.png\" alt=\"python\" title=\"python\"  \/><\/span><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><strong>1.2 TCP \u670d\u52a1\u7aef\u7684\u7f16\u5199<\/strong><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\">\u670d\u52a1\u7aef\u4e00\u822c\u90fd\u662f\u4e00\u76f4\u5728\u8fd0\u884c\u7740\u7684\uff0c\u7b49\u5f85\u7740\u5ba2\u6237\u7aef\u6765\u8fde\u63a5\uff0c\u7136\u540e\u7ed9\u51fa\u8bf7\u6c42\u54cd\u5e94\uff0c\u670d\u52a1\u7aef\u9700\u8981\u63d0\u4f9b ip \u5730\u5740\u548c\u7aef\u53e3\u7ed9\u5ba2\u6237\u7aef\u53bb\u8fde\u63a5\u3002<\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\">\u9996\u5148\u6211\u4eec\u6765\u5199\u4e00\u4e2a\u7b80\u5355\u670d\u52a1\u7aef\u7684\uff1a<\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<pre style=\"margin-right: 0.5em;margin-left: 0.5em;background-color: rgb(43, 43, 43);font-size: 12pt;color: rgb(169, 183, 198);font-family: \u5b8b\u4f53;\"><span style=\"color: rgb(204, 120, 50);\">import <\/span>socket<br  \/><br  \/><span style=\"color: rgb(128, 128, 128);\"># \u521b\u5efasocket\u5bf9\u8c61<br  \/><\/span>s = socket.socket(socket.AF_INET<span style=\"color: rgb(204, 120, 50);\">,<\/span>socket.SOCK_STREAM)<br  \/><br  \/><span style=\"color: rgb(128, 128, 128);\"># \u7ed1\u5b9a\u76d1\u542c\u7aef\u53e3<br  \/><\/span>s.bind((<span style=\"color: rgb(106, 135, 89);\">'127.0.0.1'<\/span><span style=\"color: rgb(204, 120, 50);\">,<\/span><span style=\"color: rgb(104, 151, 187);\">8888<\/span>))<br  \/><br  \/><span style=\"color: rgb(128, 128, 128);\"># \u76d1\u542c<br  \/><\/span>s.listen(<span style=\"color: rgb(104, 151, 187);\">1<\/span>)<br  \/><br  \/><span style=\"color: rgb(204, 120, 50);\">while True<\/span>:<br  \/>    <span style=\"color: rgb(128, 128, 128);\"># \u63a5\u6536\u8fde\u63a5<br  \/><\/span><span style=\"color: rgb(128, 128, 128);\"> &nbsp; <\/span>sock<span style=\"color: rgb(204, 120, 50);\">,<\/span>addr = s.accept()<br  \/>    <span style=\"color: rgb(136, 136, 198);\">print<\/span>(<span style=\"color: rgb(106, 135, 89);\">\"\u6709\u4eba\u8fde\u8fdb\u6765\u4e86\"<\/span>)<br  \/>    sock.send(<span style=\"color: rgb(165, 194, 97);\">b'hei man, are you ok?'<\/span>)<br  \/>    sock.close<\/pre>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\">\u5f53\u6709\u4eba\u8fde\u63a5\u8fdb\u6765\u6211\u4eec\u5c31\u7ed9\u4ed6\u53d1\u4e00\u53e5\uff1ahei man\uff0care you ok \uff1f<\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\">\u63a5\u7740\u6211\u4eec\u518d\u6765\u5199\u4e2a\u5ba2\u6237\u7aef\u7684\u8fde\u63a5\u8fc7\u53bb\uff1a<\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<pre style=\"margin-right: 0.5em;margin-left: 0.5em;background-color: rgb(43, 43, 43);font-size: 12pt;color: rgb(169, 183, 198);font-family: \u5b8b\u4f53;\"><span style=\"color: rgb(128, 128, 128);\"># \u5bfc\u5165socket\u8fd9\u4e2a\u5e93<br  \/><\/span><span style=\"color: rgb(204, 120, 50);\">import <\/span>socket<br  \/><br  \/><span style=\"color: rgb(128, 128, 128);\"># \u521b\u5efa\u4e00\u4e2asocket\u5bf9\u8c61<br  \/><\/span>s = socket.socket(socket.AF_INET<span style=\"color: rgb(204, 120, 50);\">,<\/span>socket.SOCK_STREAM)<br  \/><span style=\"color: rgb(128, 128, 128);\"># \u5f00\u59cb\u5efa\u7acbTCP\u8fde\u63a5<br  \/><\/span>s.connect((<span style=\"color: rgb(106, 135, 89);\">\"127.0.0.1\"<\/span><span style=\"color: rgb(204, 120, 50);\">,<\/span><span style=\"color: rgb(104, 151, 187);\">8888<\/span>))<br  \/><span style=\"color: rgb(128, 128, 128);\"># \u63a5\u6536\u6570\u636e<br  \/><\/span>buffer = []<br  \/>d = s.recv(<span style=\"color: rgb(104, 151, 187);\">1024<\/span>)<br  \/>buffer.append(d)<br  \/><br  \/><span style=\"color: rgb(128, 128, 128);\"># \u628a\u5b57\u8282\u8fde\u63a5\u8d77\u6765<br  \/><\/span>data = <span style=\"color: rgb(165, 194, 97);\">b''<\/span>.join(buffer)<br  \/><span style=\"color: rgb(136, 136, 198);\">print<\/span>(data)<br  \/><br  \/><span style=\"color: rgb(128, 128, 128);\"># \u5173\u95ed\u8fde\u63a5<br  \/><\/span>s.close()<\/pre>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;text-align: justify;\">\u7136\u540e\u5148\u8fd0\u884c\u6211\u4eec\u7684\u670d\u52a1\u7aef\uff0c\u518d\u8fd0\u884c\u5ba2\u6237\u7aef\uff1a<\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;text-align: justify;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;text-align: center;\"><img decoding=\"async\" class=\" aligncenter\"           style=\"width: 558px;height: 108px;box-shadow: rgb(170, 170, 170) 0em 0em 1em 0px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python0-1581515911.jpeg\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;text-align: center;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;text-align: center;\"><img decoding=\"async\" class=\" aligncenter\"       style=\"box-shadow: rgb(170, 170, 170) 0em 0em 1em 0px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python0-1581515912.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: justify;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 17%;height: auto !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python8-1581515912.jpeg\" alt=\"python\" title=\"python\"  \/>&nbsp;<span style=\"font-size: 14px;color: rgb(136, 136, 136);\">\u8fd9\u5c31\u662fTCP\u4e86\uff0c\u8fd9\u91cc\u6211\u5c31\u6a21\u62df\u81ea\u5df1\u4e00\u4e2a\u4eba\u6765\u8fde\u63a5\uff0c\u5982\u679c\u591a\u4e2a\u8fde\u63a5\u5c31\u8981\u5f00\u542f\u591a\u4e2a\u7ebf\u7a0b\uff0c\u61c2\u4e86\u4e48\uff1f<\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: justify;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: justify;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: justify;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: right;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\">\u61c2\u4e86\u61c2\u4e86\uff0c\u8c22\u8c22\u5927\u4f6c\uff0c\u7ed9~<\/span><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"height: 36px !important;max-height: 36px !important;width: 63.6522px !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python6-1581515912.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: right;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 17%;height: auto !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python4-1581515912.jpeg\" alt=\"python\" title=\"python\"  \/>&nbsp;<span style=\"font-size: 14px;color: rgb(136, 136, 136);\">\u80a5\u7682\u5c31\u4e0d\u5fc5\u4e86\uff0c\u6211\u662f\u76f4\u7537\u3002<\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\"><br  \/><\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\"><br  \/><\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\"><br  \/><\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\"><br  \/><\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: right;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\">\u4e0d\u597d\u610f\u601d\uff0c\u6211\u521a\u521a\u62ff\u9519\u4e86\uff0c\u5bf9\u4e86\uff0c\u5927\u4f6c\uff0c\u90a3\u6211\u600e\u4e48\u4f7f\u7528Python\u6765\u7f16\u5199UDP\u534f\u8bae\u7684\u5462\uff1f<img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"height: 36px !important;max-height: 36px !important;width: 57.3913px !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python4-1581515912.png\" alt=\"python\" title=\"python\"  \/><\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: right;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: right;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: right;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 17%;height: auto !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python6-1581515912.jpeg\" alt=\"python\" title=\"python\"  \/>&nbsp;<span style=\"font-size: 14px;color: rgb(136, 136, 136);\">\u4f60\u5df2\u7ecf\u77e5\u9053\u4e86 TCP \uff0c\u90a3\u4e48 UDP \u4e5f\u5dee\u4e0d\u591a\u7684\uff0c\u4e0d\u8fc7UDP\u66f4\u7b80\u5355\u4e00\u4e9b\uff0c\u5b83\u4e0d\u9700\u8981\u5efa\u7acb\u53ef\u9760\u7684\u8fde\u63a5\uff0c\u76f4\u63a5\u8bf7\u6c42\u5c31\u53ef\u4ee5\u4e86\uff0c\u6211\u5199\u4e2a\u4ee3\u7801\u7ed9\u4f60\u770b\u770b\u5427\u3002<\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><span style=\"font-size: 20px;\"><strong>2<\/strong><\/span><strong> Python\u4e2d\u7684 UDP \u7f16\u7a0b<\/strong><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\">\u6211\u4eec\u6765\u5148\u5199\u670d\u52a1\u7aef\uff1a<\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><br  \/><\/p>\n<pre style=\"background-color: rgb(43, 43, 43);color: rgb(169, 183, 198);font-family: \u5b8b\u4f53;font-size: 12pt;margin-left: 0.5em;margin-right: 0.5em;\"><span style=\"color:#cc7832;\">import <\/span>socket<br  \/><br  \/><span style=\"color:#808080;\"># \u521b\u5efasocket\u5bf9\u8c61,\u8fd9\u91cc\u4f20\u5165\u7684\u662fSOCK_DGRAM\uff0c\u4ee3\u8868UDP<br  \/><\/span>s = socket.socket(socket.AF_INET<span style=\"color:#cc7832;\">,<\/span>socket.SOCK_DGRAM)<br  \/><br  \/><span style=\"color:#808080;\"># \u7ed1\u5b9a\u76d1\u542c\u7aef\u53e3<br  \/><\/span>s.bind((<span style=\"color:#6a8759;\">'127.0.0.1'<\/span><span style=\"color:#cc7832;\">,<\/span><span style=\"color:#6897bb;\">8090<\/span>))<br  \/><br  \/><span style=\"color:#cc7832;\">while True<\/span>:<br  \/>    <span style=\"color:#808080;\"># \u63a5\u6536\u8fde\u63a5<br  \/><\/span><span style=\"color:#808080;\"> &nbsp; <\/span>data<span style=\"color:#cc7832;\">,<\/span>addr = s.recvfrom(<span style=\"color:#6897bb;\">1024<\/span>)<br  \/>    <span style=\"color:#8888c6;\">print<\/span>(addr)<br  \/>    s.sendto(<span style=\"color:#a5c261;\">b'hei man, are you ok?'<\/span><span style=\"color:#cc7832;\">,<\/span>addr)<\/pre>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><strong><br  \/><\/strong><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\">\u53ef\u4ee5\u770b\u5230\uff0c\u5728\u8fd9\u91cc\u6211\u4eec\u4e0d\u9700\u8981\u8ddf\u5bf9\u65b9\u8fde\u63a5\uff0c\u53ea\u8981\u77e5\u9053\u5730\u5740\u5c31\u76f4\u63a5\u53d1\u9001\u8fc7\u53bb\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\">\u5ba2\u6237\u7aef\uff1a<\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><br  \/><\/p>\n<pre style=\"background-color: rgb(43, 43, 43);color: rgb(169, 183, 198);font-family: \u5b8b\u4f53;font-size: 12pt;margin-left: 0.5em;margin-right: 0.5em;\"><span style=\"color:#cc7832;\">import <\/span>socket<br  \/><br  \/><span style=\"color:#808080;\"># \u521b\u5efa\u4e00\u4e2asocket\u5bf9\u8c61<br  \/><\/span>s = socket.socket(socket.AF_INET<span style=\"color:#cc7832;\">,<\/span>socket.SOCK_DGRAM)<br  \/><br  \/>s.sendto(<span style=\"color:#a5c261;\">b'ha'<\/span><span style=\"color:#cc7832;\">,<\/span>(<span style=\"color:#6a8759;\">\"127.0.0.1\"<\/span><span style=\"color:#cc7832;\">,<\/span><span style=\"color:#6897bb;\">8090<\/span>))<br  \/><span style=\"color:#808080;\"># \u63a5\u6536\u6570\u636e<br  \/><\/span><span style=\"color:#8888c6;\">print<\/span>(s.recv(<span style=\"color:#6897bb;\">1024<\/span>).decode(<span style=\"color:#6a8759;\">'utf-8'<\/span>))<br  \/><br  \/><span style=\"color:#808080;\"># \u5173\u95ed\u8fde\u63a5<br  \/><\/span>s.close()<\/pre>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\">\u8fd0\u884c\u5982\u4e0b\uff1a<\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><br  \/><\/p>\n<p style=\"margin-left: 1em;margin-right: 1em;\"><img decoding=\"async\" class=\" aligncenter\"       style=\"box-shadow: rgb(170, 170, 170) 0em 0em 1em 0px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python8-1581515912.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-left: 1em;margin-right: 1em;\"><br  \/><\/p>\n<p style=\"margin-left: 1em;margin-right: 1em;\"><img decoding=\"async\" class=\" aligncenter\"       style=\"width: 83%;height: auto !important;box-shadow: rgb(170, 170, 170) 0em 0em 1em 0px;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python6-1581515912-1.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 17%;height: auto !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python7-1581515913.jpeg\" alt=\"python\" title=\"python\"  \/>&nbsp;<span style=\"font-size: 14px;color: rgb(136, 136, 136);\">\u8fd9\u5c31\u662fUDP\u3002<\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\"><br  \/><\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\"><br  \/><\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: right;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\">\u611f\u8c22\u5927\u4f6c\uff0c\u6211\u53bb\u8bd5\u4e00\u4e0b<img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"height: 36px !important;max-height: 36px !important;width: 30.3614px !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python8-1581515913.png\" alt=\"python\" title=\"python\"  \/><\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: right;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\"><br  \/><\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: right;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\"><br  \/><\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\"><img decoding=\"async\" class=\"mpa-image aligncenter\"    style=\"width: 17%;height: auto !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python5-1581515913.jpeg\" alt=\"python\" title=\"python\"  \/>&nbsp;\u6069\uff0c\u53bb\u5427\uff0c\u5c11\u770b\u70b9\u59b9\u7eb8\u56fe\u3002<\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\"><br  \/><\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\"><br  \/><\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\"><br  \/><\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\"><br  \/><\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\"><br  \/><\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: left;\"><span style=\"font-size: 14px;color: rgb(136, 136, 136);\"><br  \/><\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: center;\"><span style=\"letter-spacing: 3px;text-align: center;\">\u5173\u6ce8\u6211\uff0c\u8ba9\u4f60\u50cf\u770b\u5c0f\u9ec4\u6587\u4e00\u6837\u8f7b\u677e\u5b66\u5230 Python \u7684\u6240\u6709\uff01<\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: center;\"><span style=\"letter-spacing: 3px;text-align: center;\"><br  \/><\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: center;\"><span style=\"letter-spacing: 3px;text-align: center;\">\u957f\u6309\u8bc6\u522b<\/span><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: justify;\"><br  \/><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\" aligncenter\"       style=\"width: 39%;box-shadow: rgb(170, 170, 170) 0em 0em 1em 0px;height: auto !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python8-1581515913.jpeg\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: justify;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;text-align: center;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;text-align: center;\">\u70b9\u8d5e\uff0c\u8f6c\u53d1\u5230\u670b\u53cb\u5708\u662f\u4e00\u79cd\u652f\u6301<br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;text-align: justify;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;text-align: justify;\"><br  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;letter-spacing: 3px;text-align: right;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"     style=\"width: 22%;height: auto !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python0-1581515914.gif\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-right: 0.5em;margin-left: 0.5em;white-space: normal;text-align: right;letter-spacing: 3px;\"><br  \/><\/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=2247483927&#038;idx=1&#038;sn=383b1ee2fbe3a41ad40ed68334ff6d37&#038;chksm=fc8bba86cbfc33907580f686ad53e21461b9447b9c795fd10c6e516ee676ee4268493f30045e\">python<\/a><\/p>\n<\/blockquote>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;\u4f60\u600e\u4e48\u8fd8\u5728\u7528Python\u5199\u7684\u5355\u673a\u7248\u7a0b\u5e8f\uff1f \u56e0\u4e3a\u6211\u73b0\u5728\u624d\u521a\u5b66\u4e0d\u4e45 &nbsp;\u73b0\u5728\u5f00\u53d1\u7684\u57fa\u672c\u4e0a\u90fd\u662f\u4e92\u8054\u7f51\u7a0b\u5e8f\u4e86\uff0c\u4f60\u8981\u4e0d\u8981\u8ddf\u6211\u4e00\u8d77\u5b66\u4e00\u4e0b\u7528Python\u7f51\u7edc\u7f16\u7a0b\uff1f \u54c7\uff01\u771f\u7684\u5417\uff1f\u5927\u4f6c\u6c42\u5e26\uff01 &nbsp;\u4f4e\u8c03\u4f4e\u8c03\uff0c\u8bf4\u5230\u7f51\u7edc\u7f16\u7a0b\uff0c\u90a3\u4e48\u6211\u4eec\u5148\u8981\u4e86\u89e3\u4e92\u8054&hellip;<\/p>\n","protected":false},"author":1,"featured_media":2196,"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\/2195"}],"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=2195"}],"version-history":[{"count":1,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/2195\/revisions"}],"predecessor-version":[{"id":2240,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/2195\/revisions\/2240"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/media\/2196"}],"wp:attachment":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}