﻿﻿{"id":6990,"date":"2023-10-31T07:20:27","date_gmt":"2023-10-30T23:20:27","guid":{"rendered":"http:\/\/www.aiersheng.cc\/?p=6990"},"modified":"2024-01-02T21:30:14","modified_gmt":"2024-01-02T13:30:14","slug":"python%e6%a6%82%e8%bf%b0-python%e7%9f%a5%e8%af%86%e5%88%86%e4%ba%ab","status":"publish","type":"post","link":"https:\/\/www.aiersheng.cc\/?p=6990","title":{"rendered":"Python\u6982\u8ff0 Python\u77e5\u8bc6\u5206\u4eab"},"content":{"rendered":"<p>Python\u662f\u4e00\u79cd\u9762\u5411\u5bf9\u8c61\u7684\u89e3\u91ca\u578b\u7f16\u7a0b\u8bed\u8a00\uff0c\u7531\u8377\u5170\u4ebaGuido van Rossum\u4e8e1989\u5e74\u53d1\u660e\uff0c\u7b2c\u4e00\u4e2a\u516c\u5f00\u53d1\u884c\u7248\u4e8e1991\u5e74\u53d1\u884c\u3002Python\u8bed\u6cd5\u7b80\u6d01\u3001\u6e05\u6670\uff0c\u5e76\u5177\u6709\u4e00\u7ec4\u529f\u80fd\u4e30\u5bcc\u4e14\u5f3a\u5927\u7684\u7c7b\u5e93\u3002<br \/>\nPython\u5e38\u88ab\u6635\u79f0\u4e3a\u80f6\u6c34\u8bed\u8a00\uff0c\u5b83\u80fd\u591f\u628a\u7528\u5176\u4ed6\u8bed\u8a00\u5236\u4f5c\u7684\u6a21\u5757\u8fde\u63a5\u5728\u4e00\u8d77\u3002\u56e0\u6b64\uff0cPython\u5e38\u89c1\u7684\u5e94\u7528\u60c5\u5f62\u662f\uff1a\u4f7f\u7528Python\u5feb\u901f\u751f\u6210\u7a0b\u5e8f\u539f\u578b\uff0c\u7136\u540e\u5bf9\u5176\u4e2d\u6709\u7279\u522b\u8981\u6c42\u7684\u90e8\u5206\u7528\u66f4\u9002\u5408\u7684\u8bed\u8a00\u6539\u5199\u3002\u4f8b\u5982\uff0c\u7531\u4e8e3D\u6e38\u620f\u4e2d\u5bf9\u56fe\u5f62\u6e32\u67d3\u6a21\u5757\u7684\u6027\u80fd\u8981\u6c42\u6bd4\u8f83\u9ad8\uff0c\u5c31\u53ef\u4ee5\u7528C\/C++\u91cd\u5199\uff0c\u7136\u540e\u5c01\u88c5\u4e3aPython\u53ef\u4ee5\u8c03\u7528\u7684\u7c7b\u5e93\u3002<br \/>\nPython\u7684\u53d1\u5c55\u5386\u53f2<br \/>\n\u57281989\u5e74\u5723\u8bde\u8282\uff0cGuido\u5728\u963f\u59c6\u65af\u7279\u4e39\u5f00\u53d1\u4e86\u4e00\u79cd\u65b0\u7684\u7f16\u7a0b\u8bed\u8a00Python\uff0c\u4f5c\u4e3aABC\u8bed\u8a00\u7684\u4e00\u79cd\u7ee7\u627f\u3002\u4e4b\u6240\u4ee5\u7528Python\uff08\u901a\u79f0\u201c\u5927\u87d2\u86c7\u201d\uff09\u4f5c\u4e3a\u8be5\u7f16\u7a0b\u8bed\u8a00\u7684\u540d\u5b57\uff0c\u662f\u56e0\u4e3aGuido\u662fMonty Python\u559c\u5267\u56e2\u7684\u7231\u597d\u8005\u3002<br \/>\nABC\u8bed\u8a00\u662f\u7531Guido\u53c2\u4e0e\u8bbe\u8ba1\u7684\u4e00\u79cd\u6559\u5b66\u8bed\u8a00\uff0c\u4f46ABC\u8bed\u8a00\u5e76\u6ca1\u6709\u6210\u529f\uff0c\u7a76\u5176\u539f\u56e0\uff0cGuido\u8ba4\u4e3a\u662f\u5176\u975e\u5f00\u653e\u6027\u9020\u6210\u7684\u3002Guido\u51b3\u5b9a\u5728Python\u4e2d\u907f\u514d\u8fd9\u4e00\u9519\u8bef\u3002\u540c\u65f6\uff0c\u4ed6\u8fd8\u60f3\u5b9e\u73b0\u5728ABC\u4e2d\u95ea\u73b0\u8fc7\u4f46\u672a\u66fe\u5b9e\u73b0\u7684\u529f\u80fd\u3002<br \/>\n\u5c31\u8fd9\u6837\uff0cPython\u5728Guido\u624b\u4e2d\u8bde\u751f\u4e86\u3002\u53ef\u4ee5\u8bf4\uff0cPython\u662f\u4eceABC\u53d1\u5c55\u8d77\u6765\uff0c\u4e3b\u8981\u53d7\u5230\u4e86Modula-3\uff08\u53e6\u4e00\u79cd\u8bed\u8a00\uff09\u5f71\u54cd\uff0c\u5e76\u4e14\u7ed3\u5408\u4e86Unix shell\u548cC\u7684\u4e60\u60ef\u3002<br \/>\n1991\u5e74\uff0c\u7b2c\u4e00\u4e2aPython\u7f16\u8bd1\u5668\u8bde\u751f<br \/>\n2000\u5e7410\u6708\uff0c\u53d1\u5e03Python 2.0\u7248\u672c<br \/>\n2008\u5e7412\u6708\uff0c\u53d1\u5e03Python 3.0\u7248\u672c<br \/>\n2011\u5e741\u6708\uff0cPython\u88abTIOBE\u7f16\u7a0b\u8bed\u8a00\u6392\u884c\u699c\u8bc4\u4e3a2010\u5e74\u5ea6\u8bed\u8a00\u3002<br \/>\n2014\u5e7411\u6708\uff0c\u53d1\u5e03\u6d88\u606f\uff1aPython 2.7\u5c06\u57282020\u5e74\u505c\u6b62\u652f\u6301\u5e76\u4e14\u4e0d\u518d\u53d1\u5e032.8\u7248\u672c<br \/>\n2018\u5e747\u6708\uff0cPython\u5728TIOBE\u7f16\u7a0b\u8bed\u8a00\u6392\u884c\u699c\u5347\u81f3\u7b2c\u56db\u540d<br \/>\nPython\u7684\u7279\u70b9<br \/>\n\u7b80\u5355\u6613\u5b66\u3002<br \/>\nPython\u662f\u4e00\u79cd\u4ee3\u8868\u7b80\u5355\u4e3b\u4e49\u601d\u60f3\u7684\u8bed\u8a00\u3002\u5b83\u91c7\u7528\u5f3a\u5236\u7f29\u8fdb\u7684\u65b9\u5f0f\u4f7f\u5f97\u4ee3\u7801\u5177\u6709\u8f83\u597d\u7684\u53ef\u8bfb\u6027\uff0c\u9605\u8bfb\u4e00\u4e2a\u826f\u597d\u7684Python\u7a0b\u5e8f\u5c31\u50cf\u662f\u5728\u8bfb\u82f1\u8bed\u6587\u7ae0\u4e00\u6837\u3002\u7528Python\u8bed\u8a00\u7f16\u5199\u7a0b\u5e8f\u65f6\u65e0\u9700\u8003\u8651\u5e95\u5c42\u7684\u7ec6\u8282\uff0c\u8fd9\u4f7f\u5f97\u7f16\u7a0b\u4eba\u5458\u80fd\u591f\u4e13\u6ce8\u4e8e\u95ee\u9898\u672c\u8eab\uff0c\u4ece\u800c\u627e\u5230\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6cd5\u3002<br \/>\n\u514d\u8d39\u5f00\u6e90\u3002<br \/>\nPython\u662fFLOSS\uff08\u514d\u8d39\u81ea\u7531\u3001\u5f00\u653e\u6e90\u7801\u8f6f\u4ef6\uff09\u4e4b\u4e00\u3002\u4f7f\u7528\u8005\u53ef\u4ee5\u81ea\u7531\u5730\u53d1\u5e03\u8fd9\u4e2a\u8f6f\u4ef6\u7684\u62f7\u8d1d\uff0c\u9605\u8bfb\u5b83\u7684\u6e90\u4ee3\u7801\uff0c\u5bf9\u5b83\u505a\u6539\u52a8\uff0c\u6216\u8005\u628a\u5b83\u7684\u4e00\u90e8\u5206\u7528\u4e8e\u65b0\u7684\u81ea\u7531\u8f6f\u4ef6\u4e2d\u3002<br \/>\n\u7c7b\u5e93\u4e30\u5bcc\u3002<br \/>\nPython\u6807\u51c6\u5e93\u975e\u5e38\u5e9e\u5927\uff0c\u8986\u76d6\u4e86\u7f51\u7edc\u3001\u6587\u4ef6\u3001GUI\u3001\u6570\u636e\u5e93\u3001\u6587\u672c\u7b49\u5404\u79cd\u64cd\u4f5c\u3002\u7528Python\u5f00\u53d1\uff0c\u8bb8\u591a\u529f\u80fd\u4e0d\u5fc5\u4ece\u96f6\u7f16\u5199\uff0c\u76f4\u63a5\u4f7f\u7528\u73b0\u6210\u7684\u5e93\u5373\u53ef\u3002\u9664\u6b64\u4e4b\u5916\uff0cPython\u8fd8\u6709\u8bb8\u591a\u7b2c\u4e09\u65b9\u5e93\uff0c\u53ef\u4f9b\u7528\u6237\u76f4\u63a5\u4f7f\u7528<br \/>\n\u53ef\u6269\u5c55\u3002<br \/>\n\u5982\u679c\u9700\u8981\u4e00\u6bb5\u8fd0\u884c\u901f\u5ea6\u5f88\u5feb\u7684\u5173\u952e\u4ee3\u7801\u6216\u8005\u5e0c\u671b\u67d0\u4e9b\u7b97\u6cd5\u4e0d\u88ab\u516c\u5f00\uff0c\u5c31\u53ef\u4ee5\u628a\u90e8\u5206\u7a0b\u5e8f\u7528C\u6216C++\u8bed\u8a00\u7f16\u5199\uff0c\u7136\u540e\u5728Python\u7a0b\u5e8f\u4e2d\u8c03\u7528\u3002<br \/>\n\u89e3\u91ca\u6027\u3002<br \/>\n\u5728\u8ba1\u7b97\u673a\u5185\u90e8\uff0cPython\u89e3\u91ca\u5668\u628a\u6e90\u4ee3\u7801\u8f6c\u6362\u6210\u79f0\u4e3a\u5b57\u8282\u7801\u7684\u4e2d\u95f4\u5f62\u5f0f\uff0c\u7136\u540e\u518d\u628a\u5b83\u7ffb\u8bd1\u6210\u8ba1\u7b97\u673a\u4f7f\u7528\u7684\u673a\u5668\u8bed\u8a00\u5e76\u8fd0\u884c\u3002\u8fd9\u4f7f\u5f97\u4f7f\u7528Python\u66f4\u52a0\u7b80\u5355\uff0c\u4e5f\u4f7f\u5f97Python\u7a0b\u5e8f\u66f4\u52a0\u6613\u4e8e\u79fb\u690d\u3002<br \/>\n\u53ef\u79fb\u690d\u6027\u3002<br \/>\n\u7531\u4e8ePython\u7684\u5f00\u6e90\u6027\uff0c\u5b83\u5df2\u7ecf\u88ab\u79fb\u690d\u5230\u591a\u4e2a\u5e73\u53f0\u4e0a\uff0c\u5982Linux\uff0cWindows\uff0cMacintosh\uff0cAndroid\u7b49\u3002<br \/>\n\u53ef\u5d4c\u5165\u6027\u3002<br \/>\n\u53ef\u4ee5\u628aPython\u7a0b\u5e8f\u5d4c\u5165\u5230C\/C++\u7a0b\u5e8f\u4e2d\uff0c\u4ece\u800c\u5411\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u811a\u672c\u529f\u80fd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python\u662f\u4e00\u79cd\u9762\u5411\u5bf9\u8c61\u7684\u89e3\u91ca\u578b\u7f16\u7a0b\u8bed\u8a00\uff0c\u7531\u8377\u5170\u4ebaGuido van Rossum\u4e8e1989\u5e74\u53d1\u660e\uff0c\u7b2c\u4e00\u4e2a\u516c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7742,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"aside","meta":{"footnotes":""},"categories":[68],"tags":[],"class_list":["post-6990","post","type-post","status-publish","format-aside","has-post-thumbnail","hentry","category-zzjy","post_format-post-format-aside"],"_links":{"self":[{"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=\/wp\/v2\/posts\/6990","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6990"}],"version-history":[{"count":0,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=\/wp\/v2\/posts\/6990\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=\/wp\/v2\/media\/7742"}],"wp:attachment":[{"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6990"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6990"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6990"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}