{"id":150233,"date":"2024-05-06T10:57:34","date_gmt":"2024-05-06T02:57:34","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/150233.html"},"modified":"2024-05-06T10:57:37","modified_gmt":"2024-05-06T02:57:37","slug":"python%e7%89%88%e6%9c%ac%e6%9c%89%e4%bb%80%e4%b9%88%e5%8c%ba%e5%88%ab","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/150233.html","title":{"rendered":"python\u7248\u672c\u6709\u4ec0\u4e48\u533a\u522b"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27143820\/00125a70-bca6-4d70-8d3d-fd89e83776a0.webp\" alt=\"python\u7248\u672c\u6709\u4ec0\u4e48\u533a\u522b\" \/><\/p>\n<p><p>Python\u7248\u672c\u4e4b\u95f4\u7684\u4e3b\u8981\u533a\u522b\u4f53\u73b0\u5728\u529f\u80fd\u4e0a\u3001\u6027\u80fd\u6539\u8fdb\u3001\u5b89\u5168\u6027\u66f4\u65b0\u548c\u8bed\u6cd5\u65b0\u589e\u7b49\u65b9\u9762\u3002<strong>\u6700\u663e\u8457\u7684\u533a\u522b\u51fa\u73b0\u5728Python 2\u548cPython 3\u4e4b\u95f4\uff0c\u8fd9\u5305\u62ec\u4e86\u5b57\u7b26\u4e32\u5904\u7406\u3001\u6574\u6570\u9664\u6cd5\u884c\u4e3a\u548cprint\u51fd\u6570\u7684\u53d8\u5316<\/strong>\u3002Python 3\u662f\u76ee\u524d\u63a8\u8350\u4f7f\u7528\u7684\u7248\u672c\uff0c\u56e0\u4e3a\u5b83\u5728\u8bed\u6cd5\u4e0a\u66f4\u52a0\u89c4\u8303\uff0c\u5305\u542b\u4e86\u5bf9\u73b0\u4ee3\u9700\u6c42\u7684\u66f4\u597d\u652f\u6301\uff0c\u5e76\u6301\u7eed\u83b7\u5f97\u5b89\u5168\u66f4\u65b0\u548c\u65b0\u7279\u6027\u7684\u589e\u52a0\u3002<\/p>\n<\/p>\n<p><p>\u5728\u8fd9\u4e9b\u5dee\u5f02\u4e2d\uff0c<strong>\u5b57\u7b26\u4e32\u5904\u7406<\/strong>\u7684\u53d8\u5316\u5c24\u4e3a\u5173\u952e\u3002\u5728Python 2\u4e2d\uff0c\u5b57\u7b26\u4e32\u88ab\u5206\u4e3a\u201cstr\u201d\u548c\u201cunicode\u201d\u4e24\u79cd\uff0c\u5206\u522b\u7528\u4e8e\u5904\u7406ASCII\u548cUnicode\u6587\u672c\u3002\u800c\u5728Python 3\u4e2d\uff0c\u6240\u6709\u5b57\u7b26\u4e32\u90fd\u88ab\u7edf\u4e00\u4e3a\u201cstr\u201d\u7c7b\u578b\uff0c\u5b83\u9ed8\u8ba4\u91c7\u7528Unicode\u7f16\u7801\uff0c\u4ee5\u66f4\u81ea\u7136\u5730\u5904\u7406\u56fd\u9645\u5316\u6587\u672c\u3002\u8fd9\u4e00\u6539\u53d8\u6781\u5927\u5730\u7b80\u5316\u4e86\u6587\u672c\u5904\u7406\u903b\u8f91\uff0c\u5e76\u51cf\u5c11\u4e86\u4e0e\u7f16\u7801\u76f8\u5173\u7684\u5e38\u89c1\u9519\u8bef\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b57\u7b26\u4e32\u5904\u7406\u5dee\u5f02<\/h3>\n<\/p>\n<p><p>\u5728Python 2\u548cPython 3\u4e2d\uff0c\u5b57\u7b26\u4e32\u7684\u8868\u793a\u548c\u5904\u7406\u65b9\u5f0f\u5b58\u5728\u663e\u8457\u5dee\u522b\u3002Python 2\u533a\u5206<code>str<\/code>\uff08\u7528\u4e8eASCII\uff09\u548c<code>unicode<\/code>\uff08\u7528\u4e8eUnicode\u7f16\u7801\u7684\u6587\u672c\uff09\uff0c\u8fd9\u5e38\u5e38\u5bfc\u81f4\u7f16\u7801\u6df7\u4e71\u548c\u989d\u5916\u7684\u7c7b\u578b\u68c0\u67e5\u3002\u9700\u8981\u660e\u786e\u5730\u6807\u6ce8\u6587\u672c\u6216\u4e8c\u8fdb\u5236\u6570\u636e\uff0c\u5bfc\u81f4\u4ee3\u7801\u590d\u6742\u5ea6\u589e\u52a0\u3002\u800cPython 3\u5f15\u5165\u7684\u6539\u53d8\u4f7f\u5f97\u6240\u6709\u5b57\u7b26\u4e32\u90fd\u4ee5Unicode\u8868\u793a\uff0c\u7edf\u4e00\u4e86\u5b57\u7b26\u4e32\u7684\u5904\u7406\u65b9\u5f0f\u5e76\u51cf\u5c11\u4e86\u7f16\u7801\u9519\u8bef\u3002\u8fd9\u4e00\u6539\u52a8\u4f7f\u5f97\u5f00\u53d1\u8005\u66f4\u5bb9\u6613\u7f16\u5199\u5904\u7406\u56fd\u9645\u5316\u6587\u672c\u7684\u7a0b\u5e8f\uff0c\u65e0\u9700\u62c5\u5fc3\u7f16\u7801\u95ee\u9898\uff0c\u662fPython 3\u4e00\u4e2a\u975e\u5e38\u53d7\u6b22\u8fce\u7684\u6539\u8fdb\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u6574\u6570\u9664\u6cd5\u884c\u4e3a<\/h3>\n<\/p>\n<p><p>Python\u7248\u672c\u4e4b\u95f4\u7684\u53e6\u4e00\u4e2a\u91cd\u8981\u533a\u522b\u662f\u6574\u6570\u9664\u6cd5\u7684\u884c\u4e3a\u3002\u5728Python 2\u4e2d\uff0c\u9664\u6cd5\u8fd0\u7b97\u7b26<code>\/<\/code>\u5728\u64cd\u4f5c\u6570\u5747\u4e3a\u6574\u6570\u65f6\u4f1a\u6267\u884c<strong>\u6574\u9664<\/strong>\uff0c\u76f4\u63a5\u820d\u53bb\u5c0f\u6570\u70b9\u540e\u7684\u90e8\u5206\uff0c\u800c\u5728Python 3\u4e2d\uff0c<code>\/<\/code>\u6267\u884c\u7684\u603b\u662f<strong>\u771f\u9664\u6cd5<\/strong>\uff0c\u5373\u4f7f\u9488\u5bf9\u6574\u6570\u64cd\u4f5c\u6570\u4e5f\u4f1a\u4fdd\u7559\u5c0f\u6570\u90e8\u5206\u3002\u4e3a\u4e86\u5728Python 3\u4e2d\u6267\u884c\u6574\u9664\uff0c\u5f15\u5165\u4e86<code>\/\/<\/code>\u64cd\u4f5c\u7b26\u3002\u8fd9\u4e00\u53d8\u66f4\u4f7f\u5f97\u6570\u503c\u8fd0\u7b97\u7684\u7ed3\u679c\u66f4\u4e3a\u76f4\u89c2\u3001\u4e00\u81f4\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001PRINT\u51fd\u6570\u7684\u53d8\u5316<\/h3>\n<\/p>\n<p><p>\u4ece<strong>print\u8bed\u53e5<\/strong>\u5230<strong>print\u51fd\u6570<\/strong>\u7684\u8f6c\u53d8\u662fPython 3\u5f15\u5165\u7684\u53c8\u4e00\u663e\u8457\u6539\u52a8\u3002Python 2\u4e2d\u7684print\u662f\u4e00\u4e2a\u8bed\u53e5\uff0c\u5bf9\u5176\u8fdb\u884c\u8c03\u7528\u65f6\u4e0d\u9700\u8981\u62ec\u53f7\u3002\u800c\u5728Python 3\u4e2d\uff0cprint\u53d8\u6210\u4e86\u4e00\u4e2a\u51fd\u6570\uff0c\u9700\u8981\u4f7f\u7528\u62ec\u53f7\u5305\u88f9\u6253\u5370\u7684\u5185\u5bb9\u3002\u8fd9\u4e00\u6539\u53d8\u867d\u7136\u5f15\u8d77\u4e86\u4e00\u4e9b\u4e89\u8bae\uff0c\u4f46\u5b83\u5b9e\u9645\u4e0a\u63d0\u9ad8\u4e86\u8bed\u8a00\u7684\u4e00\u81f4\u6027\u548c\u7075\u6d3b\u6027\uff0c\u4f7f\u5f97print\u80fd\u591f\u66f4\u5bb9\u6613\u5730\u4f5c\u4e3a\u8868\u8fbe\u5f0f\u4f7f\u7528\uff0c\u5e76\u5141\u8bb8\u66f4\u591a\u9ad8\u7ea7\u529f\u80fd\uff0c\u5982\u6307\u5b9a\u6587\u4ef6\u8f93\u51fa\u6216\u7ed3\u675f\u7b26\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u6027\u80fd\u6539\u8fdb<\/h3>\n<\/p>\n<p><p>\u968f\u7740Python\u4e0d\u65ad\u5347\u7ea7\uff0c\u5404\u7248\u672c\u4e4b\u95f4\u4e5f\u51fa\u73b0\u4e86\u5728\u6027\u80fd\u65b9\u9762\u7684\u4f18\u5316\u3002Python 3\u5f15\u5165\u4e86\u6570\u4e2a\u6027\u80fd\u63d0\u5347\u7684\u6539\u8fdb\uff0c\u5305\u62ec\u66f4\u4f18\u7684\u5185\u5b58\u4f7f\u7528\u548c\u6267\u884c\u901f\u5ea6\u7b49\u3002\u6709\u4e9b\u6027\u80fd\u4f18\u5316\u662f\u901a\u8fc7\u8bed\u8a00\u7ed3\u6784\u7684\u8c03\u6574\u6765\u5b9e\u73b0\u7684\uff0c\u5982\u5bf9\u751f\u6210\u5668\u548c\u8fed\u4ee3\u5668\u7684\u66f4\u5e7f\u6cdb\u4f7f\u7528\u51cf\u5c11\u4e86\u5185\u5b58\u6d88\u8017\u3002\u6b64\u5916\uff0cPython 3.6\u53ca\u4ee5\u540e\u7248\u672c\u5f15\u5165\u7684\u5f02\u6b65\u7f16\u7a0b\u529f\u80fd\uff0c\u901a\u8fc7<code>async<\/code>\u548c<code>aw<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>t<\/code>\u5173\u952e\u5b57\u652f\u6301\uff0c\u6781\u5927\u5730\u63d0\u9ad8\u4e86I\/O\u5bc6\u96c6\u578b\u7a0b\u5e8f\u7684\u6027\u80fd\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u5b89\u5168\u6027\u66f4\u65b0<\/h3>\n<\/p>\n<p><p>\u968f\u7740\u6280\u672f\u7684\u53d1\u5c55\uff0c\u4fdd\u8bc1\u4ee3\u7801\u5b89\u5168\u53d8\u5f97\u8d8a\u53d1\u91cd\u8981\u3002Python\u7684\u6bcf\u4e2a\u65b0\u7248\u672c\u90fd\u4f1a\u5305\u62ec\u5bf9\u5b89\u5168\u6027\u7684\u66f4\u65b0\uff0c\u89e3\u51b3\u5df2\u77e5\u7684\u5b89\u5168\u6f0f\u6d1e\u548c\u5f31\u70b9\u3002Python 3\u76f8\u6bd4\u4e8ePython 2\uff0c\u5f15\u5165\u4e86\u66f4\u591a\u7684\u5b89\u5168\u7279\u6027\u548c\u6539\u8fdb\u63aa\u65bd\uff0c\u5982\u589e\u52a0\u4e86\u66f4\u591a\u7684\u5185\u7f6e\u5b89\u5168\u529f\u80fd\u548c\u9ed8\u8ba4\u7684\u5b89\u5168\u8bbe\u7f6e\uff0c\u4ee5\u51cf\u5c11\u6f5c\u5728\u7684\u5b89\u5168\u98ce\u9669\u3002<\/p>\n<\/p>\n<p><p>\u603b\u7684\u6765\u8bf4\uff0cPython\u7684\u4e0d\u540c\u7248\u672c\u4e4b\u95f4\u7684\u53d8\u5316\u4f53\u73b0\u4e86\u8bed\u8a00\u4e0d\u65ad\u8fdb\u5316\u3001\u4e0d\u65ad\u9002\u5e94\u65b0\u6280\u672f\u548c\u5f00\u53d1\u8005\u9700\u6c42\u7684\u52aa\u529b\u3002\u5bf9\u4e8e\u5f00\u53d1\u8005\u6765\u8bf4\uff0c\u4e86\u89e3\u8fd9\u4e9b\u53d8\u5316\u662f\u975e\u5e38\u91cd\u8981\u7684\uff0c\u4ee5\u786e\u4fdd\u80fd\u591f\u9009\u62e9\u5408\u9002\u7684Python\u7248\u672c\u8fdb\u884c\u9879\u76ee\u5f00\u53d1\uff0c\u5e76\u5229\u7528Python\u8bed\u8a00\u63d0\u4f9b\u7684\u6700\u65b0\u7279\u6027\u548c\u4f18\u5316\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. Python\u7684\u4e0d\u540c\u7248\u672c\u6709\u4ec0\u4e48\u533a\u522b\uff1f<\/strong><\/p>\n<p>Python\u4f5c\u4e3a\u4e00\u79cd\u5f00\u6e90\u7f16\u7a0b\u8bed\u8a00\uff0c\u7ecf\u5386\u4e86\u591a\u4e2a\u7248\u672c\u7684\u53d1\u5c55\u548c\u66f4\u65b0\u3002\u4e0d\u540c\u7248\u672c\u7684Python\u5728\u529f\u80fd\u548c\u6027\u80fd\u65b9\u9762\u53ef\u80fd\u5b58\u5728\u4e00\u4e9b\u5dee\u522b\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684Python\u7248\u672c\u533a\u522b\uff1a<\/p>\n<ul>\n<li>Python 2.x vs. Python 3.x\uff1a\u8fd9\u662f\u6700\u660e\u663e\u7684\u7248\u672c\u533a\u522b\u4e4b\u4e00\u3002Python 2.x\u662f\u8f83\u65e9\u671f\u7684\u7248\u672c\uff0c\u5b83\u5728\u8bed\u8a00\u548c\u8bed\u6cd5\u4e0a\u4e0ePython 3.x\u5b58\u5728\u4e00\u4e9b\u5dee\u5f02\u3002Python 3.x\u662f\u5f53\u524d\u4e3b\u8981\u652f\u6301\u7684\u7248\u672c\uff0c\u5e76\u4e14\u66f4\u52a0\u73b0\u4ee3\u5316\u548c\u7a33\u5b9a\u3002<\/li>\n<li>\u8bed\u8a00\u7279\u6027\u548c\u529f\u80fd\uff1a\u968f\u7740\u7248\u672c\u7684\u66f4\u65b0\uff0cPython\u5f15\u5165\u4e86\u4e00\u4e9b\u65b0\u7684\u7279\u6027\u548c\u529f\u80fd\uff0c\u4f8b\u5982Python 3.x\u5f15\u5165\u4e86\u66f4\u5f3a\u5927\u7684\u5f02\u6b65\u7f16\u7a0b\u652f\u6301\u3001\u7c7b\u578b\u63d0\u793a\u548c\u66f4\u597d\u7684Unicode\u5904\u7406\u7b49\u6539\u8fdb\u3002<\/li>\n<li>\u6027\u80fd\u6539\u8fdb\uff1a\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\uff0cPython\u5728\u6027\u80fd\u65b9\u9762\u4e00\u76f4\u5728\u4e0d\u65ad\u6539\u8fdb\u3002\u6bcf\u4e2a\u7248\u672c\u90fd\u53ef\u80fd\u5e26\u6765\u4e00\u4e9b\u6027\u80fd\u4e0a\u7684\u4f18\u5316\uff0c\u4f8b\u5982\u7f16\u8bd1\u5668\u7684\u6539\u8fdb\u6216\u5e93\u7684\u4f18\u5316\u3002<\/li>\n<li>\u5e93\u548c\u751f\u6001\u7cfb\u7edf\u652f\u6301\uff1aPython\u7684\u7248\u672c\u66f4\u65b0\u901a\u5e38\u4f1a\u4f34\u968f\u7740\u4e00\u4e9b\u91cd\u8981\u7684\u5e93\u548c\u751f\u6001\u7cfb\u7edf\u7684\u6539\u53d8\u3002\u4e00\u4e9b\u5e93\u53ef\u80fd\u53ea\u652f\u6301\u7279\u5b9a\u7248\u672c\uff0c\u56e0\u6b64\uff0c\u5728\u9009\u62e9Python\u7248\u672c\u65f6\u9700\u8981\u8003\u8651\u60a8\u9700\u8981\u4f7f\u7528\u7684\u5e93\u548c\u6846\u67b6\u7684\u517c\u5bb9\u6027\u3002<\/li>\n<\/ul>\n<p><strong>2. Python 2.x\u4e0ePython 3.x\u4e4b\u95f4\u7684\u4e3b\u8981\u533a\u522b\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n<p>Python 2.x\u548cPython 3.x\u4e4b\u95f4\u6709\u8bb8\u591a\u91cd\u5927\u7684\u5dee\u5f02\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u4e3b\u8981\u533a\u522b\uff1a<\/p>\n<ul>\n<li>print\u51fd\u6570\uff1a\u5728Python 2.x\u4e2d\uff0cprint\u662f\u4e00\u4e2a\u8bed\u53e5\uff0c\u800c\u5728Python 3.x\u4e2d\uff0cprint\u662f\u4e00\u4e2a\u51fd\u6570\u3002\u8fd9\u610f\u5473\u7740\u5728Python 3.x\u4e2d\uff0c\u9700\u8981\u4f7f\u7528\u62ec\u53f7\u5c06\u8981\u6253\u5370\u7684\u5185\u5bb9\u62ec\u8d77\u6765\uff0c\u4f8b\u5982<code>print(&quot;Hello&quot;)<\/code>\u3002<\/li>\n<li>Unicode\u5904\u7406\uff1aPython 3.x\u5bf9Unicode\u652f\u6301\u66f4\u597d\uff0c\u4f7f\u5f97\u5904\u7406\u5404\u79cd\u8bed\u8a00\u548c\u5b57\u7b26\u96c6\u66f4\u52a0\u5bb9\u6613\u548c\u4e00\u81f4\u3002<\/li>\n<li>\u6574\u6570\u9664\u6cd5\uff1a\u5728Python 2.x\u4e2d\uff0c\u6574\u6570\u9664\u6cd5\u8fd4\u56de\u6574\u6570\u7ed3\u679c\uff0c\u5373\u820d\u5f03\u5c0f\u6570\u90e8\u5206\u3002\u800c\u5728Python 3.x\u4e2d\uff0c\u6574\u6570\u9664\u6cd5\u5f97\u5230\u7684\u662f\u6d6e\u70b9\u6570\u7ed3\u679c\uff0c\u5373\u4fdd\u7559\u4e86\u5c0f\u6570\u90e8\u5206\u3002<\/li>\n<li>\u5b57\u7b26\u4e32\u8868\u793a\uff1aPython 3.x\u4e2d\u7684\u5b57\u7b26\u4e32\u9ed8\u8ba4\u4f7f\u7528Unicode\uff0c\u800c\u5728Python 2.x\u4e2d\uff0c\u5b57\u7b26\u4e32\u9ed8\u8ba4\u4f7f\u7528ASCII\u3002\u8fd9\u610f\u5473\u7740\u5728Python 3.x\u4e2d\uff0c\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u975eASCII\u5b57\u7b26\uff0c\u800c\u5728Python 2.x\u4e2d\uff0c\u9700\u8981\u4f7f\u7528\u7279\u6b8a\u7684\u8868\u793a\u65b9\u5f0f\u3002<\/li>\n<li>\u5f02\u5e38\u5904\u7406\uff1aPython 3.x\u5f15\u5165\u4e86\u66f4\u7edf\u4e00\u548c\u89c4\u8303\u7684\u5f02\u5e38\u5904\u7406\u65b9\u5f0f\uff0c\u4f7f\u4ee3\u7801\u66f4\u6613\u4e8e\u7f16\u5199\u548c\u7ef4\u62a4\u3002<\/li>\n<\/ul>\n<p><strong>3. \u5982\u679c\u6211\u6b63\u5728\u4f7f\u7528Python 2.x\uff0c\u5e94\u8be5\u8003\u8651\u5347\u7ea7\u5230Python 3.x\u5417\uff1f<\/strong><\/p>\n<p>\u5bf9\u4e8e\u6b63\u5728\u4f7f\u7528Python 2.x\u7684\u7528\u6237\u6765\u8bf4\uff0c\u5347\u7ea7\u5230Python 3.x\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u8003\u8651\u56e0\u7d20\u3002\u5c3d\u7ba1Python 2.x\u4ecd\u7136\u5f97\u5230\u4e00\u4e9b\u652f\u6301\uff0c\u4f46\u5b98\u65b9\u5df2\u4e8e2020\u5e74\u6b63\u5f0f\u505c\u6b62\u5bf9Python 2.x\u7684\u652f\u6301\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u8003\u8651\u56e0\u7d20\uff1a<\/p>\n<ul>\n<li>\u8bed\u8a00\u53d1\u5c55\u548c\u8d8b\u52bf\uff1aPython\u793e\u533a\u548c\u5f00\u53d1\u8005\u4eec\u5df2\u7ecf\u8f6c\u79fb\u5230Python 3.x\u4e0a\u3002\u5982\u679c\u4f60\u60f3\u4fdd\u6301\u4e0e\u6700\u65b0\u53d1\u5c55\u548c\u8d8b\u52bf\u7684\u63a5\u8f68\uff0c\u5347\u7ea7\u5230Python 3.x\u662f\u5fc5\u8981\u7684\u3002<\/li>\n<li>\u4ee3\u7801\u517c\u5bb9\u6027\uff1a\u5c3d\u7ba1\u6709\u8bb8\u591a\u5de5\u5177\u53ef\u4ee5\u5e2e\u52a9\u8fc1\u79fbPython 2.x\u4ee3\u7801\u5230Python 3.x\uff0c\u4f46\u67d0\u4e9b\u4ee3\u7801\u53ef\u80fd\u9700\u8981\u8fdb\u884c\u4e00\u4e9b\u4fee\u6539\u624d\u80fd\u5728\u65b0\u7248\u672c\u4e0a\u8fd0\u884c\u3002\u60a8\u5e94\u8be5\u8003\u8651\u60a8\u7684\u4ee3\u7801\u5e93\u7684\u89c4\u6a21\u548c\u590d\u6742\u7a0b\u5ea6\uff0c\u4ee5\u53ca\u5bf9\u5347\u7ea7\u7684\u65f6\u95f4\u548c\u8d44\u6e90\u6295\u5165\u3002<\/li>\n<li>\u529f\u80fd\u548c\u6027\u80fd\u6539\u8fdb\uff1aPython 3.x\u5f15\u5165\u4e86\u8bb8\u591a\u65b0\u529f\u80fd\u548c\u6027\u80fd\u6539\u8fdb\u3002\u5982\u679c\u60a8\u5e0c\u671b\u4f7f\u7528\u66f4\u5148\u8fdb\u7684\u8bed\u8a00\u7279\u6027\u548c\u5904\u7406\u65b9\u5f0f\uff0c\u5347\u7ea7\u5230Python 3.x\u662f\u503c\u5f97\u8003\u8651\u7684\u3002<\/li>\n<\/ul>\n<p>\u5728\u5347\u7ea7\u4e4b\u524d\uff0c\u5e94\u8be5\u6d4b\u8bd5\u548c\u9a8c\u8bc1\u60a8\u7684\u4ee3\u7801\u662f\u5426\u5728\u65b0\u7248\u672c\u4e0a\u8fd0\u884c\u826f\u597d\uff0c\u5e76\u4e14\u60a8\u6b63\u5728\u4f7f\u7528\u7684\u5e93\u548c\u6846\u67b6\u662f\u5426\u4e0ePython 3.x\u517c\u5bb9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u7248\u672c\u4e4b\u95f4\u7684\u4e3b\u8981\u533a\u522b\u4f53\u73b0\u5728\u529f\u80fd\u4e0a\u3001\u6027\u80fd\u6539\u8fdb\u3001\u5b89\u5168\u6027\u66f4\u65b0\u548c\u8bed\u6cd5\u65b0\u589e\u7b49\u65b9\u9762\u3002\u6700\u663e\u8457\u7684\u533a\u522b\u51fa\u73b0\u5728Pytho [&hellip;]","protected":false},"author":3,"featured_media":150242,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/150233"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=150233"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/150233\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/150242"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=150233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=150233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=150233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}