{"id":54781,"date":"2021-01-26T20:11:22","date_gmt":"2021-01-26T12:11:22","guid":{"rendered":"http:\/\/www.zhushiyao.com\/?p=54781"},"modified":"2021-01-26T20:12:09","modified_gmt":"2021-01-26T12:12:09","slug":"45b9f8e872","status":"publish","type":"post","link":"http:\/\/www.zhushiyao.com\/?p=54781","title":{"rendered":"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01"},"content":{"rendered":"<div class=\"bpp-post-content\">\n<section style=\"font-size: 16px; color: #3e3e3e; line-height: 1.6; letter-spacing: 0px; font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;\">\n<blockquote style=\"font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif; white-space: normal;\">\n<p><span style=\"font-size: 14px;\">\u82f1\u6587\uff1aErik van Baaren\uff0c\u7ffb\u8bd1\uff1aPython\u732b &#8211; \u6570\u636e\u9ed1\u5ba2<\/span><\/p>\n<\/blockquote>\n<p style=\"color: #3e3e3e; font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif; font-size: 16px; white-space: normal;\"><span style=\"font-size: 15px; color: inherit; letter-spacing: 0px;\">\u4e3a\u4ec0\u4e48\u6211\u559c\u6b22Python\uff1f<\/span><span style=\"font-size: 15px; color: inherit; letter-spacing: 0px;\">\u5bf9\u4e8e\u521d\u5b66\u8005\u6765\u8bf4\uff0c\u8fd9\u662f\u4e00\u79cd\u7b80\u5355\u6613\u5b66\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u53e6\u4e00\u4e2a\u539f\u56e0\uff1a<\/span><span style=\"font-size: 15px; color: inherit; letter-spacing: 0px;\">\u5927\u91cf\u5f00\u7bb1\u5373\u7528\u7684\u7b2c\u4e09\u65b9\u5e93\uff0c\u6b63\u662f23\u4e07\u4e2a\u7531\u7528\u6237\u63d0\u4f9b\u7684\u8f6f\u4ef6\u5305\u4f7f\u5f97Python\u771f\u6b63\u5f3a\u5927\u548c\u6d41\u884c\u3002<\/span><\/p>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u5728\u672c\u6587\u4e2d\uff0c\u6211\u6311\u9009\u4e8615\u4e2a\u6700\u6709\u7528\u7684\u8f6f\u4ef6\u5305\uff0c\u4ecb\u7ecd\u5b83\u4eec\u7684\u529f\u80fd\u548c\u7279\u70b9\u3002<\/span><\/p>\n<h2 style=\"line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em; font-weight: bold; color: #159957; text-align: center; font-size: 1.4em;\"><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">1. Dash<\/span><\/h2>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">Dash\u662f\u6bd4\u8f83\u65b0\u7684\u8f6f\u4ef6\u5305\uff0c\u5b83\u662f\u7528\u7eafPython\u6784\u5efa\u6570\u636e\u53ef\u89c6\u5316app\u7684\u7406\u60f3\u9009\u62e9\uff0c\u56e0\u6b64\u7279\u522b\u9002\u5408\u5904\u7406\u6570\u636e\u7684\u4efb\u4f55\u4eba\u3002Dash\u662fFlask\uff0cPlotly.js\u548cReact.js\u7684\u6df7\u5408\u4f53\u3002<\/span><\/p>\n<figure style=\"font-size: inherit; color: inherit; line-height: inherit;\"><img decoding=\"async\" style=\"font-size: inherit; color: inherit; line-height: inherit; display: block; margin-right: auto; margin-left: auto;\" title=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/01\/8-1611663083.png\" alt=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" \/><\/figure>\n<h2 style=\"line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em; font-weight: bold; color: #159957; text-align: center; font-size: 1.4em;\"><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">2. Pygame<\/span><\/h2>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">Pygame\u662fSDL\u591a\u5a92\u4f53\u5e93\u7684Python\u88c5\u9970\u5668\uff0cSDL(Simple DirectMedia Layer)\u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u5f00\u53d1\u5e93\uff0c\u65e8\u5728\u63d0\u4f9b\u5bf9\u4ee5\u4e0b\u5185\u5bb9\u7684\u4f4e\u7ea7\u63a5\u53e3\uff1a<\/span><\/p>\n<ul class=\"list-paddingleft-2\" style=\"font-size: inherit; color: inherit; line-height: inherit; padding-left: 32px;\">\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u97f3\u9891<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u952e\u76d8<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u9f20\u6807<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u6e38\u620f\u6746<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u57fa\u4e8eOpenGL\u548cDirect3D\u7684\u56fe\u5f62\u786c\u4ef6<\/span><\/p>\n<\/li>\n<\/ul>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">Pygame\u5177\u6709\u9ad8\u5ea6\u7684\u53ef\u79fb\u690d\u6027\uff0c\u51e0\u4e4e\u53ef\u4ee5\u5728\u6240\u6709\u5e73\u53f0\u548c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u8fd0\u884c\u3002\u5c3d\u7ba1\u5b83\u5177\u6709\u5b8c\u5584\u7684\u6e38\u620f\u5f15\u64ce\uff0c\u4f46\u60a8\u4e5f\u53ef\u4ee5\u4f7f\u7528\u6b64\u5e93\u76f4\u63a5\u4ecePython\u811a\u672c\u64ad\u653eMP3\u6587\u4ef6\u3002<\/span><\/p>\n<h2 style=\"line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em; font-weight: bold; color: #159957; text-align: center; font-size: 1.4em;\"><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">3. Pillow<\/span><\/h2>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">Pillow\u4e13\u95e8\u7528\u4e8e\u5904\u7406\u56fe\u50cf\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u8be5\u5e93\u521b\u5efa\u7f29\u7565\u56fe\uff0c\u5728\u6587\u4ef6\u683c\u5f0f\u4e4b\u95f4\u8f6c\u6362\uff0c\u65cb\u8f6c\uff0c\u5e94\u7528\u6ee4\u955c\uff0c\u663e\u793a\u56fe\u50cf\u7b49\u7b49\u3002\u5982\u679c\u60a8\u9700\u8981\u5bf9\u8bb8\u591a\u56fe\u50cf\u6267\u884c\u6279\u91cf\u64cd\u4f5c\uff0c\u8fd9\u662f\u7406\u60f3\u7684\u9009\u62e9\u3002<\/span><\/p>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u4e3a\u4e86\u5feb\u901f\u4e86\u89e3\u5b83\uff0c\u770b\u4ee5\u4e0b\u4ee3\u7801\u793a\u4f8b\uff08\u52a0\u8f7d\u5e76\u6e32\u67d3\u56fe\u7247\uff09\uff1a<\/span><\/p>\n<figure style=\"font-size: inherit; color: inherit; line-height: inherit;\"><img decoding=\"async\" style=\"font-size: inherit; color: inherit; line-height: inherit; display: block; margin-right: auto; margin-left: auto;\" title=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/01\/8-1611663083-1.png\" alt=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" \/><\/figure>\n<h2 style=\"line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em; font-weight: bold; color: #159957; text-align: center; font-size: 1.4em;\"><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">4. Colorama<\/span><\/h2>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">Colorama\u5141\u8bb8\u4f60\u5728\u7ec8\u7aef\u4f7f\u7528\u989c\u8272\uff0c\u975e\u5e38\u9002\u5408Python\u811a\u672c\uff0c\u6587\u6863\u7b80\u77ed\u800c\u6709\u8da3\uff0c\u53ef\u4ee5\u5728Colorama PyPI\u9875\u9762\u4e0a\u627e\u5230\u3002<\/span><\/p>\n<figure style=\"font-size: inherit; color: inherit; line-height: inherit;\"><img decoding=\"async\" style=\"font-size: inherit; color: inherit; line-height: inherit; display: block; margin-right: auto; margin-left: auto;\" title=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/01\/9-1611663083.png\" alt=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" \/><\/figure>\n<h2 style=\"line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em; font-weight: bold; color: #159957; text-align: center; font-size: 1.4em;\"><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">5. JmesPath<\/span><\/h2>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u5728Python\u4e2d\u4f7f\u7528JSON\u975e\u5e38\u5bb9\u6613\uff0c\u56e0\u4e3aJSON\u5728Python\u5b57\u5178\u4e0a\u7684\u6620\u5c04\u975e\u5e38\u597d\u3002\u6b64\u5916\uff0cPython\u5e26\u6709\u81ea\u5df1\u51fa\u8272\u7684json\u5e93\uff0c\u7528\u4e8e\u89e3\u6790\u548c\u521b\u5efaJSON\u3002\u5bf9\u6211\u6765\u8bf4\uff0c\u8fd9\u662f\u5b83\u6700\u597d\u7684\u529f\u80fd\u4e4b\u4e00\u3002\u5982\u679c\u6211\u9700\u8981\u4f7f\u7528JSON\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528Python\u3002<\/span><\/p>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">JMESPath\u4f7fPython\u5904\u7406JSON\u66f4\u52a0\u5bb9\u6613\uff0c\u5b83\u5141\u8bb8\u60a8\u660e\u786e\u7684\u5730\u6307\u5b9a\u5982\u4f55\u4eceJSON\u6587\u6863\u4e2d\u63d0\u53d6\u5143\u7d20\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u57fa\u672c\u793a\u4f8b\uff0c\u53ef\u8ba9\u60a8\u5bf9\u5b83\u7684\u529f\u80fd\u6709\u6240\u4e86\u89e3\uff1a<\/span><\/p>\n<figure style=\"font-size: inherit; color: inherit; line-height: inherit;\"><img decoding=\"async\" style=\"font-size: inherit; color: inherit; line-height: inherit; display: block; margin-right: auto; margin-left: auto;\" title=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/01\/8-1611663084.png\" alt=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" \/><\/figure>\n<h2 style=\"line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em; font-weight: bold; color: #159957; text-align: center; font-size: 1.4em;\"><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">6. Requests<\/span><\/h2>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">Requests\u5efa\u7acb\u5728\u4e16\u754c\u4e0a\u4e0b\u8f7d\u91cf\u6700\u5927\u7684Python\u5e93urllib3\u4e0a\uff0c\u5b83\u4ee4Web\u8bf7\u6c42\u53d8\u5f97\u975e\u5e38\u7b80\u5355\uff0c\u529f\u80fd\u5f3a\u5927\u4e14\u7528\u9014\u5e7f\u6cdb\u3002<\/span><\/p>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u4ee5\u4e0b\u4ee3\u7801\u793a\u4f8b\u8bf4\u660erequests\u7684\u4f7f\u7528\u662f\u591a\u4e48\u7b80\u5355\u3002<\/span><\/p>\n<figure style=\"font-size: inherit; color: inherit; line-height: inherit;\"><img decoding=\"async\" style=\"font-size: inherit; color: inherit; line-height: inherit; display: block; margin-right: auto; margin-left: auto;\" title=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/01\/8-1611663084-1.png\" alt=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" \/><\/figure>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">Requests\u53ef\u4ee5\u5b8c\u6210\u60a8\u80fd\u60f3\u5230\u7684\u6240\u6709\u9ad8\u7ea7\u5de5\u4f5c\uff0c\u4f8b\u5982\uff1a<\/span><\/p>\n<ul class=\"list-paddingleft-2\" style=\"font-size: inherit; color: inherit; line-height: inherit; padding-left: 32px;\">\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u8ba4\u8bc1<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u4f7f\u7528cookie<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u6267\u884cPOST\uff0cPUT\uff0cDELETE\u7b49<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u4f7f\u7528\u81ea\u5b9a\u4e49\u8bc1\u4e66<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u4f7f\u7528\u4f1a\u8bddSession<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u4f7f\u7528\u4ee3\u7406<\/span><\/p>\n<\/li>\n<\/ul>\n<h2 style=\"line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em; font-weight: bold; color: #159957; text-align: center; font-size: 1.4em;\"><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">7. Simplejson<\/span><\/h2>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">Python\u4e2d\u7684\u672c\u5730json\u6a21\u5757\u6709\u4ec0\u4e48\u95ee\u9898\uff1f\u6ca1\u6709\uff01\u5b9e\u9645\u4e0a\uff0cPython\u7684json\u662fsimplejson\u3002\u610f\u601d\u662f\uff0cPython\u91c7\u7528\u4e86simplejson\u7684\u4e00\u4e2a\u7248\u672c\uff0c\u5e76\u5c06\u5176\u5408\u5e76\u5230\u6bcf\u4e2a\u53d1\u884c\u7248\u4e2d\u3002\u4f46\u662f\u4f7f\u7528simplejson\u5177\u6709\u4e00\u4e9b\u4f18\u70b9\uff1a<\/span><\/p>\n<ul class=\"list-paddingleft-2\" style=\"font-size: inherit; color: inherit; line-height: inherit; padding-left: 32px;\">\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u5b83\u9002\u7528\u4e8e\u66f4\u591aPython\u7248\u672c\u3002<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u5b83\u6bd4Python\u968f\u9644\u7684\u7248\u672c\u66f4\u65b0\u9891\u7387\u66f4\u9ad8\u3002<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u5b83\u5177\u6709\u7528C\u7f16\u5199\u7684\uff08\u53ef\u9009\uff09\u90e8\u5206\uff0c\u56e0\u6b64\u975e\u5e38\u5feb\u901f\u3002<\/span><\/p>\n<\/li>\n<\/ul>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u7531\u4e8e\u8fd9\u4e9b\u4e8b\u5b9e\uff0c\u60a8\u7ecf\u5e38\u4f1a\u5728\u4f7f\u7528JSON\u7684\u811a\u672c\u4e2d\u770b\u5230\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/span><\/p>\n<figure style=\"font-size: inherit; color: inherit; line-height: inherit;\"><img decoding=\"async\" style=\"font-size: inherit; color: inherit; line-height: inherit; display: block; margin-right: auto; margin-left: auto;\" title=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/01\/10-1611663085.png\" alt=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" \/><\/figure>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u6211\u5c06\u53ea\u4f7f\u7528\u9ed8\u8ba4\u7684json\uff0c\u9664\u975e\u60a8\u7279\u522b\u9700\u8981\uff1a<\/span><\/p>\n<ul class=\"list-paddingleft-2\" style=\"font-size: inherit; color: inherit; line-height: inherit; padding-left: 32px;\">\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u901f\u5ea6<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u6807\u51c6\u5e93\u4e2d\u6ca1\u6709\u7684\u4e1c\u897f<\/span><\/p>\n<\/li>\n<\/ul>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">Simplejson\u6bd4json\u5feb\u5f88\u591a\uff0c\u56e0\u4e3a\u5b83\u7528C\u5b9e\u73b0\u4e00\u4e9b\u5173\u952e\u90e8\u5206\u3002\u9664\u975e\u60a8\u6b63\u5728\u5904\u7406\u6570\u767e\u4e07\u4e2aJSON\u6587\u4ef6\uff0c\u5426\u5219\u60a8\u4e0d\u4f1a\u5bf9\u8fd9\u79cd\u901f\u5ea6\u611f\u5174\u8da3\u3002<\/span><\/p>\n<h2 style=\"line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em; font-weight: bold; color: #159957; text-align: center; font-size: 1.4em;\"><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">8. Emoji<\/span><\/h2>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">Emoji\u5e93\u975e\u5e38\u6709\u610f\u601d\uff0c\u4f46\u5e76\u975e\u6bcf\u4e2a\u4eba\u90fd\u559c\u6b22\u8868\u60c5\u5305\uff0c\u5206\u6790\u89c6\u89d2\u5a92\u4f53\u6570\u636e\u65f6\uff0cEmoji\u5305\u975e\u5e38\u6709\u7528\u3002<\/span><\/p>\n<figure style=\"font-size: inherit; color: inherit; line-height: inherit;\"><img decoding=\"async\" style=\"font-size: inherit; color: inherit; line-height: inherit; display: block; margin-right: auto; margin-left: auto;\" title=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/01\/4-1611663085.png\" alt=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" \/><\/figure>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u4ee5\u4e0b\u662f\u7b80\u5355\u7684\u4ee3\u7801\u793a\u4f8b\uff1a<\/span><\/p>\n<figure style=\"font-size: inherit; color: inherit; line-height: inherit;\"><img decoding=\"async\" style=\"font-size: inherit; color: inherit; line-height: inherit; display: block; margin-right: auto; margin-left: auto;\" title=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/01\/0-1611663085.png\" alt=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" \/><\/figure>\n<h2 style=\"line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em; font-weight: bold; color: #159957; text-align: center; font-size: 1.4em;\"><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">9. Chardet<\/span><\/h2>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u60a8\u53ef\u4ee5\u4f7f\u7528chardet\u6a21\u5757\u6765\u68c0\u6d4b\u6587\u4ef6\u6216\u6570\u636e\u6d41\u7684\u5b57\u7b26\u96c6\u3002\u4f8b\u5982\uff0c\u8fd9\u5728\u5206\u6790\u5927\u91cf\u968f\u673a\u6587\u672c\u65f6\u5f88\u6709\u7528\u3002\u4f46\u662f\uff0c\u5f53\u60a8\u4e0d\u77e5\u9053\u5b57\u7b26\u96c6\u662f\u4ec0\u4e48\u65f6\uff0c\u4e5f\u53ef\u4ee5\u5728\u5904\u7406\u8fdc\u7a0b\u4e0b\u8f7d\u7684\u6570\u636e\u65f6\u4f7f\u7528\u5b83\u3002<\/span><\/p>\n<h2 style=\"line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em; font-weight: bold; color: #159957; text-align: center; font-size: 1.4em;\"><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">10. Python-dateutil<\/span><\/h2>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">python-dateutil\u6a21\u5757\u63d0\u4f9b\u4e86\u5bf9\u6807\u51c6datetime\u6a21\u5757\u7684\u5f3a\u5927\u6269\u5c55\u3002\u6211\u7684\u7ecf\u9a8c\u662f\uff0c\u5e38\u89c4\u7684Python\u65e5\u671f\u65f6\u95f4\u529f\u80fd\u5728\u54ea\u91cc\u7ed3\u675f\uff0c\u800cpython-dateutil\u5c31\u51fa\u73b0\u4e86\u3002<\/span><\/p>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u60a8\u53ef\u4ee5\u4f7f\u7528\u6b64\u5e93\u505a\u5f88\u591a\u5f88\u68d2\u7684\u4e8b\u60c5\u3002\u6211\u5c06\u8fd9\u4e9b\u793a\u4f8b\u9650\u5236\u4e3a\u6211\u53d1\u73b0\u7279\u522b\u6709\u7528\u7684\u793a\u4f8b\uff1a\u6a21\u7cca\u5206\u6790\u65e5\u5fd7\u6587\u4ef6\u4e2d\u7684\u65e5\u671f\uff0c\u4f8b\u5982\uff1a<\/span><\/p>\n<figure style=\"font-size: inherit; color: inherit; line-height: inherit;\"><img decoding=\"async\" style=\"font-size: inherit; color: inherit; line-height: inherit; display: block; margin-right: auto; margin-left: auto;\" title=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/01\/4-1611663085-1.png\" alt=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" \/><\/figure>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u6709\u5173\u66f4\u591a\u529f\u80fd\uff0c\u8bf7\u53c2\u89c1\u5b8c\u6574\u6587\u6863\uff0c\u4f8b\u5982\uff1a<\/span><\/p>\n<ul class=\"list-paddingleft-2\" style=\"font-size: inherit; color: inherit; line-height: inherit; padding-left: 32px;\">\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u8ba1\u7b97\u76f8\u5bf9\u589e\u91cf\uff08\u4e0b\u4e2a\u6708\uff0c\u660e\u5e74\uff0c\u4e0b\u5468\u4e00\uff0c\u8be5\u6708\u7684\u6700\u540e\u4e00\u5468\u7b49\uff09\u548c\u4e24\u4e2a\u7ed9\u5b9a\u65e5\u671f\u5bf9\u8c61\u4e4b\u95f4\u7684\u76f8\u5bf9\u589e\u91cf\u3002<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u4f7f\u7528iCalendar\u89c4\u8303\u7684\u8d85\u96c6\uff0c\u6839\u636e\u91cd\u590d\u89c4\u5219\u8ba1\u7b97\u65e5\u671f\u3002<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">tzfile\u6587\u4ef6\uff08\/ etc \/ localtime\uff0c\/ usr \/ share \/ zoneinfo\u7b49\uff09\u7684\u65f6\u533a\uff08tzinfo\uff09\u5b9e\u73b0\uff0cTZ\u73af\u5883\u5b57\u7b26\u4e32\uff08\u6240\u6709\u5df2\u77e5\u683c\u5f0f\uff09\uff0ciCalendar\u683c\u5f0f\u6587\u4ef6\uff0c\u7ed9\u5b9a\u8303\u56f4\uff08\u5728\u76f8\u5bf9\u589e\u91cf\u7684\u5e2e\u52a9\u4e0b\uff09\uff0c\u672c\u5730\u8ba1\u7b97\u673a \u65f6\u533a\uff0c\u56fa\u5b9a\u504f\u79fb\u65f6\u533a\uff0cUTC\u65f6\u533a\u548c\u57fa\u4e8eWindows\u6ce8\u518c\u8868\u7684\u65f6\u533a\u3002<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u57fa\u4e8e\u5965\u5c14\u68ee\u6570\u636e\u5e93\u7684\u5185\u90e8\u6700\u65b0\u4e16\u754c\u65f6\u533a\u4fe1\u606f\u3002<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u4f7f\u7528Western\uff0cOrthodox\u6216Julian\u7b97\u6cd5\u8ba1\u7b97\u4efb\u610f\u4e00\u5e74\u7684\u590d\u6d3b\u8282\u5468\u65e5\u65e5\u671f\u3002<\/span><\/p>\n<\/li>\n<\/ul>\n<h2 style=\"line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em; font-weight: bold; color: #159957; text-align: center; font-size: 1.4em;\"><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">11. \u8fdb\u5ea6\u6761\uff1aprogress\u548ctqdm<\/span><\/h2>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u8fd9\u91cc\u6709\u70b9\u4f5c\u5f0a\uff0c\u56e0\u4e3a\u8fd9\u662f\u4e24\u4e2a\u5305\uff0c\u4f46\u5ffd\u7565\u5176\u4e2d\u4e4b\u4e00\u662f\u4e0d\u516c\u5e73\u7684\u3002<\/span><\/p>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u60a8\u53ef\u4ee5\u521b\u5efa\u81ea\u5df1\u7684\u8fdb\u5ea6\u6761\uff0c\u8fd9\u4e5f\u8bb8\u5f88\u6709\u8da3\uff0c\u4f46\u662f\u4f7f\u7528progress\u6216tqdm\u7a0b\u5e8f\u5305\u66f4\u5feb\uff0c\u66f4\u4e0d\u5bb9\u6613\u51fa\u9519\u3002<\/span><\/p>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">progress<\/span><\/p>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u501f\u52a9\u8fd9\u4e2a\u8f6f\u4ef6\u5305\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u521b\u5efa\u8fdb\u5ea6\u6761\uff1a<\/span><\/p>\n<figure style=\"font-size: inherit; color: inherit; line-height: inherit;\"><img decoding=\"async\" style=\"font-size: inherit; color: inherit; line-height: inherit; display: block; margin-right: auto; margin-left: auto;\" title=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/01\/8-1611663086.png\" alt=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" \/>\n<figcaption style=\"line-height: inherit; margin-top: 10px; text-align: center; color: #999999; font-size: 0.7em;\"><span style=\"font-size: 15px;\">img<\/span><\/figcaption>\n<\/figure>\n<figure style=\"font-size: inherit; color: inherit; line-height: inherit;\"><img decoding=\"async\" style=\"font-size: inherit; color: inherit; line-height: inherit; display: block; margin-right: auto; margin-left: auto;\" title=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/01\/5-1611663086.png\" alt=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" \/><\/figure>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">tqdm<\/span><\/p>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">tqdm\u7684\u529f\u80fd\u5927\u81f4\u76f8\u540c\uff0c\u4f46\u4f3c\u4e4e\u662f\u6700\u65b0\u7684\u3002\u9996\u5148\u4ee5gif\u52a8\u753b\u5f62\u5f0f\u8fdb\u884c\u4e00\u4e9b\u6f14\u793a\uff1a<\/span><\/p>\n<figure style=\"font-size: inherit; color: inherit; line-height: inherit;\"><img decoding=\"async\" style=\"font-size: inherit; color: inherit; line-height: inherit; display: block; margin-right: auto; margin-left: auto;\" title=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/01\/4-1611663087.png\" alt=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" \/><\/figure>\n<h2 style=\"line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em; font-weight: bold; color: #159957; text-align: center; font-size: 1.4em;\"><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">12. IPython<\/span><\/h2>\n<figure style=\"font-size: inherit; color: inherit; line-height: inherit;\"><img decoding=\"async\" style=\"font-size: inherit; color: inherit; line-height: inherit; display: block; margin-right: auto; margin-left: auto;\" title=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/01\/7-1611663087.png\" alt=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" \/><\/figure>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u6211\u786e\u5b9a\u60a8\u77e5\u9053Python\u7684\u4ea4\u4e92\u5f0f\u5916\u58f3\uff0c\u8fd9\u662f\u8fd0\u884cPython\u7684\u597d\u65b9\u6cd5\u3002\u4f46\u662f\u60a8\u4e5f\u77e5\u9053IPython shell\u5417\uff1f\u5982\u679c\u60a8\u7ecf\u5e38\u4f7f\u7528\u4ea4\u4e92\u5f0f\u5916\u58f3\u7a0b\u5e8f\uff0c\u4f46\u60a8\u4e0d\u4e86\u89e3IPython\uff0c\u5219\u5e94\u8be5\u68c0\u67e5\u4e00\u4e0b\uff01<\/span><\/p>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u589e\u5f3a\u7684IPython shell\u63d0\u4f9b\u7684\u4e00\u4e9b\u529f\u80fd\u5305\u62ec\uff1a<\/span><\/p>\n<ul class=\"list-paddingleft-2\" style=\"font-size: inherit; color: inherit; line-height: inherit; padding-left: 32px;\">\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u5168\u9762\u7684\u5bf9\u8c61\u81ea\u7701\u3002<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u8f93\u5165\u5386\u53f2\u8bb0\u5f55\uff0c\u8de8\u4f1a\u8bdd\u6301\u7eed\u5b58\u5728\u3002<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u5728\u5177\u6709\u81ea\u52a8\u751f\u6210\u7684\u5f15\u7528\u7684\u4f1a\u8bdd\u671f\u95f4\u7f13\u5b58\u8f93\u51fa\u7ed3\u679c\u3002<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u5236\u8868\u7b26\u8865\u5168\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u652f\u6301python\u53d8\u91cf\u548c\u5173\u952e\u5b57\uff0c\u6587\u4ef6\u540d\u548c\u51fd\u6570\u5173\u952e\u5b57\u7684\u8865\u5168\u3002<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u201c\u9b54\u672f\u201d\u547d\u4ee4\uff0c\u7528\u4e8e\u63a7\u5236\u73af\u5883\u5e76\u6267\u884c\u8bb8\u591a\u4e0eIPython\u6216\u64cd\u4f5c\u7cfb\u7edf\u76f8\u5173\u7684\u4efb\u52a1\u3002<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u4f1a\u8bdd\u8bb0\u5f55\u548c\u91cd\u65b0\u52a0\u8f7d\u3002<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u5bf9pdb\u8c03\u8bd5\u5668\u548cPython\u5206\u6790\u5668\u7684\u96c6\u6210\u8bbf\u95ee\u3002<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">IPython\u7684\u4e00\u4e2a\u9c9c\u4e3a\u4eba\u77e5\u7684\u529f\u80fd\uff1a\u5b83\u7684\u4f53\u7cfb\u7ed3\u6784\u8fd8\u5141\u8bb8\u5e76\u884c\u548c\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/span><\/p>\n<\/li>\n<\/ul>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">IPython\u662fJupyter Notebook\u7684\u6838\u5fc3\uff0c\u5b83\u662f\u4e00\u4e2a\u5f00\u653e\u6e90\u4ee3\u7801Web\u5e94\u7528\u7a0b\u5e8f\uff0c\u53ef\u8ba9\u60a8\u521b\u5efa\u548c\u5171\u4eab\u5305\u542b\u5b9e\u65f6\u4ee3\u7801\uff0c\u65b9\u7a0b\u5f0f\uff0c\u53ef\u89c6\u5316\u6548\u679c\u548c\u53d9\u8ff0\u6587\u672c\u7684\u6587\u6863\u3002<\/span><\/p>\n<h2 style=\"line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em; font-weight: bold; color: #159957; text-align: center; font-size: 1.4em;\"><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">13. Homeassistant<\/span><\/h2>\n<figure style=\"font-size: inherit; color: inherit; line-height: inherit;\"><img decoding=\"async\" style=\"font-size: inherit; color: inherit; line-height: inherit; display: block; margin-right: auto; margin-left: auto;\" title=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/01\/6-1611663088.png\" alt=\"15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\" \/><\/figure>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u6211\u559c\u6b22\u5bb6\u5ead\u81ea\u52a8\u5316\u3002\u8fd9\u5bf9\u6211\u6765\u8bf4\u662f\u4e00\u79cd\u55dc\u597d\uff0c\u4f46\u6211\u81f3\u4eca\u4ecd\u5bf9\u6b64\u6df1\u8868\u6b49\u610f\uff0c\u56e0\u4e3a\u5b83\u73b0\u5728\u63a7\u5236\u7740\u6211\u4eec\u623f\u5c4b\u7684\u5927\u90e8\u5206\u3002\u6211\u4f7f\u7528Home Assistant\u5c06\u623f\u5b50\u4e2d\u7684\u6240\u6709\u7cfb\u7edf\u6346\u7ed1\u5728\u4e00\u8d77\u3002\u5c3d\u7ba1\u5b83\u786e\u5b9e\u662f\u4e00\u4e2a\u5b8c\u6574\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f46\u662f\u60a8\u4e5f\u53ef\u4ee5\u5c06\u5176\u5b89\u88c5\u4e3aPython PyPI\u8f6f\u4ef6\u5305\u3002<\/span><\/p>\n<ul class=\"list-paddingleft-2\" style=\"font-size: inherit; color: inherit; line-height: inherit; padding-left: 32px;\">\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u6211\u4eec\u7684\u5927\u591a\u6570\u706f\u5177\u90fd\u662f\u81ea\u52a8\u5316\u7684\uff0c\u767e\u53f6\u7a97\u4e5f\u662f\u5982\u6b64\u3002<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u6211\u76d1\u89c6\u6211\u4eec\u7684\u5929\u7136\u6c14\u7528\u91cf\uff0c\u7535\u529b\u7528\u91cf\u548c\u4ea7\u91cf\uff08\u592a\u9633\u80fd\u7535\u6c60\u677f\uff09\u3002<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u6211\u53ef\u4ee5\u8ddf\u8e2a\u5927\u591a\u6570\u7535\u8bdd\u7684\u4f4d\u7f6e\uff0c\u5e76\u5728\u8fdb\u5165\u4e00\u4e2a\u533a\u57df\u65f6\u5f00\u59cb\u64cd\u4f5c\uff0c\u4f8b\u5982\u5f53\u6211\u56de\u5bb6\u65f6\u6253\u5f00\u8f66\u5e93\u706f\u3002<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u5b83\u8fd8\u53ef\u4ee5\u63a7\u5236\u6211\u4eec\u6240\u6709\u7684\u5a31\u4e50\u7cfb\u7edf\uff0c\u4f8b\u5982\u4e09\u661f\u7535\u89c6\u548cSonos\u626c\u58f0\u5668\u3002<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">\u5b83\u80fd\u591f\u81ea\u52a8\u53d1\u73b0\u7f51\u7edc\u4e0a\u7684\u5927\u591a\u6570\u8bbe\u5907\uff0c\u56e0\u6b64\u4e0a\u624b\u8d77\u6765\u975e\u5e38\u5bb9\u6613\u3002<\/span><\/p>\n<\/li>\n<\/ul>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u6211\u5df2\u7ecf\u6bcf\u5929\u4f7f\u7528Home Assistant\u5df2\u67093\u5e74\u4e86\uff0c\u5b83\u4ecd\u5904\u4e8e\u6d4b\u8bd5\u9636\u6bb5\uff0c\u4f46\u8fd9\u662f\u6211\u5c1d\u8bd5\u8fc7\u7684\u6240\u6709\u5e73\u53f0\u4e2d\u6700\u597d\u7684\u5e73\u53f0\u3002\u5b83\u80fd\u591f\u96c6\u6210\u548c\u63a7\u5236\u5404\u79cd\u8bbe\u5907\u548c\u534f\u8bae\uff0c\u5e76\u4e14\u90fd\u662f\u514d\u8d39\u548c\u5f00\u6e90\u7684\u3002<\/span><\/p>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u5982\u679c\u60a8\u6709\u5174\u8da3\u5c06\u623f\u5c4b\u81ea\u52a8\u5316\uff0c\u8bf7\u786e\u4fdd\u6709\u673a\u4f1a\uff01\u5982\u679c\u60a8\u60f3\u4e86\u89e3\u66f4\u591a\uff0c\u8bf7\u8bbf\u95ee\u4ed6\u4eec\u7684\u5b98\u65b9\u7f51\u7ad9\u3002\u5982\u679c\u53ef\u4ee5\uff0c\u8bf7\u5c06\u5176\u5b89\u88c5\u5728Raspberry Pi\u4e0a\u3002\u5230\u76ee\u524d\u4e3a\u6b62\uff0c\u8fd9\u662f\u6700\u7b80\u5355\uff0c\u6700\u5b89\u5168\u7684\u5165\u95e8\u65b9\u6cd5\u3002\u6211\u5c06\u5176\u5b89\u88c5\u5728Docker\u5bb9\u5668\u5185\u529f\u80fd\u66f4\u5f3a\u5927\u7684\u670d\u52a1\u5668\u4e0a\u3002<\/span><\/p>\n<h2 style=\"line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em; font-weight: bold; color: #159957; text-align: center; font-size: 1.4em;\"><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">14. Flask<\/span><\/h2>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">Flask\u662f\u6211\u7684\u5165\u95e8\u5e93\uff0c\u7528\u4e8e\u521b\u5efa\u5feb\u901f\u7684Web\u670d\u52a1\u6216\u7b80\u5355\u7684\u7f51\u7ad9\u3002\u8fd9\u662f\u4e00\u4e2a\u5fae\u6846\u67b6\uff0c\u8fd9\u610f\u5473\u7740Flask\u65e8\u5728\u4f7f\u6838\u5fc3\u4fdd\u6301\u7b80\u5355\u4f46\u53ef\u6269\u5c55\u3002\u6709700\u591a\u4e2a\u5b98\u65b9\u548c\u793e\u533a\u6269\u5c55\u3002<\/span><\/p>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u5982\u679c\u60a8\u77e5\u9053\u81ea\u5df1\u5c06\u5f00\u53d1\u4e00\u4e2a\u5927\u578b\u7684Web\u5e94\u7528\u7a0b\u5e8f\uff0c\u5219\u53ef\u80fd\u9700\u8981\u7814\u7a76\u4e00\u4e2a\u66f4\u5b8c\u6574\u7684\u6846\u67b6\u3002\u8be5\u7c7b\u522b\u4e2d\u6700\u53d7\u6b22\u8fce\u7684\u662fDjango\u3002<\/span><\/p>\n<h2 style=\"line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em; font-weight: bold; color: #159957; text-align: center; font-size: 1.4em;\"><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">15. BeautifulSoup<\/span><\/h2>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u5982\u679c\u60a8\u4ece\u7f51\u7ad9\u4e0a\u63d0\u53d6\u4e86\u4e00\u4e9bHTML\uff0c\u5219\u9700\u8981\u5bf9\u5176\u8fdb\u884c\u89e3\u6790\u4ee5\u83b7\u53d6\u5b9e\u9645\u6240\u9700\u7684\u5185\u5bb9\u3002Beautiful Soup\u662f\u4e00\u4e2aPython\u5e93\uff0c\u7528\u4e8e\u4eceHTML\u548cXML\u6587\u4ef6\u4e2d\u63d0\u53d6\u6570\u636e\u3002\u5b83\u63d0\u4f9b\u4e86\u5bfc\u822a\uff0c\u641c\u7d22\u548c\u4fee\u6539\u89e3\u6790\u6811\u7684\u7b80\u5355\u65b9\u6cd5\u3002\u5b83\u975e\u5e38\u5f3a\u5927\uff0c\u5373\u4f7f\u635f\u574f\u4e86\uff0c\u4e5f\u80fd\u591f\u5904\u7406\u5404\u79cdHTML\u3002\u76f8\u4fe1\u6211\uff0cHTML\u7ecf\u5e38\u88ab\u7834\u574f\uff0c\u6240\u4ee5\u8fd9\u662f\u4e00\u4e2a\u975e\u5e38\u5f3a\u5927\u7684\u529f\u80fd\u3002<\/span><\/p>\n<p style=\"font-size: inherit; color: inherit; line-height: inherit; margin-top: 1.5em; margin-bottom: 1.5em;\"><span style=\"font-size: 15px;\">\u5b83\u7684\u4e00\u4e9b\u4e3b\u8981\u529f\u80fd\uff1a<\/span><\/p>\n<ul class=\"list-paddingleft-2\" style=\"font-size: inherit; color: inherit; line-height: inherit; padding-left: 32px;\">\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">Beautiful Soup\u4f1a\u81ea\u52a8\u5c06\u4f20\u5165\u6587\u6863\u8f6c\u6362\u4e3aUnicode\uff0c\u5c06\u4f20\u51fa\u6587\u6863\u8f6c\u6362\u4e3aUTF-8\u3002\u60a8\u65e0\u9700\u8003\u8651\u7f16\u7801\u3002<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">Beautiful Soup\u4f4d\u4e8e\u6d41\u884c\u7684Python\u89e3\u6790\u5668\uff08\u5982lxml\u548chtml5lib\uff09\u7684\u9876\u90e8\uff0c\u4f7f\u60a8\u53ef\u4ee5\u5c1d\u8bd5\u4e0d\u540c\u7684\u89e3\u6790\u7b56\u7565\u6216\u63d0\u9ad8\u7075\u6d3b\u6027\u3002<\/span><\/p>\n<\/li>\n<li style=\"font-size: 15px; color: inherit; line-height: inherit; margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit; line-height: inherit; font-size: 15px;\">BeautifulSoup\u4f1a\u89e3\u6790\u60a8\u63d0\u4f9b\u7684\u4efb\u4f55\u5185\u5bb9\uff0c\u5e76\u4e3a\u60a8\u505a\u904d\u5386\u6811\u7684\u5de5\u4f5c\u3002\u60a8\u53ef\u4ee5\u5c06\u5176\u544a\u8bc9\u201c\u67e5\u627e\u6240\u6709\u94fe\u63a5\u201d\uff0c\u6216\u201c\u67e5\u627e\u5e26\u6709\u7c97\u4f53\u7684\u8868\u683c\u6807\u9898\uff0c\u7136\u540e\u7ed9\u6211\u8be5\u6587\u5b57\u3002\u201d<\/span><\/p>\n<\/li>\n<\/ul>\n<p style=\"white-space: normal; max-width: 100%; min-height: 1em; color: #333333; text-align: center;\">\u00a0<\/p>\n<p style=\"white-space: normal; font-variant-ligatures: normal; orphans: 2; widows: 2; text-align: left;\"><em><span style=\"font-size: 15px;\"><span style=\"font-size: 15px; color: #888888; font-family: -apple-system-font, system-ui, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; letter-spacing: 0.621714px; text-align: left;\">\u539f\u6587\u94fe\u63a5\uff1a<\/span><span style=\"font-size: 15px; color: #888888; font-family: -apple-system-font, system-ui, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; letter-spacing: 0.621714px;\">https:\/\/medium.com\/tech-explained\/top-15-python-packages-you-must-try-c6a877ed3cd0<\/span><\/span><\/em><\/p>\n<p style=\"white-space: normal; font-variant-ligatures: normal; orphans: 2; widows: 2; text-align: left;\">\u00a0<\/p>\n<p style=\"white-space: normal; font-variant-ligatures: normal; orphans: 2; widows: 2; text-align: center;\"><span style=\"font-size: 15px; color: #888888;\">&#8211; EOF &#8211;<\/span><\/p>\n<\/section>\n<\/div>\n\n\n<p>\u8f6c\u81ea\uff1ahttps:\/\/mp.weixin.qq.com\/s\/iDW7ycuzoTM72B09wHI-8w<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u82f1\u6587\uff1aErik van Baaren\uff0c\u7ffb\u8bd1\uff1aPython\u732b &#8211; \u6570\u636e\u9ed1\u5ba2 \u4e3a\u4ec0\u4e48\u6211\u559c\u6b22Python &hellip; <a href=\"http:\/\/www.zhushiyao.com\/?p=54781\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201c15 \u4e2a\u9876\u7ea7 Python \u5e93\uff0c\u4f60\u5fc5\u987b\u8981\u8bd5\u8bd5\uff01\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[8],"_links":{"self":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/54781"}],"collection":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=54781"}],"version-history":[{"count":2,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/54781\/revisions"}],"predecessor-version":[{"id":54799,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/54781\/revisions\/54799"}],"wp:attachment":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=54781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=54781"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=54781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}