{"id":1274,"date":"2024-05-01T03:32:17","date_gmt":"2024-05-01T03:32:17","guid":{"rendered":"https:\/\/www.nicekj.com\/?p=1274"},"modified":"2024-05-01T03:32:42","modified_gmt":"2024-05-01T03:32:42","slug":"pythonchaoliuzhoukan15ruhefenxifastapiyibuqingqiudexingneng","status":"publish","type":"post","link":"https:\/\/www.nicekj.com\/pythonchaoliuzhoukan15ruhefenxifastapiyibuqingqiudexingneng.html","title":{"rendered":"Python \u6f6e\u6d41\u5468\u520a#15\uff1a\u5982\u4f55\u5206\u6790 FastAPI \u5f02\u6b65\u8bf7\u6c42\u7684\u6027\u80fd\uff1f"},"content":{"rendered":"<p>\u4f60\u597d\uff0c\u6211\u662f\u732b\u54e5\u3002\u8fd9\u91cc\u6bcf\u5468\u5206\u4eab\u4f18\u8d28\u7684 Python\u3001AI \u53ca\u901a\u7528\u6280\u672f\u5185\u5bb9\uff0c\u5927\u90e8\u5206\u4e3a\u82f1\u6587\u3002\u6807\u9898\u53d6\u81ea\u5176\u4e2d\u4e00\u5219\u5206\u4eab\uff0c\u4e0d\u4ee3\u8868\u5168\u90e8\u5185\u5bb9\u90fd\u662f\u8be5\u4e3b\u9898\uff0c\u7279\u6b64\u58f0\u660e\u3002<\/p>\n<p>\u672c\u5468\u520a\u7cbe\u5fc3\u7b5b\u9009\u56fd\u5185\u5916\u7684 250+ \u4fe1\u606f\u6e90\uff0c\u4e3a\u4f60\u6311\u9009\u6700\u503c\u5f97\u5206\u4eab\u7684\u6587\u7ae0\u3001\u6559\u7a0b\u3001\u5f00\u6e90\u9879\u76ee\u3001\u8f6f\u4ef6\u5de5\u5177\u3001\u64ad\u5ba2\u548c\u89c6\u9891\u3001\u70ed\u95e8\u8bdd\u9898\u7b49\u5185\u5bb9\u3002\u613f\u666f\uff1a\u5e2e\u52a9\u6240\u6709\u8bfb\u8005\u7cbe\u8fdb Python \u6280\u672f\uff0c\u5e76\u589e\u957f\u804c\u4e1a\u548c\u526f\u4e1a\u7684\u6536\u5165\u3002<\/p>\n<p>&gt;&gt;&gt; <a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fimg.pythoncat.top%2Fpython_cat.jpg\" target=\"_blank\" title=\"https:\/\/img.pythoncat.top\/python_cat.jpg\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">\u5fae\u4fe1<\/a> | <a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fpythoncat.top\" target=\"_blank\" title=\"https:\/\/pythoncat.top\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">\u535a\u5ba2<\/a> | <a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fpythoncat.substack.com\" target=\"_blank\" title=\"https:\/\/pythoncat.substack.com\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">\u90ae\u4ef6<\/a> | <a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fgithub.com%2Fchinesehuazhou%2Fpython-weekly\" target=\"_blank\" title=\"https:\/\/github.com\/chinesehuazhou\/python-weekly\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">Github<\/a> | <a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Ft.me%2Fpythontrendingweekly\" target=\"_blank\" title=\"https:\/\/t.me\/pythontrendingweekly\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">Telegram<\/a> | <a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Ftwitter.com%2Fchinesehuazhou\" target=\"_blank\" title=\"https:\/\/twitter.com\/chinesehuazhou\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">Twitter<\/a> &lt;&lt;&lt;<\/p>\n<p>\u539f\u6587\u94fe\u63a5\uff1a<a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fpythoncat.top%2Fposts%2F2023-08-12-weekly\" target=\"_blank\" title=\"https:\/\/pythoncat.top\/posts\/2023-08-12-weekly\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">pythoncat.top\/posts\/2023-\u2026<\/a><\/p>\n<h2 data-id=\"heading-0\">\ud83e\udd84\u6587\u7ae0&amp;\u6559\u7a0b<\/h2>\n<h3 data-id=\"heading-1\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fblog.balthazar-rouberol.com%2Fhow-to-profile-a-fastapi-asynchronous-request\" target=\"_blank\" title=\"https:\/\/blog.balthazar-rouberol.com\/how-to-profile-a-fastapi-asynchronous-request\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">\u5982\u4f55\u5206\u6790 FastAPI \u5f02\u6b65\u8bf7\u6c42\u7684\u6027\u80fd\uff1f<\/a><\/h3>\n<p><strong>cProfile<\/strong> \u8fd9\u79cd\u57fa\u4e8e\u51fd\u6570\u8c03\u7528\u7684\u5206\u6790\u5de5\u5177\u65e0\u6cd5\u6709\u6548\u5206\u6790\u5f02\u6b65\u64cd\u4f5c\u7684\u6267\u884c\u65f6\u95f4\uff0c\u6587\u7ae0\u4ecb\u7ecd\u4e86 <a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fgithub.com%2Fjoerick%2Fpyinstrument\" target=\"_blank\" title=\"https:\/\/github.com\/joerick\/pyinstrument\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">pyinstrument<\/a> \u8fd9\u4e2a\u5206\u6790\u5e93\uff0c\u7ed3\u5408 <strong>FastAPI.middleware<\/strong> \u88c5\u9970\u5668\uff0c\u5e76\u4f7f\u7528 <a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fgithub.com%2Fjlfwong%2Fspeedscope\" target=\"_blank\" title=\"https:\/\/github.com\/jlfwong\/speedscope\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">speedscope<\/a> \u6765\u53ef\u89c6\u5316 FastAPI \u7a0b\u5e8f\u7684\u8017\u65f6\u60c5\u51b5\u3002<\/p>\n<p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.nicekj.com\/wp-content\/uploads\/replace\/10f1ba072f924049deb6bc69789bc613.png\" alt=\"FastAPI\u7a0b\u5e8f\u8017\u65f6\u5206\u6790\" \/><\/figure>\n<\/p>\n<h3 data-id=\"heading-2\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fnoplacelikelocalhost.medium.com%2Fleveraging-background-tasks-in-fastapi-enhancing-performance-and-responsiveness-6e4ad64c7d16\" target=\"_blank\" title=\"https:\/\/noplacelikelocalhost.medium.com\/leveraging-background-tasks-in-fastapi-enhancing-performance-and-responsiveness-6e4ad64c7d16\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">\u5229\u7528 FastAPI \u7684\u540e\u53f0\u4efb\u52a1\uff1a\u589e\u5f3a\u6027\u80fd\u548c\u54cd\u5e94\u80fd\u529b<\/a><\/h3>\n<p>\u4ecb\u7ecd\u4e86 FastAPI \u7684 BackgroundTasks\uff0c\u53ef\u4ee5\u521b\u5efa\u540e\u53f0\u4efb\u52a1\uff0c\u7528\u4e8e\u7ba1\u7406\u957f\u65f6\u95f4\u8fd0\u884c\u7684\u4efb\u52a1\uff0c\u800c\u4e0d\u963b\u585e\u4e3b\u8fdb\u7a0b\u3002<\/p>\n<h3 data-id=\"heading-3\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fcompucademy.net%2Fcreating-histograms-with-python%2F\" target=\"_blank\" title=\"https:\/\/compucademy.net\/creating-histograms-with-python\/\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">\u4f7f\u7528 Python \u521b\u5efa\u76f4\u65b9\u56fe<\/a><\/h3>\n<p>\u76f4\u65b9\u56fe\u53c8\u540d\u201c\u67f1\u72b6\u56fe\u201d\uff0c\u53ef\u76f4\u89c2\u67e5\u770b\u6570\u636e\u7684\u5206\u5e03\u8d8b\u52bf\u3001\u79bb\u6563\u7a0b\u5ea6\u548c\u5f02\u5e38\u503c\u7b49\u4fe1\u606f\u3002\u6587\u4e2d\u4ecb\u7ecd\u4e86 Matplotlib\u3001Plotly\u3001Seaborn\u3001Numpy \u548c Pandas \u7b49\u5de5\u5177\u7ed8\u5236\u76f4\u65b9\u56fe\u7684\u65b9\u6cd5\uff0c\u4ecb\u7ecd\u5404\u79cd\u76f4\u65b9\u56fe\u7684\u6837\u5f0f\u548c\u98ce\u683c\u3001\u5904\u7406\u5f02\u5e38\u503c\u3001\u5206\u6790\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u7b49\u3002<\/p>\n<h3 data-id=\"heading-4\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fmypy-lang.blogspot.com%2F2023%2F08%2Fmypy-15-released.html\" target=\"_blank\" title=\"https:\/\/mypy-lang.blogspot.com\/2023\/08\/mypy-15-released.html\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">Mypy 1.5 \u53d1\u5e03\u4e86<\/a><\/h3>\n<p>Mypy \u662f Python \u7684\u9759\u6001\u7c7b\u578b\u68c0\u67e5\u5de5\u5177\uff0c1.5 \u7248\u672c\u4e3b\u8981\u529f\u80fd\u6709\uff1a\u4e0d\u518d\u652f\u6301 Python 3.7\u3001\u66f4\u7075\u6d3b\u7684 TypedDict \u521b\u5efa\u548c\u66f4\u65b0\u3001\u53ef\u663e\u793a\u9519\u8bef\u4ee3\u7801\u7684\u6587\u6863\u94fe\u63a5\u3001\u5b9e\u9a8c\u6027\u6539\u8fdb\u4e86\u6cdb\u578b\u51fd\u6570\u7684\u7c7b\u578b\u63a8\u65ad\u3001\u5bf9 Python 3.12 \u7684\u90e8\u5206\u652f\u6301\uff0c\u7b49\u7b49\u3002<\/p>\n<h3 data-id=\"heading-5\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fjvns.ca%2Fblog%2F2023%2F08%2F03%2Fbehind--hello-world%2F\" target=\"_blank\" title=\"https:\/\/jvns.ca\/blog\/2023\/08\/03\/behind--hello-world\/\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">\u5728 Linux \u4e0a\u8fd0\u884c Python \u7684\u201cHello World\u201d\u811a\u672c\u65f6\uff0c\u4f1a\u53d1\u751f\u4ec0\u4e48\uff1f<\/a><\/h3>\n<p>\u5728 py \u6587\u4ef6\u4e2d\u5199\u4e0a\u4e00\u53e5<code>print(\"hello world\")<\/code>\uff0c\u7136\u540e\u5728\u547d\u4ee4\u884c\u6267\u884c\u8fd9\u4e2a\u6587\u4ef6\uff0c\u5e55\u540e\u90fd\u53d1\u751f\u4e86\u4ec0\u4e48\u5462\uff1f\u6587\u7ae0\u4f7f\u7528\u4e86 <code>readelf<\/code> \u3001<code>strace<\/code> \u3001<code>ldd<\/code> \u3001<code>debugfs<\/code> \u3001<code>\/proc<\/code> \u3001<code>ltrace<\/code> \u3001<code>dd<\/code> \u548c <code>stat<\/code> \u7b49\u5de5\u5177\uff0c\u8be6\u7ec6\u89e3\u91ca\u4e86\u811a\u672c\u88ab\u6267\u884c\u7684\u8fc7\u7a0b\u3002\u4e3b\u8981\u6d89\u53ca\u64cd\u4f5c\u7cfb\u7edf\u76f8\u5173\u7684\u5185\u5bb9\uff0c\u800c\u4e0d\u662f CPython \u89e3\u91ca\u5668\u3002\uff08\u9644\uff1a\u6587\u7ae0\u8fd8\u5f15\u7528\u4e86\u6700\u8fd1\u5f88\u706b\u7684 <a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fcpu.land%2F\" target=\"_blank\" title=\"https:\/\/cpu.land\/\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">Putting the &#8220;You&#8221; in CPU <\/a> \uff0c\u4ecb\u7ecd\u8ba1\u7b97\u673a\u662f\u5982\u4f55\u8fd0\u884c\u7a0b\u5e8f\u7684\uff0c\u5f3a\u70c8\u63a8\u8350\uff01\uff09<\/p>\n<h3 data-id=\"heading-6\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fkenschutte.com%2Fpostscript-vs-python\" target=\"_blank\" title=\"https:\/\/kenschutte.com\/postscript-vs-python\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">\u901a\u8fc7\u5bf9\u6bd4 Python \u6765\u5b66\u4e60 PostScript<\/a><\/h3>\n<p>PostScript \u662f\u7535\u5b50\u51fa\u7248\u548c\u684c\u9762\u51fa\u7248\u9886\u57df\u7684\u9875\u9762\u63cf\u8ff0\u8bed\u8a00\uff0c\u5e7f\u6cdb\u7528\u4e8e\u6253\u5370\u673a\u3001\u51fa\u7248\u548c\u56fe\u5f62\u8bbe\u5907\u3002\u6587\u7ae0\u5c06\u4e00\u6bb5 PostScript \u7a0b\u5e8f\u76f4\u8bd1\u6210 Python \u4ee3\u7801\uff0c\u53ef\u4ee5\u8ba9\u4f60\u5feb\u901f\u4e86\u89e3\u8fd9\u95e8\u8bed\u8a00\u7684\u8bed\u6cd5\u3002<\/p>\n<h3 data-id=\"heading-7\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fwww.nathom.dev%2Fblog%2Fcasual_performance_optimization_python%2F\" target=\"_blank\" title=\"https:\/\/www.nathom.dev\/blog\/casual_performance_optimization_python\/\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">Python \u4e2d\u4e0d\u90a3\u4e48\u968f\u610f\u7684\u6027\u80fd\u4f18\u5316<\/a><\/h3>\n<p>\u4f5c\u8005\u7684\u4e00\u6bb5\u4ee3\u7801\uff0c\u7528 Rust \u82b1\u4e86 950 \u6beb\u79d2\uff0c\u800c Python \u5374\u82b1 70 \u79d2\uff01\u8fd9\u600e\u4e48\u80fd\u5fcd\uff01\u5c06\u751f\u6210\u5668\u5199\u6cd5\u6539\u6210 for \u5faa\u73af\u540e\uff0c\u53ea\u662f\u8f7b\u5fae\u63d0\u901f\uff0c\u4f7f\u7528 Numpy \u548c\u591a\u8fdb\u7a0b\u505a\u4e86\u4e00\u4e9b\u4f18\u5316\u540e\uff0c\u7ec8\u4e8e\u770b\u5230\u4e86\u6bd4\u8f83\u53ef\u89c2\u7684\u6570\u636e\u3002\u4e0d\u540c\u4ee3\u7801\u65b9\u6848\u7684\u5bf9\u6bd4\u3001Python \u5e95\u5c42\u5de5\u4f5c\u539f\u7406\u3001\u5185\u5b58\u4f7f\u7528\u6548\u7387\u95ee\u9898\uff0c\u4ee5\u53ca\u8bed\u8a00\u7279\u6027\u7684\u5dee\u5f02\u3002<\/p>\n<h3 data-id=\"heading-8\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fwww.pythonmorsels.com%2Fcreating-a-context-manager%2F\" target=\"_blank\" title=\"https:\/\/www.pythonmorsels.com\/creating-a-context-manager\/\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">\u5728 Python \u4e2d\u521b\u5efa\u4e0a\u4e0b\u6587\u7ba1\u7406\u5668<\/a><\/h3>\n<p>\u5982\u4f55\u7528 Python \u521b\u5efa\u81ea\u5df1\u7684\u4e0a\u4e0b\u6587\u7ba1\u7406\u5668\uff1f\u4e0a\u4e0b\u6587\u7ba1\u7406\u5668\u662f\u53ef\u4ee5\u5728 <code>with<\/code> \u4ee3\u7801\u5757\u4e2d\u4f7f\u7528\u7684\u5bf9\u8c61\uff0c\u5728\u8fdb\u5165\u548c\u9000\u51fa\u65f6\u505a\u4e00\u4e9b\u64cd\u4f5c\u3002\u6587\u7ae0\u4ecb\u7ecd\u4e86\u4e0a\u4e0b\u6587\u7ba1\u7406\u5668\u7684\u5b9e\u73b0\u7ec6\u8282\u3002<\/p>\n<h3 data-id=\"heading-9\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fkenschutte.com%2Fpython-swap-ints\" target=\"_blank\" title=\"https:\/\/kenschutte.com\/python-swap-ints\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">\u4e00\u4e2a\u7b80\u5355\u7684\u6a21\u5757\uff0c\u53ef\u4ee5\u7be1\u6539 Python \u89e3\u91ca\u5668\u7684\u6570\u5b57<\/a><\/h3>\n<p>\u4e00\u7bc7\u6709\u610f\u601d\u7684\u6587\u7ae0\u3002\u5bfc\u5165\u4e00\u4e2a\u6a21\u5757\u540e\uff0c\u53ef\u4ee5\u5c06 8 \u548c 9 \u4e92\u6362\uff0c\u5373<code>print(8)<\/code> \u4f1a\u6253\u5370\u51fa 9\u3002\u6587\u7ae0\u5c55\u793a\u4e86\u5982\u4f55\u7528 C \u7f16\u5199\u4e00\u4e2a\u7b80\u5355\u7684\u6a21\u5757\uff0c\u4ecb\u7ecd\u4e86 CPython \u4e2d\u6574\u6570\u5bf9\u8c61\u6c60\u7684\u5b9e\u73b0\uff0c\u5e76\u901a\u8fc7\u4fee\u6539\u4e24\u4e2a\u6574\u6570\u7684\u5f15\u7528\uff0c\u5b9e\u73b0\u4e00\u4e2a\u7b80\u5355\u7684\u7be1\u6539\u6570\u5b57\u7684\u6548\u679c\u3002<\/p>\n<h3 data-id=\"heading-10\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fjosvisser.substack.com%2Fp%2Fwhy-python-is-terrible\" target=\"_blank\" title=\"https:\/\/josvisser.substack.com\/p\/why-python-is-terrible\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">\u4e3a\u4ec0\u4e48\u8bf4 Python \u5f88\u7cdf\u7cd5\u2026\u2026<\/a><\/h3>\n<p>\u4e00\u7bc7\u7ed9 Python \u6cfc\u51b7\u6c34\u7684\u6587\u7ae0\uff0c\u4e3b\u8981\u89c2\u70b9\u662f\u8ba4\u4e3a Python \u4e0d\u9002\u5408\u4e8e\u5f00\u53d1\u5927\u578b\u5e94\u7528\u3002\u6279\u8bc4\u7684\u70b9\u5305\u62ec\u52a8\u6001\u548c\u9e2d\u5b50\u7c7b\u578b\u3001\u6027\u80fd\u95ee\u9898\u3001\u4ee3\u7801\u7ef4\u62a4\u548c\u91cd\u6784\u96be\u7b49\u95ee\u9898\u3002<\/p>\n<h3 data-id=\"heading-11\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fpybit.es%2Farticles%2Fpython-errors-should-not-pass-silently%2F\" target=\"_blank\" title=\"https:\/\/pybit.es\/articles\/python-errors-should-not-pass-silently\/\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">Python \u4e2d\u9519\u8bef\u5904\u7406\u7684\u6700\u4f73\u5b9e\u8df5<\/a><\/h3>\n<p>Python \u4e4b\u7985\u8bf4\u201c\u9519\u8bef\u4e0d\u5e94\u8be5\u6084\u65e0\u58f0\u606f\u5730\u88ab\u5ffd\u7565\u201d\uff0c\u5f3a\u8c03\u4e86\u5e94\u8be5\u76f4\u9762\u9519\u8bef\u548c\u900f\u660e\u5904\u7406\u3002\u6587\u7ae0\u6307\u51fa\u4e86\u4e00\u4e9b\u7cdf\u7cd5\u7684\u9519\u8bef\u5904\u7406\u5199\u6cd5\uff0c\u7ed9\u51fa\u4e86\u5c3d\u65e9\u68c0\u67e5\u9519\u8bef\u3001\u5feb\u901f\u5931\u8d25\u5904\u7406\u7b49\u7f16\u7a0b\u5efa\u8bae\u3002<\/p>\n<h3 data-id=\"heading-12\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fwww.pythongasm.com%2Fbuild-gpt-powered-chatbots-around-enterprise-data-with-python\" target=\"_blank\" title=\"https:\/\/www.pythongasm.com\/build-gpt-powered-chatbots-around-enterprise-data-with-python\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">\u4f7f\u7528\u4f01\u4e1a\u6570\u636e\u548c Python \u6784\u5efa GPT \u5bf9\u8bdd\u673a\u5668\u4eba<\/a><\/h3>\n<p>\u8fd9\u7bc7\u6559\u7a0b\u4ecb\u7ecd\u4e86\u642d\u5efa\u4f01\u4e1a\u4e2d GPT \u5bf9\u8bdd\u673a\u5668\u4eba\u7684\u5b8c\u6574\u6d41\u7a0b\uff0c\u5305\u62ec\u6570\u636e\u7d22\u5f15\u3001\u67e5\u8be2\u68c0\u7d22\u3001\u96c6\u6210 LLM\u3001\u4f7f\u7528 FastAPI \u5f00\u53d1\u63a5\u53e3\u3001uvicorn \u4f5c\u90e8\u7f72\u3002<\/p>\n<h3 data-id=\"heading-13\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fwww.bitecode.dev%2Fp%2Fpython-cocktail-mix-a-context-manager\" target=\"_blank\" title=\"https:\/\/www.bitecode.dev\/p\/python-cocktail-mix-a-context-manager\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">Python \u9e21\u5c3e\u9152\uff1a\u5c06\u4e0a\u4e0b\u6587\u7ba1\u7406\u5668\u548c\u8fed\u4ee3\u5668\u7b49\u91cf\u6df7\u5408<\/a><\/h3>\n<p><strong>tenacity<\/strong> \u5e93\u63d0\u4f9b\u4e86\u4e00\u79cd\u7528\u8fed\u4ee3\u5668\u548c\u4e0a\u4e0b\u6587\u7ba1\u7406\u5668\u7ec4\u5408\u7684\u5199\u6cd5\uff0c\u5b9e\u73b0\u91cd\u8bd5\u673a\u5236\u3002\u8fd9\u7bc7\u6587\u7ae0\u6f14\u793a\u4e86\u5982\u4f55\u7528\u81ea\u5b9a\u4e49\u7684\u8fed\u4ee3\u5668\u548c\u4e0a\u4e0b\u6587\u7ba1\u7406\u5668\uff0c\u6765\u5b9e\u73b0\u540c\u6837\u7684\u529f\u80fd\uff0c\u53ef\u4ee5\u8ba9\u4f60\u66f4\u6df1\u5165\u7406\u89e3\u8fd9\u4e24\u4e2a\u597d\u7528\u7684\u7279\u6027\u3002<\/p>\n<h3 data-id=\"heading-14\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fstackabuse.com%2Fthe-power-of-indexing-boosting-data-wrangling-efficiency-with-pandas%2F\" target=\"_blank\" title=\"https:\/\/stackabuse.com\/the-power-of-indexing-boosting-data-wrangling-efficiency-with-pandas\/\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">\u7d22\u5f15\u7684\u529b\u91cf\uff1a\u5229\u7528 Pandas \u63d0\u9ad8\u6570\u636e\u6574\u7406\u6548\u7387<\/a><\/h3>\n<p>Pandas \u88ab\u5e7f\u6cdb\u7528\u4e8e\u6570\u636e\u5904\u7406\uff0c\u6587\u7ae0\u4ecb\u7ecd\u4e86\u5982\u4f55\u9ad8\u6548\u5229\u7528\u7d22\u5f15\u6280\u672f\uff0c\u63d0\u5347\u5b83\u6574\u7406\u6570\u636e\u7684\u901f\u5ea6\u548c\u6548\u7387\u3002\u4ecb\u7ecd\u4e86\u591a\u79cd\u7d22\u5f15\u6280\u672f\uff0c\u4f8b\u5982\u57fa\u4e8e\u6574\u6570\u7684\u7d22\u5f15\u3001\u5e03\u5c14\u7d22\u5f15\u3001\u8bbe\u7f6e\u65b0\u7d22\u5f15\u5e76\u91cd\u7f6e\u65e7\u7d22\u5f15\u3001\u6392\u5e8f\u7d22\u5f15\u3002<\/p>\n<h3 data-id=\"heading-15\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fwww.tinybird.co%2Fblog-posts%2Fkilling-the-processpoolexecutor\" target=\"_blank\" title=\"https:\/\/www.tinybird.co\/blog-posts\/killing-the-processpoolexecutor\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">\u6740\u6b7b ProcessPoolExecutor<\/a><\/h3>\n<p>Python \u4e0d\u9002\u5408\u5904\u7406 CPU \u5bc6\u96c6\u578b\u4efb\u52a1\uff0c\u6587\u7ae0\u4e2d\u9879\u76ee\u539f\u672c\u4f7f\u7528\u8fdb\u7a0b\u6c60\u6765\u89c4\u907f GIL \u95ee\u9898\uff0c\u540e\u4f7f\u7528\u7ebf\u7a0b\u3001C++ \u6269\u5c55\u548c\u66f4\u7cbe\u7ec6\u8c03\u6574\u7684 GIL \u63a7\u5236\uff0c\u5c06\u5185\u5b58\u4f7f\u7528\u91cf\u51cf\u5c11 50%\uff0cCPU \u4f7f\u7528\u91cf\u51cf\u5c11\u7ea6 20%\uff0c\u7ebf\u7a0b\u548c\u8fdb\u7a0b\u51cf\u5c11\u7ea6 70%\uff0cI\/O \u6d41\u91cf\u51cf\u5c11 100%\u3002<\/p>\n<p>\ud83c\udf81<strong>Python\u6f6e\u6d41\u5468\u520a<\/strong>\ud83c\udf81\u5df2\u514d\u8d39\u53d1\u5e03\u4e86 15 \u671f\uff0c\u8bbf\u95ee\u4e0b\u65b9\u94fe\u63a5\uff0c\u5373\u53ef\u67e5\u770b\u5168\u90e8\u5185\u5bb9\uff1a<a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fpythoncat.top%2Ftags%2Fweekly\" target=\"_blank\" title=\"https:\/\/pythoncat.top\/tags\/weekly\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">pythoncat.top\/tags\/weekly<\/a><\/p>\n<p>\u539f\u6587\u94fe\u63a5\uff1a<a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fpythoncat.top%2Fposts%2F2023-08-12-weekly\" target=\"_blank\" title=\"https:\/\/pythoncat.top\/posts\/2023-08-12-weekly\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">pythoncat.top\/posts\/2023-\u2026<\/a><\/p>\n<h2 data-id=\"heading-16\">\ud83d\udc3f\ufe0f\u9879\u76ee&amp;\u8d44\u6e90<\/h2>\n<h3 data-id=\"heading-17\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fgithub.com%2Fjoerick%2Fpyinstrument\" target=\"_blank\" title=\"https:\/\/github.com\/joerick\/pyinstrument\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">pyinstrument\uff1aPython \u7684\u8c03\u7528\u5806\u6808\u5206\u6790\u5668<\/a><\/h3>\n<p>\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u3001\u65e0\u4fb5\u5165\u7684 Python \u4ee3\u7801\u6027\u80fd\u5206\u6790\u5e93\uff0c\u652f\u6301\u5206\u6790\u5f02\u6b65\u4efb\u52a1\u548c\u4e8b\u4ef6\u5faa\u73af\u4ee3\u7801\uff0c\u53ef\u751f\u6210\u591a\u79cd\u683c\u5f0f\u7684\u5206\u6790\u62a5\u544a\uff0c\u5305\u62ec\u6587\u672c\u3001HTML \u548c\u706b\u7130\u56fe\u3002\uff08star 5.5K\uff09<\/p>\n<h3 data-id=\"heading-18\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fgithub.com%2Fgaogaotiantian%2Fviztracer\" target=\"_blank\" title=\"https:\/\/github.com\/gaogaotiantian\/viztracer\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">viztracer\uff1a\u4f4e\u5f00\u9500\u7684\u65e5\u5fd7\u8bb0\u5f55\/\u8c03\u8bd5\/\u5206\u6790\u5de5\u5177\uff0c\u53ef\u89c6\u5316 Python \u4ee3\u7801\u7684\u6267\u884c<\/a><\/h3>\n<p>\u56fd\u4eba\u5f00\u6e90\u7684\u65e5\u5fd7\u8bb0\u5f55\/\u8c03\u8bd5\/\u5206\u6790\u5de5\u5177\uff0c\u652f\u6301\u7ebf\u7a0b\u3001\u591a\u8fdb\u7a0b\u3001\u5b50\u8fdb\u7a0b\u548c\u5f02\u6b65\uff0c\u652f\u6301\u706b\u7130\u56fe\u3001\u8fdc\u7a0b\u8fde\u63a5\u3001\u865a\u62df\u8c03\u8bd5\u7b49\uff0c\u6709\u5f3a\u5927\u7684\u524d\u7aef\uff0c\u53ef\u6d41\u7545\u6e32\u67d3 GB \u7ea7\u5806\u6808\u4fe1\u606f\u3002\uff08star 3.5K\uff09<\/p>\n<p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.nicekj.com\/wp-content\/uploads\/replace\/1a9ed1d2acb557caa102ae3b94af2eb3.png\" alt=\"\u53ef\u89c6\u5316\u754c\u9762\" \/><\/figure>\n<\/p>\n<h3 data-id=\"heading-19\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fgithub.com%2Fjd%2Ftenacity\" target=\"_blank\" title=\"https:\/\/github.com\/jd\/tenacity\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">tenacity\uff1aPython \u91cd\u8bd5\u5e93<\/a><\/h3>\n<p>\u53ef\u63d0\u4f9b\u7b80\u5355\u800c\u7075\u6d3b\u7684\u65b9\u5f0f\u6765\u5b9e\u73b0\u53ef\u9760\u7684\u91cd\u8bd5\u673a\u5236\uff0c\u652f\u6301\u6307\u5b9a\u91cd\u8bd5\u6b21\u6570\u3001\u91cd\u8bd5\u95f4\u9694\u65f6\u95f4\u3001\u91cd\u8bd5\u7684\u56de\u8c03\u51fd\u6570\u3001\u6839\u636e\u4e0d\u540c\u7684\u9519\u8bef\u6761\u4ef6\u8fdb\u884c\u91cd\u8bd5\u7b49\u529f\u80fd\uff0c\u51cf\u5c11\u624b\u52a8\u5904\u7406\u9519\u8bef\u548c\u5f02\u5e38\u7684\u9ebb\u70e6\u3002\uff08star 5.1K\uff09<\/p>\n<h3 data-id=\"heading-20\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fgithub.com%2Flitestar-org%2Flitestar\" target=\"_blank\" title=\"https:\/\/github.com\/litestar-org\/litestar\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">litestar\uff1a\u8f7b\u91cf\u3001\u7075\u6d3b\u4e14\u53ef\u6269\u5c55\u7684 ASGI API \u6846\u67b6<\/a><\/h3>\n<p>\u4e00\u4e2a\u9ad8\u6027\u80fd\u7684 ASGI API \u6846\u67b6\uff0c\u5176\u65e9\u671f\u7248\u672c\u662f\u57fa\u4e8e <a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fgithub.com%2Fencode%2Fstarlette\" target=\"_blank\" title=\"https:\/\/github.com\/encode\/starlette\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">Starlette<\/a> \u5f00\u53d1\u7684\uff0c\u547d\u540d\u4e3a <strong>Starlite<\/strong>\uff0c\u4f46\u4ece 2.0 \u7248\u672c\u8d77\u5df2\u5b8c\u5168\u79fb\u9664 Starlette \u4f9d\u8d56\uff0c\u5e76\u6539\u540d\u4e3a litestar\u3002\u6838\u5fc3\u7279\u6027\uff1a\u57fa\u4e8e\u7c7b\u7684\u63a7\u5236\u5668\u3001\u4f9d\u8d56\u6ce8\u5165\u3001\u5206\u5c42\u4e2d\u95f4\u4ef6\u3001\u63d2\u4ef6\u7cfb\u7edf\u3001OpenAPI 3.1\u3001\u5185\u7f6e Trio\uff0c\u7b49\u7b49\u3002\uff08star 2.5K\uff09<\/p>\n<h3 data-id=\"heading-21\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fgithub.com%2Fjunshutang%2FMake-It-3D\" target=\"_blank\" title=\"https:\/\/github.com\/junshutang\/Make-It-3D\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">Make-It-3D\uff1a\u5229\u7528\u5355\u4e2a\u56fe\u50cf\u521b\u5efa\u9ad8\u4fdd\u771f 3D \u6a21\u578b<\/a><\/h3>\n<p>\u4ece\u56fe\u7247\u4e2d\u5206\u5272\u7269\u4f53\uff0c\u521b\u5efa\u9ad8\u4fdd\u771f\u7684 3D \u51e0\u4f55\u5f62\u72b6\uff0c\u53ef\u4f5c 360\u00b0 \u65cb\u8f6c\u5c55\u793a\u3002\uff08star 1.2K\uff09<\/p>\n<h3 data-id=\"heading-22\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fgithub.com%2FErwannMillon%2FColor-diffusion\" target=\"_blank\" title=\"https:\/\/github.com\/ErwannMillon\/Color-diffusion\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">Color-diffusion\uff1a\u5bf9\u9ed1\u767d\u56fe\u50cf\u8fdb\u884c\u7740\u8272\u7684\u6269\u6563\u6a21\u578b<\/a><\/h3>\n<p>\u4f7f\u7528 diffusion  \u6a21\u578b\u5bf9\u9ed1\u767d\u56fe\u50cf\u8fdb\u884c\u7740\u8272\uff0c\u4f7f\u7528 LAB \u8272\u5f69\u7a7a\u95f4\u5b9e\u73b0\uff0c\u8fd9\u662f RGB \u8272\u5f69\u7a7a\u95f4\u7684 3 \u901a\u9053\u66ff\u4ee3\u65b9\u6848\u3002<\/p>\n<h3 data-id=\"heading-23\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fgithub.com%2Fkuafuai%2FDevOpsGPT\" target=\"_blank\" title=\"https:\/\/github.com\/kuafuai\/DevOpsGPT\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">DevOpsGPT\uff1aAI \u9a71\u52a8\u7684\u81ea\u52a8\u5316\u8f6f\u4ef6\u5f00\u53d1\u7cfb\u7edf<\/a><\/h3>\n<p>\u5c06 LLM \u4e0e DevOps \u5de5\u5177\u76f8\u7ed3\u5408\uff0c\u5c06\u81ea\u7136\u8bed\u8a00\u9700\u6c42\u8f6c\u6362\u4e3a\u53ef\u5de5\u4f5c\u7684\u8f6f\u4ef6\u3002\u65e0\u9700\u7e41\u7410\u7684\u9700\u6c42\u6587\u6863\u7f16\u5199\u4e0e\u6c9f\u901a\uff0c\u7f29\u77ed\u5f00\u53d1\u4e0e\u4ea4\u4ed8\u65f6\u95f4\uff0c\u52a0\u901f\u8f6f\u4ef6\u90e8\u7f72\u548c\u8fed\u4ee3\u3002\uff08star 1.2K\uff09<\/p>\n<p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.nicekj.com\/wp-content\/uploads\/replace\/d87f735e6c2576105c08fdf41b9c2ccc.png\" alt=\"\u81ea\u52a8\u5316\u9700\u6c42\u5f00\u53d1\u7684\u6d41\u7a0b\u56fe\" \/><\/figure>\n<\/p>\n<h3 data-id=\"heading-24\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fgithub.com%2FInstagram%2FLibCST\" target=\"_blank\" title=\"https:\/\/github.com\/Instagram\/LibCST\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">ILibCST\uff1aPython \u7684\u5177\u4f53\u8bed\u6cd5\u6811\u89e3\u6790\u5668\u548c\u5e8f\u5217\u5316\u5668\u5e93<\/a><\/h3>\n<p>\u5177\u4f53\u8bed\u6cd5\u6811\uff08Concrete Syntax Tree\uff09\u662f\u5728\u8bcd\u6cd5\u5206\u6790\u548c\u8bed\u6cd5\u5206\u6790\u9636\u6bb5\u540e\u751f\u6210\u7684\u4e00\u79cd\u6570\u636e\u7ed3\u6784\uff0c\u53ef\u7528\u4e8e\u5206\u6790\u4ee3\u7801\u7ed3\u6784\uff0c\u6267\u884c\u8bed\u4e49\u5206\u6790\u3001\u91cd\u6784\u4f18\u5316\u548c\u4ee3\u7801\u751f\u6210\u7b49\u64cd\u4f5c\u3002\uff08star 1.2K\uff09<\/p>\n<h3 data-id=\"heading-25\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fgithub.com%2FHypothesisWorks%2Fhypothesis\" target=\"_blank\" title=\"https:\/\/github.com\/HypothesisWorks\/hypothesis\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">hypothesis\uff1a\u529f\u80fd\u5f3a\u5927\u3001\u7075\u6d3b\u4e14\u6613\u4e8e\u4f7f\u7528\u7684\u5e93\uff0c\u7528\u4e8e\u57fa\u4e8e\u5c5e\u6027\u7684\u6d4b\u8bd5<\/a><\/h3>\n<p>\u57fa\u4e8e\u5c5e\u6027\u7684\u6d4b\u8bd5\uff08Property-based Testing\uff09\u662f\u4e00\u79cd\u8f6f\u4ef6\u6d4b\u8bd5\u65b9\u6cd5\uff0c\u5176\u4e2d\u6d4b\u8bd5\u7528\u4f8b\u7684\u751f\u6210\u548c\u9a8c\u8bc1\u662f\u57fa\u4e8e\u5b9a\u4e49\u7684\u5c5e\u6027\u6216\u89c4\u7ea6\u3002\u4f20\u7edf\u7684\u5355\u5143\u6d4b\u8bd5\u8981\u7ed9\u5b9a\u5177\u4f53\u7684\u6d4b\u8bd5\u7528\u4f8b\uff0c\u800c\u57fa\u4e8e\u5c5e\u6027\u7684\u6d4b\u8bd5\u5219\u662f\u968f\u673a\u751f\u6210\u5927\u91cf\u7684\u6d4b\u8bd5\u6570\u636e\u3002\uff08star 6.8K\uff09<\/p>\n<h2 data-id=\"heading-26\">\ud83d\udc22\u64ad\u5ba2&amp;\u89c6\u9891<\/h2>\n<h3 data-id=\"heading-27\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fpythonpeople.fm%2F\" target=\"_blank\" title=\"https:\/\/pythonpeople.fm\/\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">Python People \u64ad\u5ba2<\/a><\/h3>\n<p>\u8fd9\u662f\u4e00\u6863\u65b0\u4e0a\u7ebf\u4e00\u4e2a\u6708\u7684\u64ad\u5ba2\u680f\u76ee\uff0c\u6bcf\u5468\u8bbf\u8c08 Python \u793e\u533a\u91cc\u4e00\u4f4d\u6709\u7a81\u51fa\u8d21\u732e\u7684\u5927\u4f6c\u3002\u76ee\u524d\u5df2\u8bbf\u8c08\u7684\u5609\u5bbe\u6709 Michael Kennedy\uff08Talk Python to Me \u548c Python Bytes \u7684\u4e3b\u7406\u4eba\uff09\u3001Paul Everitt\uff08 JetBrains \u548c PyCharm \u7684\u5f00\u53d1\u8005\u5021\u5bfc\u8005\uff09\u3001Brett Cannon\uff08Python \u6838\u5fc3\u5f00\u53d1\u8005\uff09\u3001Barry Warsaw\uff08Python \u6838\u5fc3\u5f00\u53d1\u8005\uff0c\u975e\u5e38\u65e9\u7684\u6210\u5458\uff09\u3001Bob Belderbos\uff08Pybites \u7684\u4e3b\u7406\u4eba\uff09\u3002<\/p>\n<p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.nicekj.com\/wp-content\/uploads\/replace\/9a655070aef3c04b1046abdbec990883.png\" alt=\"Python \u6f6e\u6d41\u5468\u520a#15\uff1a\u5982\u4f55\u5206\u6790 FastAPI \u5f02\u6b65\u8bf7\u6c42\u7684\u6027\u80fd\uff1f\" \/><\/figure>\n<\/p>\n<h3 data-id=\"heading-28\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Ftalkpython.fm%2Fepisodes%2Fshow%2F426%2Fwhats-new-in-pyscript-august-2023\" target=\"_blank\" title=\"https:\/\/talkpython.fm\/episodes\/show\/426\/whats-new-in-pyscript-august-2023\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">Talk Python To Me #426\uff1aPyScript \u7684\u65b0\u589e\u529f\u80fd<\/a><\/h3>\n<p>Pyscript \u4f7f Python \u80fd\u591f\u5728\u6d4f\u89c8\u5668\u4e2d\u8fd0\u884c\u3002\u8fd9\u671f\u64ad\u5ba2\u804a\u4e86\u5b83\u7684\u6700\u65b0\u8fdb\u5c55\u3002<\/p>\n<h3 data-id=\"heading-29\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fstackoverflow.blog%2F2023%2F08%2F08%2Funderstanding-sre-ep-597%2F\" target=\"_blank\" title=\"https:\/\/stackoverflow.blog\/2023\/08\/08\/understanding-sre-ep-597\/\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">Stack Overflow Blog #597\uff1a\u4e86\u89e3 SRE<\/a><\/h3>\n<p>\u7f51\u7ad9\u53ef\u9760\u6027\u5de5\u7a0b\uff08Site Reliability Engineering\uff0cSRE\uff09\u662f\u4ec0\u4e48\uff1f\u5b83\u548c DevOps \u6709\u4ec0\u4e48\u5173\u7cfb\uff1f\u5982\u4f55\u5e73\u8861 SRE \u7684\u539f\u5219\u4e0e\u7ec4\u7ec7\u7ed3\u6784\u7684\u5173\u7cfb\uff1f\u751f\u6210\u5f0f AI \u5bf9 SRE \u4f1a\u5e26\u6765\u4ec0\u4e48\u5f71\u54cd\uff1f<\/p>\n<h3 data-id=\"heading-30\"><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fstackoverflow.blog%2F2023%2F07%2F25%2Fhow-the-python-team-is-adapting-the-language-for-an-ai-future-ep-593%2F\" target=\"_blank\" title=\"https:\/\/stackoverflow.blog\/2023\/07\/25\/how-the-python-team-is-adapting-the-language-for-an-ai-future-ep-593\/\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">Stack Overflow Blog #593\uff1aPython \u56e2\u961f\u5982\u4f55\u8c03\u6574\u8bed\u8a00\u4ee5\u9002\u5e94 AI \u7684\u672a\u6765<\/a><\/h3>\n<p>\u64ad\u5ba2\u5609\u5bbe\u662f Python \u6838\u5fc3\u5f00\u53d1\u8005\u548c\u6307\u5bfc\u59d4\u5458\u4f1a\u6210\u5458 Pablo Galindo Salgado\uff0c\u8ba8\u8bba\u4e86\u5982\u4f55\u5e73\u8861\u8bed\u8a00\u8bbe\u8ba1\u4e2d\u7684\u4e00\u81f4\u6027\u548c\u65b0\u529f\u80fd\u3001\u4e3a\u4ec0\u4e48\u6536\u96c6\u793e\u533a\u5bf9\u65b0\u7248\u672c\u7684\u53cd\u9988\u5f88\u91cd\u8981\uff0c\u4ee5\u53ca\u4e3a\u4f55\u4ed6\u8981\u4e13\u6ce8\u4e8e\u8ba9 Python \u66f4\u5feb\u3002<\/p>\n<h2 data-id=\"heading-31\">\ud83d\udc31\u8d5e\u52a9&amp;\u652f\u6301<\/h2>\n<p>\u5982\u679c\u4f60\u89c9\u5f97\u5468\u520a\u6709\u4ef7\u503c\uff0c\u8bf7\u968f\u610f<a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fimg.pythoncat.top%2Fwechat_code.png\" target=\"_blank\" title=\"https:\/\/img.pythoncat.top\/wechat_code.png\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">\u8d5e\u8d4f<\/a> \u6216 <a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fwww.buymeacoffee.com%2Fpythoncat\" target=\"_blank\" title=\"https:\/\/www.buymeacoffee.com\/pythoncat\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">\u4e70\u676f\u5496\u5561<\/a> \u8fdb\u884c\u652f\u6301\uff01<\/p>\n<p>\u5982\u679c\u4f60\u559c\u6b22\u5468\u520a\uff0c\u8bf7\u5206\u4eab\u7ed9\u5176\u4ed6\u9700\u8981\u7684\u540c\u5b66\uff0c\u8ba9\u66f4\u591a\u4eba\u53ef\u4ee5\u4ece\u4e2d\u53d7\u76ca\uff5e<\/p>\n<h2 data-id=\"heading-32\">\ud83d\udc3c\u6b22\u8fce\u8ba2\u9605<\/h2>\n<ul>\n<li><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fimg.pythoncat.top%2Fpython_cat.jpg\" target=\"_blank\" title=\"https:\/\/img.pythoncat.top\/python_cat.jpg\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">\u5fae\u4fe1\u516c\u4f17\u53f7<\/a>\uff1a\u9664\u66f4\u65b0\u5468\u520a\u5916\uff0c\u8fd8\u53d1\u5e03\u5176\u5b83\u539f\u521b\u4f5c\u54c1\uff0c\u5e76\u8f6c\u8f7d\u4e00\u4e9b\u4f18\u8d28\u6587\u7ae0\u3002\uff08\u53ef\u52a0\u597d\u53cb\uff0c\u53ef\u52a0\u8bfb\u8005\u4ea4\u6d41\u7fa4\uff09<\/li>\n<li><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fpythoncat.top\" target=\"_blank\" title=\"https:\/\/pythoncat.top\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">\u535a\u5ba2<\/a> \u53ca <a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fpythoncat.top%2Frss.xml\" target=\"_blank\" title=\"https:\/\/pythoncat.top\/rss.xml\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">RSS<\/a>\uff1a\u6211\u7684\u72ec\u7acb\u535a\u5ba2\uff0c\u4e0a\u9762\u6709\u5386\u5e74\u539f\u521b\/\u7ffb\u8bd1\u7684\u6280\u672f\u6587\u7ae0\uff0c\u4ee5\u53ca\u4ece 2009 \u5e74\u4ee5\u6765\u7684\u4e00\u4e9b\u968f\u7b14\u3002<\/li>\n<li><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fgithub.com%2Fchinesehuazhou%2Fpython-weekly\" target=\"_blank\" title=\"https:\/\/github.com\/chinesehuazhou\/python-weekly\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">Github<\/a>\uff1a\u4f60\u53ef\u4ee5\u83b7\u53d6\u672c\u5468\u520a\u7684 Markdown \u6e90\u6587\u4ef6\uff0c\u505a\u4efb\u4f55\u60f3\u505a\u7684\u4e8b\uff01<\/li>\n<li><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Fpythoncat.substack.com\" target=\"_blank\" title=\"https:\/\/pythoncat.substack.com\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">\u90ae\u4ef6<\/a>\uff1a\u5728 Substack \u4e0a\u5f00\u901a\u7684\u9891\u9053\uff0c\u6ee1\u8db3\u4f60\u901a\u8fc7\u90ae\u4ef6\u9605\u8bfb\u65f6\u4e8b\u901a\u8baf\u7684\u8bc9\u6c42\u3002<\/li>\n<li><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Ft.me%2Fpythontrendingweekly\" target=\"_blank\" title=\"https:\/\/t.me\/pythontrendingweekly\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">Telegram<\/a>\uff1a\u9664\u4e86\u53d1\u5e03\u5468\u520a\u7684\u901a\u77e5\u5916\uff0c\u6211\u5c06\u5b83\u89c6\u4e3a\u4e00\u4e2a\u201c\u526f\u520a\u201d\uff0c\u8865\u5145\u53d1\u5e03\u66f4\u52a0\u4e30\u5bcc\u7684\u8d44\u8baf\u3002<\/li>\n<li><a href=\"https:\/\/link.juejin.cn?target=https%3A%2F%2Ftwitter.com%2Fchinesehuazhou\" target=\"_blank\" title=\"https:\/\/twitter.com\/chinesehuazhou\" ref=\"nofollow noopener noreferrer\" rel=\"noopener\">Twitter<\/a>\uff1a\u6211\u7684\u5173\u6ce8\u5217\u8868\u91cc\u6709\u5927\u91cf Python \u76f8\u5173\u7684\u5f00\u53d1\u8005\u4e0e\u7ec4\u7ec7\u7684\u8d26\u53f7\u3002<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>\u4f60\u597d\uff0c\u6211\u662f\u732b\u54e5\u3002\u8fd9\u91cc\u6bcf\u5468\u5206\u4eab\u4f18\u8d28\u7684 Python\u3001AI \u53ca\u901a\u7528\u6280\u672f\u5185\u5bb9\uff0c\u5927\u90e8\u5206\u4e3a\u82f1\u6587\u3002\u6807\u9898\u53d6\u81ea\u5176\u4e2d\u4e00\u5219\u5206\u4eab\uff0c\u4e0d\u4ee3\u8868\u5168\u90e8\u5185\u5bb9\u90fd\u662f\u8be5\u4e3b\u9898\uff0c\u7279\u6b64\u58f0\u660e\u3002 \u672c\u5468\u520a\u7cbe\u5fc3\u7b5b\u9009\u56fd\u5185\u5916\u7684 250+ \u4fe1\u606f\u6e90\uff0c\u4e3a\u4f60\u6311\u9009\u6700\u503c<\/p>\n","protected":false},"author":1,"featured_media":3176,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"rank_math_title":"Python \u6f6e\u6d41\u5468\u520a\uff1a\u7cbe\u9009\u6280\u672f\u8d44\u6e90\uff0c\u52a9\u4f60\u63d0\u5347\u5f00\u53d1\u6280\u80fd - \u5948\u65af\u79d1\u6280\u793e\u533a","rank_math_description":"\u8fd9\u4efd Python \u6f6e\u6d41\u5468\u520a\u7cbe\u9009\u4e86\u8fd1\u671f\u6700\u503c\u5f97\u5173\u6ce8\u7684\u6280\u672f\u6587\u7ae0\u3001\u6559\u7a0b\u3001\u5f00\u6e90\u9879\u76ee\u548c\u5de5\u5177\u7b49\u8d44\u6e90\uff0c\u6db5\u76d6\u6027\u80fd\u5206\u6790\u3001\u5f02\u6b65\u7f16\u7a0b\u3001\u673a\u5668\u5b66\u4e60\u3001\u4ee5\u53ca\u5f00\u53d1\u6280\u5de7\u7b49\u65b9\u9762\uff0c\u52a9\u4f60\u63d0\u5347 Python \u6280\u80fd\uff0c\u7d27\u8ddf\u6280\u672f\u6f6e\u6d41\uff01","rank_math_focus_keyword":"Python, AI, \u5f00\u53d1\u5de5\u5177, \u6027\u80fd\u5206\u6790, \u673a\u5668\u5b66\u4e60","views":"46","footnotes":""},"categories":[3],"tags":[126,127,128,129,136],"collection":[],"class_list":["post-1274","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fenlei2","tag-gpt","tag-ai","tag-128","tag-129","tag-136"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.nicekj.com\/nicekj2024\/wp\/v2\/posts\/1274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nicekj.com\/nicekj2024\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nicekj.com\/nicekj2024\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nicekj.com\/nicekj2024\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nicekj.com\/nicekj2024\/wp\/v2\/comments?post=1274"}],"version-history":[{"count":0,"href":"https:\/\/www.nicekj.com\/nicekj2024\/wp\/v2\/posts\/1274\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.nicekj.com\/nicekj2024\/wp\/v2\/media\/3176"}],"wp:attachment":[{"href":"https:\/\/www.nicekj.com\/nicekj2024\/wp\/v2\/media?parent=1274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nicekj.com\/nicekj2024\/wp\/v2\/categories?post=1274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nicekj.com\/nicekj2024\/wp\/v2\/tags?post=1274"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.nicekj.com\/nicekj2024\/wp\/v2\/collection?post=1274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}