{"id":4969,"date":"2024-10-31T17:44:07","date_gmt":"2024-10-31T09:44:07","guid":{"rendered":"https:\/\/nullthought.net\/?p=4969"},"modified":"2025-09-11T12:06:47","modified_gmt":"2025-09-11T04:06:47","slug":"python%e6%88%90%e4%b8%bagithub%e6%9c%80%e5%8f%97%e6%ac%a2%e8%bf%8e%e7%9a%84%e7%bc%96%e7%a8%8b%e8%af%ad%e8%a8%80","status":"publish","type":"post","link":"https:\/\/nullthought.net\/?p=4969","title":{"rendered":"Python\u6210\u4e3aGitHub\u6700\u53d7\u6b22\u8fce\u7684\u7f16\u7a0b\u8bed\u8a00"},"content":{"rendered":"\n<p>GitHub\u65b0\u8fd1\u53d1\u5e03\u4e86<a href=\"https:\/\/github.blog\/news-insights\/octoverse\/octoverse-2024\/\" target=\"_blank\" rel=\"noreferrer noopener\">Octoverse\u62a5\u544aAI leads Python to top language as the number of global developers surges<\/a>\uff0c\u8be5\u62a5\u544a\u53cd\u6620\u4e862024\u5e74\u5168\u7403\u5f00\u53d1\u8005\u793e\u533a\u7684\u73b0\u72b6\u548c\u8d8b\u52bf\u3002\u62a5\u544a\u663e\u793a\uff0cAI\u548c\u5f00\u6e90\u6b63\u4ee5\u524d\u6240\u672a\u6709\u7684\u65b9\u5f0f\u63a8\u52a8\u5168\u7403\u5f00\u53d1\u8005\u793e\u533a\u7684\u589e\u957f\u3002Python\u7684\u5d1b\u8d77\u548c\u751f\u6210\u5f0fAI\u7684\u5e7f\u6cdb\u5e94\u7528\u662f\u4eca\u5e74\u7684\u91cd\u8981\u8d8b\u52bf\u4e4b\u4e00\uff0c\u800c\u5f00\u53d1\u8005\u7684\u591a\u6837\u6027\u548c\u5168\u7403\u5f00\u53d1\u8005\u793e\u533a\u7684\u6301\u7eed\u6269\u5c55\uff0c\u4e5f\u4e3a\u8f6f\u4ef6\u884c\u4e1a\u5e26\u6765\u4e86\u66f4\u591a\u521b\u65b0\u548c\u6d3b\u529b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"544\" src=\"https:\/\/nullthought.net\/wp-content\/uploads\/2024\/10\/GitHub-Octoverse-2024-1024x544.jpg\" alt=\"\" class=\"wp-image-4972\" srcset=\"https:\/\/nullthought.net\/wp-content\/uploads\/2024\/10\/GitHub-Octoverse-2024-1024x544.jpg 1024w, https:\/\/nullthought.net\/wp-content\/uploads\/2024\/10\/GitHub-Octoverse-2024-300x159.jpg 300w, https:\/\/nullthought.net\/wp-content\/uploads\/2024\/10\/GitHub-Octoverse-2024-768x408.jpg 768w, https:\/\/nullthought.net\/wp-content\/uploads\/2024\/10\/GitHub-Octoverse-2024-1536x816.jpg 1536w, https:\/\/nullthought.net\/wp-content\/uploads\/2024\/10\/GitHub-Octoverse-2024.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><a href=\"https:\/\/github.blog\/news-insights\/octoverse\/octoverse-2024\/\" target=\"_blank\" rel=\"noreferrer noopener\">Octoverse: AI leads Python to top language as the number of global developers surges<\/a><\/figcaption><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\">\u4e00\u3001AI\u5f15\u9886\u5168\u7403\u5f00\u53d1\u8005\u6570\u91cf\u6fc0\u589e<\/h5>\n\n\n\n<p>2024\u5e74\uff0c\u5168\u7403\u8303\u56f4\u5185\u6709\u5927\u91cf\u65b0\u5f00\u53d1\u8005\u52a0\u5165GitHub\uff0c\u4e3b\u8981\u53d7AI\u9879\u76ee\u548c\u5de5\u5177\uff08\u5982GitHub Copilot\uff09\u7684\u63a8\u52a8\u3002GitHub\u7684\u6570\u636e\u8868\u660e\uff0cAI\u5e76\u672a\u53d6\u4ee3\u5f00\u53d1\u8005\uff0c\u800c\u662f\u5e2e\u52a9\u66f4\u591a\u4eba\u8fdb\u5165\u8fd9\u4e00\u9886\u57df\u3002\u5c24\u5176\u662f\u5168\u7403\u5357\u90e8\u56fd\u5bb6\u7684\u5f00\u53d1\u8005\u6570\u91cf\u663e\u8457\u589e\u52a0\uff0c\u8bf4\u660eAI\u6280\u672f\u7684\u63a8\u5e7f\u5e2e\u52a9\u4e86\u66f4\u591a\u4eba\u5b66\u4e60\u548c\u4f7f\u7528\u7f16\u7a0b\u6280\u80fd\u200b\u3002<\/p>\n\n\n\n<p>Generative AI\u9879\u76ee\u7684\u8d21\u732e\u6fc0\u589e\uff0c2024\u5e74\u76f8\u5173\u9879\u76ee\u7684\u8d21\u732e\u589e\u52a0\u4e8659%\uff0c\u5176\u4e2d\u8bb8\u591a\u8d21\u732e\u6765\u81ea\u7f8e\u56fd\u4ee5\u5916\u7684\u56fd\u5bb6\uff0c\u5982\u5370\u5ea6\u3001\u5fb7\u56fd\u3001\u65e5\u672c\u548c\u65b0\u52a0\u5761\u3002\u8fd9\u4e9b\u56fd\u5bb6\u7684\u5f00\u53d1\u8005\u5bf9\u751f\u6210\u5f0fAI\u9879\u76ee\u8868\u73b0\u51fa\u6d53\u539a\u7684\u5174\u8da3\uff0c\u63a8\u52a8\u4e86\u8fd9\u4e00\u9886\u57df\u7684\u5feb\u901f\u53d1\u5c55\u200b\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u4e8c\u3001Python\u6210\u4e3aGitHub\u6700\u53d7\u6b22\u8fce\u7684\u7f16\u7a0b\u8bed\u8a00<\/h5>\n\n\n\n<p>Python\u57282024\u5e74\u8d85\u8d8aJavaScript\uff0c\u6210\u4e3aGitHub\u4e0a\u4f7f\u7528\u6700\u5e7f\u6cdb\u7684\u7f16\u7a0b\u8bed\u8a00\u3002Python\u7684\u5e7f\u6cdb\u4f7f\u7528\u5f97\u76ca\u4e8e\u5176\u5728\u673a\u5668\u5b66\u4e60\u3001\u6570\u636e\u79d1\u5b66\u548c\u79d1\u5b66\u8ba1\u7b97\u7b49\u9886\u57df\u4e2d\u7684\u5e94\u7528\uff0c\u800c\u8fd9\u4e9b\u9886\u57df\u5728AI\u6280\u672f\u7684\u63a8\u52a8\u4e0b\u4e5f\u8fc5\u901f\u589e\u957f\u3002\u540c\u65f6\uff0cJupyter Notebooks\u7684\u4f7f\u7528\u4e5f\u6fc0\u589e92%\uff0c\u53cd\u6620\u4e86\u6570\u636e\u79d1\u5b66\u5bb6\u548c\u5b66\u672f\u754c\u8d8a\u6765\u8d8a\u591a\u5730\u5229\u7528GitHub\u8fdb\u884c\u7814\u7a76\u4e0e\u5b9e\u9a8c\u200b\u3002<\/p>\n\n\n\n<p>\u6b64\u6b21\u53d8\u52a8\u662f\u81ea2019\u5e74\u4ee5\u6765GitHub\u4e0a\u7f16\u7a0b\u8bed\u8a00\u4f7f\u7528\u6392\u884c\u7684\u91cd\u5927\u53d8\u5316\uff0c\u6807\u5fd7\u7740Python\u56e0\u5176\u6613\u7528\u6027\u3001\u5728\u6570\u636e\u79d1\u5b66\u548cAI\u4e2d\u7684\u5f3a\u5927\u529f\u80fd\uff0c\u4ee5\u53ca\u751f\u6210\u5f0fAI\u7684\u5174\u8d77\u800c\u5f97\u5230\u4e86\u8d8a\u6765\u8d8a\u591a\u7684\u652f\u6301\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u4e09\u3001\u5168\u7403\u5f00\u53d1\u8005\u793e\u533a\u7684\u53d8\u5316<\/h5>\n\n\n\n<p>\u5728\u5168\u7403\u5f00\u53d1\u8005\u793e\u533a\u7684\u6269\u5c55\u4e2d\uff0c\u975e\u82f1\u8bed\u9ad8\u4eba\u53e3\u5730\u533a\u589e\u957f\u5c24\u4e3a\u663e\u8457\u3002\u4f8b\u5982\uff0c\u5370\u5ea6\u9884\u8ba1\u52302028\u5e74\u5c06\u6210\u4e3aGitHub\u4e0a\u5f00\u53d1\u8005\u6570\u91cf\u6700\u591a\u7684\u56fd\u5bb6\u3002\u975e\u6d32\u3001\u62c9\u4e01\u7f8e\u6d32\u548c\u4e9a\u6d32\u7684\u5f00\u53d1\u8005\u6570\u91cf\u5747\u51fa\u73b0\u4e86\u5927\u5e45\u589e\u957f\uff0c\u5176\u4e2d\u5370\u5ea6\u548c\u5df4\u897f\u589e\u957f\u5c24\u4e3a\u7a81\u51fa\u3002\u6b64\u5916\uff0c\u62c9\u4e01\u7f8e\u6d32\u7684\u6280\u672f\u589e\u957f\u4e3b\u8981\u53d7\u5230\u5f00\u653e\u94f6\u884c\u3001\u4e91\u57fa\u7840\u8bbe\u65bd\u548cAI\u7b49\u9886\u57df\u7684\u9a71\u52a8\u3002<\/p>\n\n\n\n<p>\u6b27\u6d32\u548c\u4e2d\u4e1c\u5730\u533a\u7684\u6280\u672f\u53d1\u5c55\u4e5f\u8868\u73b0\u7a81\u51fa\uff0c\u5c24\u5176\u662f\u5728\u63a8\u52a8AI\u6280\u672f\u548c\u5e73\u53f0\u76d1\u7ba1\u65b9\u9762\uff0c\u6b27\u6d32\u63a8\u51fa\u4e86\u4e00\u7cfb\u5217\u6cd5\u5f8b\u6846\u67b6\u5982\u300a\u6570\u5b57\u670d\u52a1\u6cd5\u300b\u548c\u300aAI\u6cd5\u6848\u300b\uff0c\u4ee5\u89c4\u8303\u6280\u672f\u7684\u5e94\u7528\u548c\u53d1\u5c55\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u56db\u3001AI\u5728\u4ee3\u7801\u5ba1\u67e5\u4e0e\u5b89\u5168\u4e2d\u7684\u4f5c\u7528<\/h5>\n\n\n\n<p>\u5f00\u53d1\u8005\u8d8a\u6765\u8d8a\u591a\u5730\u4f7f\u7528AI\u5de5\u5177\u8fdb\u884c\u4ee3\u7801\u5ba1\u67e5\u548c\u5b89\u5168\u6f0f\u6d1e\u4fee\u590d\uff0c\u4f8b\u5982GitHub\u7684Copilot Autofix\u5de5\u5177\u3002\u8be5\u5de5\u5177\u53ef\u4ee5\u81ea\u52a8\u68c0\u6d4b\u5b89\u5168\u6f0f\u6d1e\u5e76\u5efa\u8bae\u4fee\u590d\u65b9\u6848\uff0c\u4ece\u800c\u5927\u5e45\u7f29\u77ed\u4fee\u590d\u65f6\u95f4\uff0c\u4f7f\u5f00\u53d1\u8005\u5728\u786e\u4fdd\u8f6f\u4ef6\u5b89\u5168\u65b9\u9762\u53d8\u5f97\u66f4\u52a0\u9ad8\u6548\u200b\u3002<\/p>\n\n\n\n<p>AI\u8fd8\u88ab\u7528\u6765\u5e2e\u52a9\u5f00\u53d1\u8005\u7ba1\u7406\u5b89\u5168\u8d23\u4efb\uff0c\u5982Dependabot\u88ab\u5e7f\u6cdb\u7528\u4e8e\u68c0\u67e5\u8fc7\u65f6\u6216\u5b58\u5728\u6f0f\u6d1e\u7684\u4f9d\u8d56\u9879\u3002GitHub\u4e0a\u7684\u81ea\u52a8\u5316\u548cAI\u5de5\u5177\u7684\u4f7f\u7528\u91cf\u7ee7\u7eed\u589e\u52a0\uff0c\u53cd\u6620\u51fa\u5f00\u53d1\u8005\u5bf9\u4ee3\u7801\u5b89\u5168\u548c\u6548\u7387\u7684\u91cd\u89c6\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u4e94\u3001\u751f\u6210\u5f0fAI\u548c\u5f00\u53d1\u8005\u6280\u672f\u6808\u6f14\u53d8<\/h5>\n\n\n\n<p>\u751f\u6210\u5f0fAI\u4e0d\u4ec5\u7528\u4e8e\u4ee3\u7801\u751f\u6210\uff0c\u8fd8\u9010\u6e10\u6210\u4e3a\u8f6f\u4ef6\u5f00\u53d1\u4e2d\u7684\u6838\u5fc3\u6784\u5efa\u5757\uff0c\u5f00\u53d1\u8005\u4eec\u901a\u8fc7\u5728GitHub\u4e0a\u6784\u5efa\u548c\u5206\u4eab\u751f\u6210\u5f0fAI\u6a21\u578b\uff0c\u63a8\u52a8\u4e86\u6574\u4e2a\u884c\u4e1a\u7684\u53d1\u5c55\u3002GitHub\u4e0a\u589e\u957f\u6700\u5feb\u7684\u751f\u6210\u5f0fAI\u9879\u76ee\u662f<a href=\"https:\/\/github.com\/ollama\/ollama\" target=\"_blank\" rel=\"noreferrer noopener\">ollama<\/a>\uff0c\u663e\u793a\u4e86\u5f00\u53d1\u8005\u5bf9\u672c\u5730\u8fd0\u884c\u7684\u5927\u578b\u8bed\u8a00\u6a21\u578b\u7684\u5174\u8da3\u9010\u6e10\u589e\u52a0\u200b\u3002<\/p>\n\n\n\n<p>\u5f00\u53d1\u8005\u5728\u4f7f\u7528\u751f\u6210\u5f0fAI\u65b9\u9762\u7684\u5174\u8da3\u4e0d\u518d\u5c40\u9650\u4e8e\u4ee3\u7801\u751f\u6210\uff0c\u800c\u662f\u6269\u5c55\u5230\u4e86\u4efb\u52a1\u7ba1\u7406\u7b49\u66f4\u591a\u5e94\u7528\u573a\u666f\u3002GitHub Copilot\u7b49\u5de5\u5177\u4e5f\u5728\u6559\u80b2\u548c\u6280\u80fd\u63d0\u5347\u4e2d\u53d1\u6325\u4e86\u91cd\u8981\u4f5c\u7528\uff0c\u5e2e\u52a9\u66f4\u591a\u4eba\u5feb\u901f\u5b66\u4e60\u548c\u5e94\u7528\u65b0\u6280\u672f\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u516d\u3001\u6301\u7eed\u589e\u957f\u7684\u5f00\u6e90\u8d21\u732e\u4e0e\u591a\u6837\u5316<\/h5>\n\n\n\n<p>GitHub\u4e0a\u7684\u5f00\u6e90\u793e\u533a\u6b63\u53d8\u5f97\u8d8a\u6765\u8d8a\u591a\u6837\u5316\uff0c30%\u7684\u53d7\u8bbf\u8005\u81ea\u8ba4\u4e3a\u662f\u5c11\u6570\u7fa4\u4f53\uff0c\u8fd9\u8868\u660e\u968f\u7740\u5168\u7403\u5f00\u53d1\u8005\u793e\u533a\u7684\u589e\u957f\uff0c\u5f00\u6e90\u793e\u533a\u7684\u591a\u6837\u6027\u4e5f\u5728\u4e0d\u65ad\u589e\u52a0\u3002\u540c\u65f6\uff0cGitHub\u9f13\u52b1\u5f00\u53d1\u8005\u901a\u8fc7\u521b\u5efaREADME\u3001\u8d21\u732e\u6307\u5357\u7b49\u6587\u4ef6\u6765\u4fc3\u8fdb\u5065\u5eb7\u7684\u5f00\u6e90\u793e\u533a\u7684\u53d1\u5c55\u200b\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u4e03\u3001\u5bf9\u5f00\u53d1\u8005\u89d2\u8272\u7684\u91cd\u65b0\u5b9a\u4e49<\/h5>\n\n\n\n<p>\u968f\u7740Python\u548cJupyter Notebooks\u7684\u5174\u8d77\uff0cGitHub\u4e0a\u7684\u6d3b\u52a8\u5df2\u7ecf\u8d85\u51fa\u4e86\u4f20\u7edf\u7684\u8f6f\u4ef6\u5f00\u53d1\u8303\u7574\uff0c\u6db5\u76d6\u4e86\u66f4\u591a\u673a\u5668\u5b66\u4e60\u7814\u7a76\u8005\u3001\u6570\u636e\u79d1\u5b66\u5bb6\u3001\u5b66\u751f\u548c\u6559\u5e08\u7b49\u89d2\u8272\u3002\u8fd9\u8868\u660e\uff0c\u5f00\u53d1\u8005\u7684\u89d2\u8272\u6b63\u5728\u53d1\u751f\u8f6c\u53d8\uff0c\u4e0d\u518d\u5c40\u9650\u4e8e\u4f20\u7edf\u610f\u4e49\u4e0a\u7684\u8f6f\u4ef6\u5f00\u53d1\u4eba\u5458\uff0c\u800c\u662f\u6269\u5c55\u5230\u5305\u62ec\u8fd0\u7ef4\u3001\u6570\u636e\u5206\u6790\u7b49\u5728\u5185\u7684\u66f4\u5e7f\u6cdb\u7684\u6280\u672f\u4ece\u4e1a\u8005\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GitHub\u65b0\u8fd1\u53d1\u5e03\u4e86Octoverse\u62a5\u544aAI leads Python to top language a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[3,8],"tags":[39,101],"class_list":["post-4969","post","type-post","status-publish","format-standard","hentry","category-it","category-tech","tag-ai","tag-old-programmer-in-ai-era"],"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"NullThought","author_link":"https:\/\/nullthought.net\/?author=1"},"rttpg_comment":0,"rttpg_category":"<a href=\"https:\/\/nullthought.net\/?cat=3\" rel=\"category\">IT<\/a> <a href=\"https:\/\/nullthought.net\/?cat=8\" rel=\"category\">Tech<\/a>","rttpg_excerpt":"GitHub\u65b0\u8fd1\u53d1\u5e03\u4e86Octoverse\u62a5\u544aAI leads Python to top language a&hellip;","_links":{"self":[{"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/posts\/4969","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nullthought.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4969"}],"version-history":[{"count":2,"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/posts\/4969\/revisions"}],"predecessor-version":[{"id":4973,"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/posts\/4969\/revisions\/4973"}],"wp:attachment":[{"href":"https:\/\/nullthought.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nullthought.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nullthought.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}