{"id":23,"date":"2026-06-12T21:13:09","date_gmt":"2026-06-12T13:13:09","guid":{"rendered":"https:\/\/www.52runoob.com\/?p=23"},"modified":"2026-06-12T21:13:09","modified_gmt":"2026-06-12T13:13:09","slug":"python-vscode-%e9%85%8d%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/www.52runoob.com\/index.php\/2026\/06\/12\/python-vscode-%e9%85%8d%e7%bd%ae\/","title":{"rendered":"Python VScode \u914d\u7f6e"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u5728 VS Code \u4e2d\u914d\u7f6e Python \u5f00\u53d1\u73af\u5883\u662f\u4e00\u4e2a\u975e\u5e38\u6807\u51c6\u5316\u7684\u8fc7\u7a0b\u3002\u4e3a\u4e86\u8ba9\u4f60\u83b7\u5f97\u6700\u4f73\u7684\u5f00\u53d1\u4f53\u9a8c\uff08\u5305\u62ec\u4ee3\u7801\u8865\u5168\u3001\u683c\u5f0f\u5316\u3001\u8c03\u8bd5\u548c\u865a\u62df\u73af\u5883\u7ba1\u7406\uff09\uff0c\u4ee5\u4e0b\u662f\u622a\u81f3 2026 \u5e74\u6700\u4e3b\u6d41\u3001\u6700\u9ad8\u6548\u7684\u914d\u7f6e\u6307\u5357\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u7b2c\u4e00\u6b65\uff1a\u5b89\u88c5\u57fa\u7840\u73af\u5883<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u5b89\u88c5 Python<\/strong>\uff1a\u524d\u5f80 <a href=\"https:\/\/www.python.org\/\">Python \u5b98\u7f51<\/a> \u4e0b\u8f7d\u5e76\u5b89\u88c5 Python\uff08\u5efa\u8bae 3.10 \u6216\u66f4\u9ad8\u7248\u672c\uff09\u3002\u5b89\u88c5\u65f6\u52a1\u5fc5\u52fe\u9009 <strong>&#8220;Add Python to PATH&#8221;<\/strong>\u3002<\/li>\n\n\n\n<li><strong>\u5b89\u88c5 VS Code<\/strong>\uff1a\u524d\u5f80 <a href=\"https:\/\/code.visualstudio.com\/\">VS Code \u5b98\u7f51<\/a> \u4e0b\u8f7d\u5e76\u5b89\u88c5\u3002<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u7b2c\u4e8c\u6b65\uff1a\u5b89\u88c5\u5fc5\u5907 VS Code \u63d2\u4ef6<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6253\u5f00 VS Code\uff0c\u70b9\u51fb\u5de6\u4fa7\u6d3b\u52a8\u680f\u7684 <strong>\u6269\u5c55 (Extensions)<\/strong> \u56fe\u6807\uff08\u6216\u6309 <code>Ctrl+Shift+X<\/code> \/ <code>Cmd+Shift+X<\/code>\uff09\uff0c\u641c\u7d22\u5e76\u5b89\u88c5\u4ee5\u4e0b\u63d2\u4ef6\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Python<\/strong> (\u53d1\u5e03\u8005: Microsoft)\uff1a<em>\u5fc5\u5907<\/em>\uff0c\u63d0\u4f9b\u6838\u5fc3\u652f\u6301\u3001\u8c03\u8bd5\u3001Jupyter \u652f\u6301\u548c\u89e3\u91ca\u5668\u7ba1\u7406\u3002<\/li>\n\n\n\n<li><strong>Pylance<\/strong> (\u53d1\u5e03\u8005: Microsoft)\uff1a<em>\u5fc5\u5907<\/em>\uff0c\u63d0\u4f9b\u6781\u901f\u7684\u7c7b\u578b\u68c0\u67e5\u548c\u667a\u80fd\u4ee3\u7801\u8865\u5168\uff08\u901a\u5e38\u5b89\u88c5 Python \u63d2\u4ef6\u65f6\u4f1a\u81ea\u52a8\u63a8\u8350\u5b89\u88c5\uff09\u3002<\/li>\n\n\n\n<li><strong>Ruff<\/strong> (\u53d1\u5e03\u8005: Astral Software)\uff1a<em>\u5f3a\u70c8\u63a8\u8350<\/em>\u3002\u76ee\u524d Python \u793e\u533a\u6700\u706b\u7684\u5de5\u5177\uff0c\u7528 Rust \u7f16\u5199\uff0c\u901f\u5ea6\u6781\u5feb\uff0c<strong>\u540c\u65f6\u66ff\u4ee3\u4e86 Black (\u683c\u5f0f\u5316) \u548c Flake8\/PyLint (\u4ee3\u7801\u68c0\u67e5)<\/strong>\u3002<\/li>\n\n\n\n<li><strong>Python Debugger<\/strong> (\u53d1\u5e03\u8005: Microsoft)\uff1a<em>\u5fc5\u5907<\/em>\uff0c\u7528\u4e8e\u8c03\u8bd5 Python \u4ee3\u7801\u3002<\/li>\n\n\n\n<li><em>(\u53ef\u9009)<\/em> <strong>Jupyter<\/strong>\uff1a\u5982\u679c\u4f60\u9700\u8981\u505a\u6570\u636e\u5206\u6790\u6216\u8fd0\u884c <code>.ipynb<\/code> \u6587\u4ef6\u3002<\/li>\n\n\n\n<li><em>(\u53ef\u9009)<\/em> <strong>Python Environment Manager<\/strong>\uff1a\u66f4\u65b9\u4fbf\u5730\u5728\u5e95\u90e8\u72b6\u6001\u680f\u5207\u6362\u865a\u62df\u73af\u5883\u3002<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u7b2c\u4e09\u6b65\uff1a\u521b\u5efa\u9879\u76ee\u4e0e\u865a\u62df\u73af\u5883 (\u6700\u4f73\u5b9e\u8df5)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6c38\u8fdc\u4e0d\u8981\u5728\u5168\u5c40\u73af\u5883\u4e2d\u5b89\u88c5\u5305\uff0c\u4f7f\u7528\u865a\u62df\u73af\u5883\u53ef\u4ee5\u907f\u514d\u4f9d\u8d56\u51b2\u7a81\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u5728 VS Code \u4e2d\u6253\u5f00\u4f60\u7684\u9879\u76ee\u6587\u4ef6\u5939\uff1a<code>\u6587\u4ef6<\/code> -> <code>\u6253\u5f00\u6587\u4ef6\u5939<\/code>\u3002<\/li>\n\n\n\n<li>\u6253\u5f00\u7ec8\u7aef (<code>Ctrl + ~<\/code> \u6216 <code>Cmd + ~<\/code>)\u3002<\/li>\n\n\n\n<li>\u521b\u5efa\u865a\u62df\u73af\u5883\uff08\u4ee5 <code>venv<\/code> \u4e3a\u4f8b\uff09\uff1a<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n   # Windows\n   python -m venv .venv\n   # macOS \/ Linux\n   python3 -m venv .venv\n<\/pre><\/div>\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li><strong>\u6fc0\u6d3b\u865a\u62df\u73af\u5883<\/strong>\uff1a<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Windows (CMD): <code>.venv\\Scripts\\activate.bat<\/code><\/li>\n\n\n\n<li>Windows (PowerShell): <code>.venv\\Scripts\\Activate.ps1<\/code><\/li>\n\n\n\n<li>macOS \/ Linux: <code>source .venv\/bin\/activate<\/code><br><em>(\u6ce8\uff1aVS Code \u901a\u5e38\u4f1a\u5728\u4f60\u521b\u5efa <code>.venv<\/code> \u6587\u4ef6\u5939\u540e\uff0c\u81ea\u52a8\u63d0\u793a\u4f60\u9009\u62e9\u5b83\u4f5c\u4e3a\u5de5\u4f5c\u533a\u89e3\u91ca\u5668\uff0c\u70b9\u51fb\u201c\u662f\u201d\u5373\u53ef\u3002)<\/em><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u7b2c\u56db\u6b65\uff1a\u914d\u7f6e\u5de5\u4f5c\u533a (<code>settings.json<\/code>)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e3a\u4e86\u8ba9 Ruff \u63a5\u7ba1\u683c\u5f0f\u5316\u548c\u4ee3\u7801\u68c0\u67e5\uff0c\u5e76\u89c4\u8303\u4f60\u7684\u5f00\u53d1\u73af\u5883\uff0c\u5efa\u8bae\u914d\u7f6e\u9879\u76ee\u7ea7\u522b\u7684 <code>settings.json<\/code>\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u6309 <code>Ctrl+Shift+P<\/code> (\u6216 <code>Cmd+Shift+P<\/code>) \u6253\u5f00\u547d\u4ee4\u9762\u677f\u3002<\/li>\n\n\n\n<li>\u8f93\u5165\u5e76\u9009\u62e9 <strong><code>Preferences: Open Workspace Settings (JSON)<\/code><\/strong>\uff08\u9996\u9009\u9879\uff1a\u6253\u5f00\u5de5\u4f5c\u533a\u8bbe\u7f6e (JSON)\uff09\u3002<\/li>\n\n\n\n<li>\u7c98\u8d34\u4ee5\u4e0b\u914d\u7f6e\uff08\u53ef\u6839\u636e\u9700\u8981\u8c03\u6574\uff09\uff1a<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n    \/\/ 1. \u6307\u5b9a Python \u89e3\u91ca\u5668\u8def\u5f84 (VS Code \u901a\u5e38\u4f1a\u81ea\u52a8\u751f\u6210\uff0c\u5982\u679c\u6ca1\u6709\u53ef\u624b\u52a8\u6307\u5b9a)\n    &quot;python.defaultInterpreterPath&quot;: &quot;${workspaceFolder}\/.venv\/Scripts\/python.exe&quot;, \/\/ Windows\n    \/\/ &quot;python.defaultInterpreterPath&quot;: &quot;${workspaceFolder}\/.venv\/bin\/python&quot;, \/\/ macOS\/Linux\n\n    \/\/ 2. \u914d\u7f6e Ruff \u4f5c\u4e3a\u9ed8\u8ba4\u7684\u683c\u5f0f\u5316\u548c Linting \u5de5\u5177\n    &quot;&#x5B;python]&quot;: {\n        &quot;editor.defaultFormatter&quot;: &quot;charliermarsh.ruff&quot;,\n        &quot;editor.formatOnSave&quot;: true,\n        &quot;editor.codeActionsOnSave&quot;: {\n            &quot;source.fixAll&quot;: &quot;explicit&quot;,\n            &quot;source.organizeImports&quot;: &quot;explicit&quot;\n        }\n    },\n\n    \/\/ 3. Ruff \u7279\u5b9a\u914d\u7f6e (\u53ef\u9009)\n    &quot;ruff.lint.args&quot;: &#x5B;\n        &quot;--ignore=E501&quot; \/\/ \u793a\u4f8b\uff1a\u5ffd\u7565\u5355\u884c\u8fc7\u957f\u8b66\u544a\n    ],\n\n    \/\/ 4. \u7ec8\u7aef\u8bbe\u7f6e\uff1a\u786e\u4fdd\u65b0\u7ec8\u7aef\u81ea\u52a8\u6fc0\u6d3b\u865a\u62df\u73af\u5883\n    &quot;python.terminal.activateEnvironment&quot;: true,\n\n    \/\/ 5. \u6587\u4ef6\u6392\u9664\uff1a\u907f\u514d\u641c\u7d22\u548c\u7d22\u5f15\u865a\u62df\u73af\u5883\u4e2d\u7684\u6587\u4ef6\uff0c\u63d0\u5347\u6027\u80fd\n    &quot;files.watcherExclude&quot;: {\n        &quot;**\/.venv\/**&quot;: true\n    },\n    &quot;search.exclude&quot;: {\n        &quot;**\/.venv\/**&quot;: true\n    }\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><em>(\u6ce8\u610f\uff1a\u5982\u679c\u662f macOS\/Linux\uff0c\u8bf7\u5c06 <code>Scripts<\/code> \u6539\u4e3a <code>bin<\/code>)<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u7b2c\u4e94\u6b65\uff1a\u914d\u7f6e\u8fd0\u884c\u4e0e\u8c03\u8bd5 (<code>launch.json<\/code>)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u4f60\u9700\u8981\u6309 F5 \u8c03\u8bd5\u4ee3\u7801\uff0c\u53ef\u4ee5\u914d\u7f6e\u542f\u52a8\u6587\u4ef6\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u70b9\u51fb\u5de6\u4fa7\u6d3b\u52a8\u680f\u7684 <strong>\u8fd0\u884c\u548c\u8c03\u8bd5<\/strong> \u56fe\u6807\uff08\u6216\u6309 <code>Ctrl+Shift+D<\/code>\uff09\u3002<\/li>\n\n\n\n<li>\u70b9\u51fb <strong>\u521b\u5efa launch.json \u6587\u4ef6<\/strong>\uff0c\u9009\u62e9 <strong>Python \u6587\u4ef6<\/strong>\u3002<\/li>\n\n\n\n<li>VS Code \u4f1a\u5728 <code>.vscode<\/code> \u76ee\u5f55\u4e0b\u751f\u6210 <code>launch.json<\/code>\uff0c\u4f60\u53ef\u4ee5\u4fee\u6539\u4e3a\u7c7b\u4f3c\u5982\u4e0b\u914d\u7f6e\uff1a<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n    &quot;version&quot;: &quot;0.2.0&quot;,\n    &quot;configurations&quot;: &#x5B;\n        {\n            &quot;name&quot;: &quot;Python: \u5f53\u524d\u6587\u4ef6&quot;,\n            &quot;type&quot;: &quot;debugpy&quot;,\n            &quot;request&quot;: &quot;launch&quot;,\n            &quot;program&quot;: &quot;${file}&quot;,\n            &quot;console&quot;: &quot;integratedTerminal&quot;,\n            &quot;justMyCode&quot;: true, \/\/ \u8bbe\u4e3a false \u53ef\u4ee5\u8c03\u8bd5\u8fdb\u5165\u7b2c\u4e09\u65b9\u5e93\u6e90\u7801\n            &quot;env&quot;: {\n                &quot;PYTHONPATH&quot;: &quot;${workspaceFolder}&quot; \/\/ \u786e\u4fdd\u80fd\u6b63\u786e\u5bfc\u5165\u9879\u76ee\u5185\u7684\u6a21\u5757\n            }\n        },\n        {\n            &quot;name&quot;: &quot;Python: \u8fd0\u884c\u7279\u5b9a\u6a21\u5757 (\u5982 main.py)&quot;,\n            &quot;type&quot;: &quot;debugpy&quot;,\n            &quot;request&quot;: &quot;launch&quot;,\n            &quot;module&quot;: &quot;main&quot;, \/\/ \u66ff\u6362\u4e3a\u4f60\u7684\u5165\u53e3\u6a21\u5757\u540d\n            &quot;console&quot;: &quot;integratedTerminal&quot;\n        }\n    ]\n}\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u7b2c\u516d\u6b65\uff1a\u9a8c\u8bc1\u914d\u7f6e\u662f\u5426\u6210\u529f<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u65b0\u5efa\u4e00\u4e2a <code>test.py<\/code> \u6587\u4ef6\u3002<\/li>\n\n\n\n<li>\u8f93\u5165\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n   import os\n\n   def hello_world(name: str) -&gt; str:\n       return f&quot;Hello, {name}!&quot;\n\n   print(hello_world(&quot;VS Code&quot;))\n<\/pre><\/div>\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li><strong>\u6d4b\u8bd5\u683c\u5f0f\u5316<\/strong>\uff1a\u4fdd\u5b58\u6587\u4ef6 (<code>Ctrl+S<\/code>)\uff0c\u4ee3\u7801\u5e94\u8be5\u4f1a\u81ea\u52a8\u683c\u5f0f\u5316\uff08\u5982\u679c\u6ca1\u89e6\u53d1\uff0c\u53f3\u952e\u9009\u62e9\u201c\u683c\u5f0f\u5316\u6587\u6863\u201d\uff09\u3002<\/li>\n\n\n\n<li><strong>\u6d4b\u8bd5 Linting<\/strong>\uff1a\u6545\u610f\u5220\u6389 <code>import os<\/code>\uff0cRuff \u5e94\u8be5\u4f1a\u7acb\u523b\u5728 <code>os<\/code> \u4e0b\u65b9\u753b\u51fa\u6ce2\u6d6a\u7ebf\uff0c\u63d0\u793a\u672a\u4f7f\u7528\u7684\u5bfc\u5165\u6216\u9519\u8bef\u3002<\/li>\n\n\n\n<li><strong>\u6d4b\u8bd5\u8fd0\u884c<\/strong>\uff1a\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684 <strong>\u25b6\ufe0f (\u8fd0\u884c)<\/strong> \u6309\u94ae\uff0c\u6216\u6309 <code>F5<\/code>\uff0c\u4e0b\u65b9\u7ec8\u7aef\u5e94\u8f93\u51fa <code>Hello, VS Code!<\/code>\uff0c\u4e14\u7ec8\u7aef\u63d0\u793a\u7b26\u524d\u5e26\u6709 <code>(.venv)<\/code>\u3002<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udca1 \u8fdb\u9636\u6280\u5de7\u4e0e\u5e38\u89c1\u95ee\u9898<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u53f3\u4e0b\u89d2\u89e3\u91ca\u5668\u6ca1\u663e\u793a <code>.venv<\/code>\uff1f<\/strong><\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6309 <code>Ctrl+Shift+P<\/code>\uff0c\u8f93\u5165 <code>Python: Select Interpreter<\/code>\uff0c\u624b\u52a8\u9009\u62e9\u4f60\u9879\u76ee\u4e0b\u7684 <code>.venv<\/code> \u8def\u5f84\u3002<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u4e3a\u4ec0\u4e48\u5b89\u88c5\u4e86\u5305\uff0cVS Code \u8fd8\u662f\u63d0\u793a &#8220;Import \u627e\u4e0d\u5230&#8221;\uff1f<\/strong><\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>99% \u7684\u60c5\u51b5\u662f\u56e0\u4e3a VS Code \u5f53\u524d\u4f7f\u7528\u7684\u89e3\u91ca\u5668\u4e0d\u662f\u4f60\u5b89\u88c5\u4e86\u5305\u7684\u90a3\u4e2a\u865a\u62df\u73af\u5883\u3002\u68c0\u67e5\u53f3\u4e0b\u89d2\u7684 Python \u7248\u672c\u8def\u5f84\u662f\u5426\u6b63\u786e\u3002<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u4f7f\u7528 <code>requirements.txt<\/code> \u6216 <code>pyproject.toml<\/code>\uff1f<\/strong><\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u73b0\u4ee3 Python \u9879\u76ee\u63a8\u8350\u4f7f\u7528 <code>pyproject.toml<\/code> \u7ba1\u7406\u4f9d\u8d56\u3002\u4f60\u53ef\u4ee5\u5728\u5176\u4e2d\u76f4\u63a5\u914d\u7f6e Ruff \u89c4\u5219\uff0cVS Code \u63d2\u4ef6\u4f1a\u81ea\u52a8\u8bfb\u53d6\u3002<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u8fdc\u7a0b\u5f00\u53d1 (WSL \/ SSH \/ Dev Containers)<\/strong><\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5982\u679c\u4f60\u5728 Windows \u4e0a\u5f00\u53d1\u4f46\u9700\u8981 Linux \u73af\u5883\uff0c\u5f3a\u70c8\u5efa\u8bae\u5b89\u88c5 <strong>WSL<\/strong> \u63d2\u4ef6\uff0c\u5728 WSL \u4e2d\u6253\u5f00\u6587\u4ef6\u5939\uff0c\u4e0a\u8ff0\u6240\u6709\u914d\u7f6e\u6b65\u9aa4\u5b8c\u5168\u4e00\u81f4\uff0c\u4e14\u4f53\u9a8c\u65e0\u7f1d\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u6309\u7167\u4ee5\u4e0a\u6b65\u9aa4\u914d\u7f6e\uff0c\u4f60\u5c06\u83b7\u5f97\u4e00\u4e2a\u73b0\u4ee3\u5316\u3001\u6781\u901f\u4e14\u89c4\u8303\u7684 Python \u5f00\u53d1\u73af\u5883\u3002\u5982\u679c\u6709\u7279\u5b9a\u6846\u67b6\uff08\u5982 Django, FastAPI, PyTorch\uff09\u7684\u914d\u7f6e\u9700\u6c42\uff0c\u53ef\u4ee5\u544a\u8bc9\u6211\uff0c\u6211\u4e3a\u4f60\u63d0\u4f9b\u9488\u5bf9\u6027\u7684\u8865\u5145\u914d\u7f6e\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 VS Code \u4e2d\u914d\u7f6e Python \u5f00\u53d1\u73af\u5883\u662f\u4e00\u4e2a\u975e\u5e38\u6807\u51c6\u5316\u7684\u8fc7\u7a0b\u3002\u4e3a\u4e86\u8ba9\u4f60\u83b7\u5f97\u6700\u4f73\u7684\u5f00\u53d1\u4f53\u9a8c\uff08\u5305\u62ec\u4ee3\u7801 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-23","post","type-post","status-publish","format-standard","hentry","category-python-3-"],"_links":{"self":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/23","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/comments?post=23"}],"version-history":[{"count":1,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/23\/revisions"}],"predecessor-version":[{"id":24,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/23\/revisions\/24"}],"wp:attachment":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/media?parent=23"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/categories?post=23"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/tags?post=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}