{"id":991213,"date":"2024-12-27T08:26:41","date_gmt":"2024-12-27T00:26:41","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/991213.html"},"modified":"2024-12-27T08:26:43","modified_gmt":"2024-12-27T00:26:43","slug":"windows-python%e5%a6%82%e4%bd%95%e8%bf%90%e8%a1%8c%e4%bb%a3%e7%a0%81","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/991213.html","title":{"rendered":"windows python\u5982\u4f55\u8fd0\u884c\u4ee3\u7801"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25065613\/30d7c0c8-e827-4668-8252-3da68218d614.webp\" alt=\"windows python\u5982\u4f55\u8fd0\u884c\u4ee3\u7801\" \/><\/p>\n<p><p> <strong>\u5728Windows\u4e0a\u8fd0\u884cPython\u4ee3\u7801\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c\u5305\u62ec\u4f7f\u7528\u547d\u4ee4\u63d0\u793a\u7b26\uff08CMD\uff09\u3001Python\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\u3001\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u548c\u6587\u672c\u7f16\u8f91\u5668\u7b49\u3002\u9996\u5148\uff0c\u786e\u4fdd\u5df2\u5b89\u88c5Python\uff0c\u5e76\u8bbe\u7f6e\u597d\u73af\u5883\u53d8\u91cf\uff0c\u7136\u540e\u6839\u636e\u9700\u8981\u9009\u62e9\u9002\u5408\u7684\u65b9\u5f0f\u8fd0\u884cPython\u4ee3\u7801\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4e00\u3001\u901a\u8fc7\u547d\u4ee4\u63d0\u793a\u7b26\u8fd0\u884cPython\u4ee3\u7801<\/p>\n<\/p>\n<p><p>\u5728Windows\u4e0a\u8fd0\u884cPython\u4ee3\u7801\u7684\u6700\u57fa\u672c\u65b9\u6cd5\u662f\u4f7f\u7528\u547d\u4ee4\u63d0\u793a\u7b26\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u68c0\u67e5Python\u5b89\u88c5<\/strong>\uff1a\u9996\u5148\uff0c\u786e\u4fddPython\u5df2\u7ecf\u6b63\u786e\u5b89\u88c5\u5e76\u914d\u7f6e\u4e86\u73af\u5883\u53d8\u91cf\u3002\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff0c\u8f93\u5165<code>python --version<\/code>\uff0c\u5982\u679c\u663e\u793aPython\u7248\u672c\u53f7\uff0c\u8bf4\u660e\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884cPython\u811a\u672c\u6587\u4ef6<\/strong>\uff1a\u5c06Python\u4ee3\u7801\u4fdd\u5b58\u5728\u6269\u5c55\u540d\u4e3a\u201c.py\u201d\u7684\u6587\u4ef6\u4e2d\uff0c\u4f8b\u5982<code>script.py<\/code>\u3002\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\uff0c\u5bfc\u822a\u5230\u8be5\u6587\u4ef6\u6240\u5728\u76ee\u5f55\uff0c\u7136\u540e\u8f93\u5165<code>python script.py<\/code>\u8fd0\u884c\u811a\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u76f4\u63a5\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8f93\u5165\u4ee3\u7801<\/strong>\uff1a\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u76f4\u63a5\u8f93\u5165<code>python<\/code>\u8fdb\u5165Python\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\uff0c\u7136\u540e\u8f93\u5165Python\u4ee3\u7801\u5e76\u8fd0\u884c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u9002\u5408\u7b80\u5355\u7684\u811a\u672c\u548c\u8c03\u8bd5\u4f7f\u7528\uff0c\u4f46\u5bf9\u4e8e\u5927\u578b\u9879\u76ee\uff0cIDE\u53ef\u80fd\u66f4\u4e3a\u9002\u5408\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528Python\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668<\/p>\n<\/p>\n<p><p>Python\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\u662f\u4e00\u79cd\u5feb\u901f\u6d4b\u8bd5\u548c\u8c03\u8bd5Python\u4ee3\u7801\u7684\u5de5\u5177\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u8fdb\u5165Python\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668<\/strong>\uff1a\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8f93\u5165<code>python<\/code>\u6216<code>python3<\/code>\uff0c\u8fdb\u5165\u4ea4\u4e92\u5f0f\u73af\u5883\u3002\u60a8\u5c06\u770b\u5230\u4e00\u4e2a\u63d0\u793a\u7b26<code>&gt;&gt;&gt;<\/code>\uff0c\u8fd9\u8868\u793a\u60a8\u53ef\u4ee5\u5f00\u59cb\u8f93\u5165Python\u547d\u4ee4\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8f93\u5165\u5e76\u8fd0\u884c\u4ee3\u7801<\/strong>\uff1a\u5728<code>&gt;&gt;&gt;<\/code>\u63d0\u793a\u7b26\u4e0b\uff0c\u8f93\u5165Python\u4ee3\u7801\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">&gt;&gt;&gt; print(&quot;Hello, World!&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8f93\u5165\u540e\u6309\u56de\u8f66\u952e\uff0c\u89e3\u91ca\u5668\u4f1a\u7acb\u5373\u6267\u884c\u4ee3\u7801\u5e76\u663e\u793a\u8f93\u51fa\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9000\u51fa\u89e3\u91ca\u5668<\/strong>\uff1a\u8f93\u5165<code>exit()<\/code>\u6216\u6309<code>Ctrl+Z<\/code>\uff08\u7136\u540e\u6309\u56de\u8f66\uff09\u9000\u51fa\u89e3\u91ca\u5668\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\u662f\u6d4b\u8bd5\u548c\u5c1d\u8bd5\u4ee3\u7801\u7247\u6bb5\u7684\u7406\u60f3\u73af\u5883\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09<\/p>\n<\/p>\n<p><p>IDE\u662f\u5f00\u53d1\u5927\u578bPython\u9879\u76ee\u7684\u5e38\u7528\u5de5\u5177\uff0c\u63d0\u4f9b\u4e86\u4ee3\u7801\u7f16\u8f91\u3001\u8c03\u8bd5\u548c\u8fd0\u884c\u7b49\u529f\u80fd\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u9009\u62e9IDE<\/strong>\uff1a\u5e38\u7528\u7684Python IDE\u5305\u62ecPyCharm\u3001Visual Studio Code\u3001Eclipse\uff08\u901a\u8fc7PyDev\u63d2\u4ef6\uff09\u7b49\u3002\u4e0b\u8f7d\u5e76\u5b89\u88c5\u60a8\u9009\u62e9\u7684IDE\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u521b\u5efa\u548c\u8fd0\u884cPython\u9879\u76ee<\/strong>\uff1a\u5728IDE\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u9879\u76ee\u6216\u811a\u672c\u6587\u4ef6\u3002\u5728\u7f16\u8f91\u5668\u4e2d\u7f16\u5199\u4ee3\u7801\u540e\uff0c\u4f7f\u7528IDE\u7684\u201c\u8fd0\u884c\u201d\u6309\u94ae\u6216\u83dc\u5355\u547d\u4ee4\u6765\u6267\u884c\u4ee3\u7801\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8c03\u8bd5\u529f\u80fd<\/strong>\uff1aIDE\u901a\u5e38\u63d0\u4f9b\u5f3a\u5927\u7684\u8c03\u8bd5\u5de5\u5177\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u65ad\u70b9\u3001\u68c0\u67e5\u53d8\u91cf\u72b6\u6001\u3001\u9010\u6b65\u6267\u884c\u4ee3\u7801\u7b49\uff0c\u5e2e\u52a9\u53d1\u73b0\u548c\u4fee\u590d\u9519\u8bef\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4f7f\u7528IDE\u80fd\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\uff0c\u9002\u5408\u957f\u671f\u9879\u76ee\u5f00\u53d1\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668<\/p>\n<\/p>\n<p><p>\u6587\u672c\u7f16\u8f91\u5668\u5982Notepad++\u3001Sublime Text\u3001Atom\u7b49\uff0c\u4e5f\u53ef\u4ee5\u7528\u4e8e\u7f16\u5199\u548c\u8fd0\u884cPython\u4ee3\u7801\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u7f16\u5199\u4ee3\u7801<\/strong>\uff1a\u5728\u6587\u672c\u7f16\u8f91\u5668\u4e2d\u7f16\u5199Python\u4ee3\u7801\uff0c\u5e76\u4fdd\u5b58\u4e3a\u201c.py\u201d\u6587\u4ef6\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884c\u4ee3\u7801<\/strong>\uff1a\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff0c\u5bfc\u822a\u5230\u6587\u4ef6\u6240\u5728\u76ee\u5f55\uff0c\u8f93\u5165<code>python filename.py<\/code>\u8fd0\u884c\u4ee3\u7801\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u6587\u672c\u7f16\u8f91\u5668\u901a\u5e38\u66f4\u8f7b\u91cf\u5316\uff0c\u4f46\u53ef\u80fd\u9700\u8981\u989d\u5916\u914d\u7f6e\u6765\u652f\u6301Python\u8bed\u6cd5\u9ad8\u4eae\u3001\u81ea\u52a8\u8865\u5168\u7b49\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u901a\u8fc7\u6279\u5904\u7406\u6587\u4ef6\u8fd0\u884c<\/p>\n<\/p>\n<p><p>\u5728Windows\u4e0a\uff0c\u53ef\u4ee5\u901a\u8fc7\u6279\u5904\u7406\u6587\u4ef6\u6765\u8fd0\u884cPython\u811a\u672c\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521b\u5efa\u6279\u5904\u7406\u6587\u4ef6<\/strong>\uff1a\u5728\u6587\u4ef6<a href=\"https:\/\/docs.pingcode.com\/blog\/project-management\/58557.html\" target=\"_blank\">\u8d44\u6e90\u7ba1\u7406<\/a>\u5668\u4e2d\uff0c\u521b\u5efa\u4e00\u4e2a\u6269\u5c55\u540d\u4e3a\u201c.bat\u201d\u7684\u6279\u5904\u7406\u6587\u4ef6\u3002\u4f8b\u5982\uff0c\u521b\u5efa<code>run_script.bat<\/code>\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7f16\u5199\u6279\u5904\u7406\u547d\u4ee4<\/strong>\uff1a\u7f16\u8f91\u6279\u5904\u7406\u6587\u4ef6\uff0c\u6dfb\u52a0\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-batch\">@echo off<\/p>\n<p>python path\\to\\your\\script.py<\/p>\n<p>pause<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5c06<code>path\\to\\your\\script.py<\/code>\u66ff\u6362\u4e3aPython\u811a\u672c\u7684\u5b9e\u9645\u8def\u5f84\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884c\u6279\u5904\u7406\u6587\u4ef6<\/strong>\uff1a\u53cc\u51fb\u6279\u5904\u7406\u6587\u4ef6\u5373\u53ef\u8fd0\u884cPython\u811a\u672c\uff0c\u5e76\u5728\u6267\u884c\u5b8c\u6210\u540e\u67e5\u770b\u8f93\u51fa\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u6279\u5904\u7406\u6587\u4ef6\u9002\u5408\u81ea\u52a8\u5316\u4efb\u52a1\u548c\u5b9a\u671f\u6267\u884c\u7684\u811a\u672c\u3002<\/p>\n<\/p>\n<p><p>\u516d\u3001\u901a\u8fc7\u4efb\u52a1\u8ba1\u5212\u7a0b\u5e8f\u8fd0\u884c<\/p>\n<\/p>\n<p><p>Windows\u4efb\u52a1\u8ba1\u5212\u7a0b\u5e8f\u53ef\u4ee5\u7528\u4e8e\u5b89\u6392Python\u811a\u672c\u5728\u7279\u5b9a\u65f6\u95f4\u6216\u4e8b\u4ef6\u65f6\u8fd0\u884c\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6253\u5f00\u4efb\u52a1\u8ba1\u5212\u7a0b\u5e8f<\/strong>\uff1a\u5728\u5f00\u59cb\u83dc\u5355\u4e2d\u641c\u7d22\u201c\u4efb\u52a1\u8ba1\u5212\u7a0b\u5e8f\u201d\u5e76\u6253\u5f00\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u521b\u5efa\u65b0\u4efb\u52a1<\/strong>\uff1a\u5728\u4efb\u52a1\u8ba1\u5212\u7a0b\u5e8f\u4e2d\uff0c\u9009\u62e9\u201c\u521b\u5efa\u4efb\u52a1\u201d\uff0c\u586b\u5199\u4efb\u52a1\u540d\u79f0\u548c\u63cf\u8ff0\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8bbe\u7f6e\u89e6\u53d1\u5668<\/strong>\uff1a\u9009\u62e9\u201c\u89e6\u53d1\u5668\u201d\u9009\u9879\u5361\uff0c\u70b9\u51fb\u201c\u65b0\u5efa\u201d\uff0c\u8bbe\u7f6e\u4efb\u52a1\u8fd0\u884c\u7684\u65f6\u95f4\u6216\u6761\u4ef6\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8bbe\u7f6e\u64cd\u4f5c<\/strong>\uff1a\u9009\u62e9\u201c\u64cd\u4f5c\u201d\u9009\u9879\u5361\uff0c\u70b9\u51fb\u201c\u65b0\u5efa\u201d\uff0c\u9009\u62e9\u201c\u542f\u52a8\u7a0b\u5e8f\u201d\uff0c\u7136\u540e\u5728\u201c\u7a0b\u5e8f\u6216\u811a\u672c\u201d\u4e2d\u8f93\u5165<code>python<\/code>\uff0c\u5728\u201c\u6dfb\u52a0\u53c2\u6570\u201d\u4e2d\u8f93\u5165\u811a\u672c\u8def\u5f84\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4fdd\u5b58\u5e76\u8fd0\u884c\u4efb\u52a1<\/strong>\uff1a\u70b9\u51fb\u201c\u786e\u5b9a\u201d\u4fdd\u5b58\u4efb\u52a1\uff0c\u4efb\u52a1\u8ba1\u5212\u7a0b\u5e8f\u5c06\u6839\u636e\u8bbe\u7f6e\u81ea\u52a8\u8fd0\u884cPython\u811a\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4efb\u52a1\u8ba1\u5212\u7a0b\u5e8f\u9002\u5408\u9700\u8981\u5b9a\u65f6\u8fd0\u884c\u7684\u811a\u672c\u4efb\u52a1\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u60a8\u53ef\u4ee5\u5728Windows\u4e0a\u7075\u6d3b\u5730\u8fd0\u884cPython\u4ee3\u7801\uff0c\u4ece\u7b80\u5355\u7684\u811a\u672c\u5230\u590d\u6742\u7684\u9879\u76ee\u5f00\u53d1\uff0c\u90fd\u80fd\u627e\u5230\u5408\u9002\u7684\u5de5\u5177\u548c\u65b9\u5f0f\u3002\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\uff0c\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u6700\u9002\u5408\u7684\u65b9\u6cd5\uff0c\u4ee5\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Windows\u4e0a\u5b89\u88c5Python\u4ee5\u4fbf\u8fd0\u884c\u4ee3\u7801\uff1f<\/strong><br \/>\u5728Windows\u4e0a\u5b89\u88c5Python\u975e\u5e38\u7b80\u5355\u3002\u60a8\u53ef\u4ee5\u8bbf\u95eePython\u7684\u5b98\u65b9\u7f51\u7ad9\uff08python.org\uff09\u4e0b\u8f7d\u9002\u5408\u60a8\u7cfb\u7edf\u7248\u672c\u7684\u5b89\u88c5\u7a0b\u5e8f\u3002\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\u5e76\u786e\u4fdd\u9009\u62e9\u4e86\u201cAdd Python to PATH\u201d\u9009\u9879\u3002\u8fd9\u5c06\u4f7f\u60a8\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528Python\u547d\u4ee4\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u60a8\u53ef\u4ee5\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8f93\u5165\u201cpython\u201d\u6216\u201cpython &#8211;version\u201d\u6765\u786e\u8ba4\u5b89\u88c5\u662f\u5426\u6210\u529f\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Windows\u4e2d\u4f7f\u7528\u547d\u4ee4\u63d0\u793a\u7b26\u8fd0\u884cPython\u811a\u672c\uff1f<\/strong><br \/>\u8981\u5728Windows\u7684\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8fd0\u884cPython\u811a\u672c\uff0c\u60a8\u9700\u8981\u5148\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u7a97\u53e3\u3002\u53ef\u4ee5\u901a\u8fc7\u5728\u641c\u7d22\u6846\u4e2d\u8f93\u5165\u201ccmd\u201d\u6765\u627e\u5230\u5b83\u3002\u8fdb\u5165\u5305\u542b\u60a8\u7684Python\u6587\u4ef6\u7684\u76ee\u5f55\uff0c\u4f7f\u7528\u201ccd\u201d\u547d\u4ee4\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u7684\u6587\u4ef6\u4f4d\u4e8e\u684c\u9762\u4e0a\uff0c\u53ef\u4ee5\u8f93\u5165\u201ccd Desktop\u201d\u3002\u63a5\u4e0b\u6765\uff0c\u4f7f\u7528\u547d\u4ee4\u201cpython your_script.py\u201d\u8fd0\u884c\u60a8\u7684\u811a\u672c\uff0c\u5176\u4e2d\u201cyour_script.py\u201d\u662f\u60a8\u7684Python\u6587\u4ef6\u540d\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Windows\u4e0a\u9009\u62e9\u5408\u9002\u7684Python\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u6765\u8fd0\u884c\u4ee3\u7801\uff1f<\/strong><br \/>\u5728Windows\u4e0a\uff0c\u6709\u591a\u79cdIDE\u53ef\u4f9b\u9009\u62e9\uff0c\u4f8b\u5982PyCharm\u3001Visual Studio Code\u548cJupyter Notebook\u7b49\u3002\u9009\u62e9\u5408\u9002\u7684IDE\u901a\u5e38\u53d6\u51b3\u4e8e\u60a8\u7684\u9700\u6c42\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u662f\u521d\u5b66\u8005\uff0cJupyter Notebook\u63d0\u4f9b\u4e86\u4e00\u4e2a\u4ea4\u4e92\u5f0f\u73af\u5883\uff0c\u975e\u5e38\u9002\u5408\u5b66\u4e60\u548c\u5b9e\u9a8c\u3002PyCharm\u5219\u9002\u5408\u5f00\u53d1\u5927\u578b\u9879\u76ee\uff0c\u62e5\u6709\u4e30\u5bcc\u7684\u529f\u80fd\u548c\u63d2\u4ef6\u3002\u800cVisual Studio Code\u5219\u8f7b\u91cf\u4e14\u7075\u6d3b\uff0c\u9002\u5408\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u60a8\u53ef\u4ee5\u6839\u636e\u4e2a\u4eba\u559c\u597d\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Windows\u4e0a\u8fd0\u884cPython\u4ee3\u7801\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c\u5305\u62ec\u4f7f\u7528\u547d\u4ee4\u63d0\u793a\u7b26\uff08CMD\uff09\u3001Python\u4ea4\u4e92\u5f0f\u89e3 [&hellip;]","protected":false},"author":3,"featured_media":991219,"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\/991213"}],"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=991213"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/991213\/revisions"}],"predecessor-version":[{"id":991220,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/991213\/revisions\/991220"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/991219"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=991213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=991213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=991213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}