{"id":976544,"date":"2024-12-27T06:22:27","date_gmt":"2024-12-26T22:22:27","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/976544.html"},"modified":"2024-12-27T06:22:29","modified_gmt":"2024-12-26T22:22:29","slug":"idea%e4%b8%ad%e5%a6%82%e4%bd%95%e8%bf%90%e8%a1%8cpython","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/976544.html","title":{"rendered":"idea\u4e2d\u5982\u4f55\u8fd0\u884cpython"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24202205\/d37ea925-0a2f-4b34-9a31-3ec965f2aad9.webp\" alt=\"idea\u4e2d\u5982\u4f55\u8fd0\u884cpython\" \/><\/p>\n<p><p> <strong>\u5728IDEA\u4e2d\u8fd0\u884cPython\u4ee3\u7801\u4e3b\u8981\u4f9d\u8d56\u4e8e\u63d2\u4ef6\u652f\u6301\u3001\u914d\u7f6ePython SDK\u3001\u521b\u5efa\u5e76\u8fd0\u884cPython\u6587\u4ef6\u3002<\/strong>\u9996\u5148\uff0c\u5b89\u88c5Python\u63d2\u4ef6\uff0c\u7136\u540e\u914d\u7f6ePython SDK\uff0c\u63a5\u7740\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u6587\u4ef6\uff0c\u6700\u540e\u8fd0\u884c\u4ee3\u7801\u3002\u5177\u4f53\u65b9\u6cd5\u5c06\u5728\u4e0b\u6587\u8be6\u7ec6\u4ecb\u7ecd\u3002<\/p>\n<\/p>\n<hr>\n<p><h3>\u4e00\u3001\u5b89\u88c5Python\u63d2\u4ef6<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u5728IDEA\u4e2d\u8fd0\u884cPython\uff0c\u9700\u8981\u9996\u5148\u5b89\u88c5\u76f8\u5e94\u7684Python\u63d2\u4ef6\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6253\u5f00IDEA\u5e76\u8fdb\u5165\u63d2\u4ef6\u5e02\u573a\uff1a<\/strong> \u542f\u52a8IntelliJ IDEA\uff0c\u70b9\u51fb\u9876\u90e8\u83dc\u5355\u680f\u4e2d\u7684\u201cFile\u201d\uff0c\u7136\u540e\u9009\u62e9\u201cSettings\u201d\u6216\u8005\u76f4\u63a5\u6309\u5feb\u6377\u952e<code>Ctrl+Alt+S<\/code>\u6253\u5f00\u8bbe\u7f6e\u7a97\u53e3\u3002\u5728\u5de6\u4fa7\u5217\u8868\u4e2d\uff0c\u627e\u5230\u5e76\u70b9\u51fb\u201cPlugins\u201d\u9009\u9879\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u641c\u7d22\u5e76\u5b89\u88c5Python\u63d2\u4ef6\uff1a<\/strong> \u5728\u63d2\u4ef6\u5e02\u573a\u7684\u641c\u7d22\u6846\u4e2d\u8f93\u5165\u201cPython\u201d\uff0c\u627e\u5230\u201cPython\u201d\u7684\u5b98\u65b9\u63d2\u4ef6\uff0c\u70b9\u51fb\u201cInstall\u201d\u6309\u94ae\u8fdb\u884c\u5b89\u88c5\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0cIDEA\u53ef\u80fd\u4f1a\u63d0\u793a\u91cd\u542f\u4ee5\u5e94\u7528\u66f4\u6539\uff0c\u9009\u62e9\u201cRestart\u201d\u91cd\u542fIDEA\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u5b89\u88c5Python\u63d2\u4ef6\u540e\uff0cIDEA\u5c06\u652f\u6301Python\u5f00\u53d1\uff0c\u5e76\u63d0\u4f9b\u4ee3\u7801\u9ad8\u4eae\u3001\u81ea\u52a8\u8865\u5168\u7b49\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u914d\u7f6ePython SDK<\/h3>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u63d2\u4ef6\u540e\uff0c\u9700\u8981\u914d\u7f6ePython SDK\uff0c\u8ba9IDEA\u8bc6\u522b\u5e76\u4f7f\u7528\u672c\u5730\u7684Python\u89e3\u91ca\u5668\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6253\u5f00\u9879\u76ee\u7ed3\u6784\u8bbe\u7f6e\uff1a<\/strong> \u8fdb\u5165IDEA\u7684\u4e3b\u754c\u9762\uff0c\u70b9\u51fb\u9876\u90e8\u83dc\u5355\u680f\u4e2d\u7684\u201cFile\u201d\uff0c\u7136\u540e\u9009\u62e9\u201cProject Structure\u201d\u6216\u8005\u4f7f\u7528\u5feb\u6377\u952e<code>Ctrl+Alt+Shift+S<\/code>\u6253\u5f00\u9879\u76ee\u7ed3\u6784\u7a97\u53e3\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u914d\u7f6eSDK\uff1a<\/strong> \u5728\u9879\u76ee\u7ed3\u6784\u7a97\u53e3\u4e2d\uff0c\u70b9\u51fb\u5de6\u4fa7\u7684\u201cProject\u201d\u9009\u9879\u5361\uff0c\u7136\u540e\u5728\u53f3\u4fa7\u7684\u201cProject SDK\u201d\u4e0b\u62c9\u83dc\u5355\u4e2d\u9009\u62e9\u201cAdd SDK\u201d\u3002\u9009\u62e9\u201cPython SDK\u201d\u9009\u9879\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9009\u62e9Python\u89e3\u91ca\u5668\uff1a<\/strong> \u5728\u5f39\u51fa\u7684\u7a97\u53e3\u4e2d\uff0cIDEA\u4f1a\u81ea\u52a8\u68c0\u6d4b\u672c\u5730\u5b89\u88c5\u7684Python\u7248\u672c\uff0c\u9009\u62e9\u5408\u9002\u7684Python\u89e3\u91ca\u5668\u3002\u5982\u679cIDEA\u672a\u80fd\u81ea\u52a8\u68c0\u6d4b\u5230\uff0c\u4f60\u53ef\u4ee5\u624b\u52a8\u6dfb\u52a0Python\u89e3\u91ca\u5668\u7684\u8def\u5f84\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u914d\u7f6e\u597dPython SDK\u540e\uff0cIDEA\u5c31\u80fd\u8bc6\u522bPython\u9879\u76ee\u7684\u73af\u5883\uff0c\u5e76\u6b63\u5e38\u6267\u884cPython\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u521b\u5efa\u5e76\u8fd0\u884cPython\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>\u5b8c\u6210Python SDK\u7684\u914d\u7f6e\u540e\uff0c\u5c31\u53ef\u4ee5\u521b\u5efaPython\u6587\u4ef6\u5e76\u8fd0\u884c\u4ee3\u7801\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521b\u5efaPython\u6587\u4ef6\uff1a<\/strong> \u5728\u9879\u76ee\u6587\u4ef6\u5939\u4e2d\u53f3\u952e\u70b9\u51fb\uff0c\u9009\u62e9\u201cNew\u201d&gt;\u201cPython File\u201d\uff0c\u4e3a\u6587\u4ef6\u547d\u540d\u5e76\u521b\u5efa\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7f16\u5199Python\u4ee3\u7801\uff1a<\/strong> \u5728\u65b0\u5efa\u7684Python\u6587\u4ef6\u4e2d\u8f93\u5165Python\u4ee3\u7801\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">print(&quot;Hello, World!&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884cPython\u4ee3\u7801\uff1a<\/strong> \u53f3\u952e\u70b9\u51fbPython\u6587\u4ef6\uff0c\u9009\u62e9\u201cRun &#39;\u6587\u4ef6\u540d&#39;\u201d\uff0c\u6216\u8005\u4f7f\u7528\u5feb\u6377\u952e<code>Shift+F10<\/code>\u8fd0\u884c\u4ee3\u7801\u3002IDEA\u4f1a\u5728\u63a7\u5236\u53f0\u4e2d\u663e\u793a\u7a0b\u5e8f\u7684\u8f93\u51fa\u7ed3\u679c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u56db\u3001\u8c03\u8bd5Python\u4ee3\u7801<\/h3>\n<\/p>\n<p><p>IDEA\u4e0d\u4ec5\u652f\u6301\u8fd0\u884cPython\u4ee3\u7801\uff0c\u8fd8\u63d0\u4f9b\u5f3a\u5927\u7684\u8c03\u8bd5\u529f\u80fd\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u67e5\u627e\u548c\u4fee\u590d\u4ee3\u7801\u4e2d\u7684\u95ee\u9898\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u8bbe\u7f6e\u65ad\u70b9\uff1a<\/strong> \u5728\u4ee3\u7801\u884c\u53f7\u5de6\u4fa7\u5355\u51fb\uff0c\u8bbe\u7f6e\u4e00\u4e2a\u65ad\u70b9\uff0c\u65ad\u70b9\u4f1a\u4ee5\u7ea2\u8272\u5706\u70b9\u7684\u5f62\u5f0f\u663e\u793a\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u542f\u52a8\u8c03\u8bd5\uff1a<\/strong> \u53f3\u952e\u70b9\u51fbPython\u6587\u4ef6\uff0c\u9009\u62e9\u201cDebug &#39;\u6587\u4ef6\u540d&#39;\u201d\uff0c\u6216\u8005\u4f7f\u7528\u5feb\u6377\u952e<code>Shift+F9<\/code>\u542f\u52a8\u8c03\u8bd5\u3002\u7a0b\u5e8f\u5c06\u5728\u65ad\u70b9\u5904\u6682\u505c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8c03\u8bd5\u63a7\u5236\uff1a<\/strong> \u4f7f\u7528\u8c03\u8bd5\u5de5\u5177\u680f\u4e2d\u7684\u6309\u94ae\uff0c\u53ef\u4ee5\u5355\u6b65\u6267\u884c\u4ee3\u7801\uff08Step Over\uff09\u3001\u8fdb\u5165\u51fd\u6570\uff08Step Into\uff09\u3001\u7ee7\u7eed\u6267\u884c\uff08Resume Program\uff09\u7b49\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u8c03\u8bd5\u529f\u80fd\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u66f4\u6df1\u5165\u5730\u4e86\u89e3\u7a0b\u5e8f\u7684\u6267\u884c\u8fc7\u7a0b\uff0c\u6709\u52a9\u4e8e\u53d1\u73b0\u5e76\u89e3\u51b3\u6f5c\u5728\u7684\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u4f7f\u7528Python\u865a\u62df\u73af\u5883<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u66f4\u597d\u5730\u7ba1\u7406\u9879\u76ee\u7684\u4f9d\u8d56\uff0c\u53ef\u4ee5\u5728IDEA\u4e2d\u4f7f\u7528Python\u7684\u865a\u62df\u73af\u5883\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521b\u5efa\u865a\u62df\u73af\u5883\uff1a<\/strong> \u5728\u7ec8\u7aef\u4e2d\u8fdb\u5165\u9879\u76ee\u76ee\u5f55\uff0c\u4f7f\u7528\u547d\u4ee4<code>python -m venv venv<\/code>\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>venv<\/code>\u7684\u865a\u62df\u73af\u5883\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6fc0\u6d3b\u865a\u62df\u73af\u5883\uff1a<\/strong> \u6839\u636e\u64cd\u4f5c\u7cfb\u7edf\u7684\u4e0d\u540c\uff0c\u6fc0\u6d3b\u547d\u4ee4\u6709\u6240\u4e0d\u540c\uff1a<\/p>\n<\/p>\n<ul>\n<li>Windows: <code>venv\\Scripts\\activate<\/code><\/li>\n<li>macOS\/Linux: <code>source venv\/bin\/activate<\/code><\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u914d\u7f6eIDEA\u4f7f\u7528\u865a\u62df\u73af\u5883\uff1a<\/strong> \u5728\u9879\u76ee\u7ed3\u6784\u7a97\u53e3\u4e2d\uff0c\u5c06Python SDK\u8bbe\u7f6e\u4e3a\u865a\u62df\u73af\u5883\u7684Python\u89e3\u91ca\u5668\u8def\u5f84\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4f7f\u7528\u865a\u62df\u73af\u5883\u53ef\u4ee5\u4f7f\u9879\u76ee\u7684\u4f9d\u8d56\u72ec\u7acb\u4e8e\u7cfb\u7edf\u73af\u5883\uff0c\u907f\u514d\u4f9d\u8d56\u51b2\u7a81\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u7ba1\u7406Python\u4f9d\u8d56<\/h3>\n<\/p>\n<p><p>\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u901a\u5e38\u9700\u8981\u5b89\u88c5\u7b2c\u4e09\u65b9\u5e93\u6765\u6269\u5c55Python\u7684\u529f\u80fd\u3002\u5728IDEA\u4e2d\uff0c\u4f9d\u8d56\u7ba1\u7406\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u6216IDEA\u7684\u56fe\u5f62\u754c\u9762\u5b8c\u6210\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528\u547d\u4ee4\u884c\u5b89\u88c5\u4f9d\u8d56\uff1a<\/strong> \u6fc0\u6d3b\u865a\u62df\u73af\u5883\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pip install \u5305\u540d<\/code>\u547d\u4ee4\u5b89\u88c5\u6240\u9700\u7684Python\u5305\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528IDEA\u5b89\u88c5\u4f9d\u8d56\uff1a<\/strong> \u5728\u5de6\u4fa7\u7684\u9879\u76ee\u89c6\u56fe\u4e2d\uff0c\u53f3\u952e\u70b9\u51fb\u201cExternal Libraries\u201d\uff0c\u9009\u62e9\u201cInstall Python Package\u201d\uff0c\u8f93\u5165\u8981\u5b89\u88c5\u7684\u5305\u540d\u5e76\u786e\u8ba4\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u5b89\u88c5\u4f9d\u8d56\u540e\uff0c\u53ef\u4ee5\u5728\u4ee3\u7801\u4e2d\u5bfc\u5165\u5e76\u4f7f\u7528\u8fd9\u4e9b\u7b2c\u4e09\u65b9\u5e93\u3002<\/p>\n<\/p>\n<p><h3>\u4e03\u3001\u914d\u7f6ePython\u89e3\u91ca\u5668\u9009\u9879<\/h3>\n<\/p>\n<p><p>IDEA\u5141\u8bb8\u5f00\u53d1\u8005\u4e3aPython\u89e3\u91ca\u5668\u914d\u7f6e\u989d\u5916\u7684\u9009\u9879\uff0c\u4ee5\u6ee1\u8db3\u4e0d\u540c\u9879\u76ee\u7684\u9700\u6c42\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6253\u5f00\u8fd0\u884c\/\u8c03\u8bd5\u914d\u7f6e\uff1a<\/strong> \u70b9\u51fb\u9876\u90e8\u5de5\u5177\u680f\u4e2d\u7684\u201cRun\u201d\uff0c\u9009\u62e9\u201cEdit Configurations\u201d\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8bbe\u7f6e\u89e3\u91ca\u5668\u9009\u9879\uff1a<\/strong> \u5728\u914d\u7f6e\u7a97\u53e3\u4e2d\uff0c\u9009\u62e9Python\u914d\u7f6e\uff0c\u7136\u540e\u5728\u201cInterpreter options\u201d\u8f93\u5165\u6846\u4e2d\u8f93\u5165\u6240\u9700\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u914d\u7f6e\u89e3\u91ca\u5668\u9009\u9879\uff0c\u53ef\u4ee5\u8c03\u6574Python\u89e3\u91ca\u5668\u7684\u884c\u4e3a\uff0c\u4f8b\u5982\u589e\u52a0\u5185\u5b58\u9650\u5236\u3001\u6539\u53d8\u7ebf\u7a0b\u6a21\u5f0f\u7b49\u3002<\/p>\n<\/p>\n<p><h3>\u516b\u3001\u4f7f\u7528Python\u63a7\u5236\u53f0<\/h3>\n<\/p>\n<p><p>IDEA\u63d0\u4f9b\u4e86Python\u63a7\u5236\u53f0\uff0c\u65b9\u4fbf\u5f00\u53d1\u8005\u8fdb\u884c\u4ea4\u4e92\u5f0f\u7f16\u7a0b\u548c\u8c03\u8bd5\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6253\u5f00Python\u63a7\u5236\u53f0\uff1a<\/strong> \u70b9\u51fb\u5e95\u90e8\u5de5\u5177\u680f\u4e2d\u7684\u201cPython Console\u201d\u56fe\u6807\uff0c\u542f\u52a8Python\u4ea4\u4e92\u5f0f\u63a7\u5236\u53f0\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6267\u884cPython\u547d\u4ee4\uff1a<\/strong> \u5728\u63a7\u5236\u53f0\u4e2d\u76f4\u63a5\u8f93\u5165Python\u547d\u4ee4\u5e76\u6267\u884c\uff0c\u5b9e\u65f6\u67e5\u770b\u7ed3\u679c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>Python\u63a7\u5236\u53f0\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u9002\u5408\u7528\u4e8e\u5feb\u901f\u6d4b\u8bd5\u4ee3\u7801\u7247\u6bb5\u3001\u8c03\u8bd5\u590d\u6742\u7684\u8868\u8fbe\u5f0f\u7b49\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5728IntelliJ IDEA\u4e2d\u9ad8\u6548\u5730\u8fdb\u884cPython\u5f00\u53d1\u3002IDEA\u7684\u5f3a\u5927\u529f\u80fd\u548c\u4e30\u5bcc\u7684\u63d2\u4ef6\u652f\u6301\uff0c\u4f7f\u5176\u6210\u4e3aPython\u5f00\u53d1\u8005\u7684\u7406\u60f3\u9009\u62e9\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728IDEA\u4e2d\u914d\u7f6ePython\u73af\u5883\uff1f<\/strong><br \/>\u5728IDEA\u4e2d\u8fd0\u884cPython\u4e4b\u524d\uff0c\u9700\u8981\u786e\u4fdd\u5b89\u88c5\u4e86Python\u63d2\u4ef6\u3002\u53ef\u4ee5\u5728IDEA\u7684\u8bbe\u7f6e\u4e2d\u627e\u5230\u201cPlugins\u201d\u9009\u9879\uff0c\u641c\u7d22\u5e76\u5b89\u88c5Python\u63d2\u4ef6\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u9879\u76ee\uff0cIDEA\u4f1a\u81ea\u52a8\u914d\u7f6ePython\u89e3\u91ca\u5668\u3002\u786e\u4fdd\u4f60\u5df2\u5728\u7cfb\u7edf\u4e2d\u5b89\u88c5Python\uff0c\u5e76\u5728\u9879\u76ee\u8bbe\u7f6e\u4e2d\u6307\u5411\u6b63\u786e\u7684Python\u8def\u5f84\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728IDEA\u4e2d\u521b\u5efa\u5e76\u8fd0\u884cPython\u6587\u4ef6\uff1f<\/strong><br \/>\u5728IDEA\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u9009\u62e9\u201cFile\u201d -&gt; \u201cNew\u201d -&gt; \u201cPython File\u201d\u6765\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u6587\u4ef6\u3002\u8f93\u5165\u6587\u4ef6\u540d\u540e\uff0c\u7f16\u8f91\u5668\u5c06\u6253\u5f00\u4e00\u4e2a\u65b0\u7684\u4ee3\u7801\u7a97\u53e3\u3002\u5728\u5b8c\u6210\u4ee3\u7801\u7f16\u5199\u540e\uff0c\u53ef\u4ee5\u53f3\u952e\u70b9\u51fb\u6587\u4ef6\u540d\uff0c\u9009\u62e9\u201cRun\u201d\u6765\u6267\u884c\u8be5Python\u811a\u672c\uff0cIDEA\u4f1a\u5728\u4e0b\u65b9\u7684\u63a7\u5236\u53f0\u4e2d\u663e\u793a\u8f93\u51fa\u7ed3\u679c\u3002<\/p>\n<p><strong>IDEA\u4e2d\u5982\u4f55\u8c03\u8bd5Python\u4ee3\u7801\uff1f<\/strong><br \/>\u8c03\u8bd5Python\u4ee3\u7801\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u65ad\u70b9\u5b9e\u73b0\u3002\u5728\u7f16\u8f91\u5668\u4e2d\uff0c\u70b9\u51fb\u884c\u53f7\u5de6\u4fa7\u7684\u7a7a\u767d\u533a\u57df\u4ee5\u8bbe\u7f6e\u65ad\u70b9\u3002\u7136\u540e\uff0c\u901a\u8fc7\u53f3\u952e\u70b9\u51fb\u6587\u4ef6\u540d\u9009\u62e9\u201cDebug\u201d\u6765\u542f\u52a8\u8c03\u8bd5\u6a21\u5f0f\u3002IDEA\u4f1a\u5728\u65ad\u70b9\u5904\u6682\u505c\u7a0b\u5e8f\u6267\u884c\uff0c\u5141\u8bb8\u4f60\u68c0\u67e5\u53d8\u91cf\u503c\u3001\u8c03\u7528\u6808\u7b49\u4fe1\u606f\uff0c\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7406\u89e3\u4ee3\u7801\u6267\u884c\u8fc7\u7a0b\u548c\u6392\u67e5\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728IDEA\u4e2d\u8fd0\u884cPython\u4ee3\u7801\u4e3b\u8981\u4f9d\u8d56\u4e8e\u63d2\u4ef6\u652f\u6301\u3001\u914d\u7f6ePython SDK\u3001\u521b\u5efa\u5e76\u8fd0\u884cPython\u6587\u4ef6\u3002\u9996\u5148 [&hellip;]","protected":false},"author":3,"featured_media":976548,"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\/976544"}],"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=976544"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/976544\/revisions"}],"predecessor-version":[{"id":976550,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/976544\/revisions\/976550"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/976548"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=976544"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=976544"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=976544"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}