{"id":980945,"date":"2024-12-27T06:58:27","date_gmt":"2024-12-26T22:58:27","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/980945.html"},"modified":"2024-12-27T06:58:29","modified_gmt":"2024-12-26T22:58:29","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e6%9f%a5%e7%9c%8b%e5%b8%ae%e5%8a%a9","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/980945.html","title":{"rendered":"python\u4e2d\u5982\u4f55\u67e5\u770b\u5e2e\u52a9"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24210115\/f329d0ca-985a-423a-b824-5fcac93d2883.webp\" alt=\"python\u4e2d\u5982\u4f55\u67e5\u770b\u5e2e\u52a9\" \/><\/p>\n<p><p> \u5728Python\u4e2d\u67e5\u770b\u5e2e\u52a9\u7684\u4e3b\u8981\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528\u5185\u7f6e\u7684<code>help()<\/code>\u51fd\u6570\u3001\u67e5\u770bPython\u5b98\u65b9\u6587\u6863\u3001\u4f7f\u7528IDE\u4e2d\u7684\u5de5\u5177\u3002<strong><code>help()<\/code>\u51fd\u6570\u3001\u5b98\u65b9\u6587\u6863\u3001IDE\u5de5\u5177<\/strong>\u662f\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\u3002\u8fd9\u91cc\uff0c\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Python\u4e2d\u7684<code>help()<\/code>\u51fd\u6570\u6765\u83b7\u53d6\u5e2e\u52a9\u3002<\/p>\n<\/p>\n<p><p><strong><code>help()<\/code>\u51fd\u6570<\/strong><\/p>\n<\/p>\n<p><p>Python\u63d0\u4f9b\u4e86\u4e00\u4e2a\u975e\u5e38\u5f3a\u5927\u7684\u5185\u7f6e\u51fd\u6570<code>help()<\/code>\uff0c\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5feb\u901f\u4e86\u89e3\u6a21\u5757\u3001\u7c7b\u3001\u51fd\u6570\u548c\u65b9\u6cd5\u7684\u4f7f\u7528\u65b9\u6cd5\u3002\u4f7f\u7528<code>help()<\/code>\u51fd\u6570\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u8981\u5728Python\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\u4e2d\u8f93\u5165<code>help(object)<\/code>\uff0c\u5176\u4e2d<code>object<\/code>\u53ef\u4ee5\u662f\u4efb\u4f55Python\u5bf9\u8c61\uff0c\u5982\u6a21\u5757\u3001\u7c7b\u3001\u51fd\u6570\u7b49\u3002\u6bd4\u5982\uff0c\u8981\u67e5\u770b<code>print<\/code>\u51fd\u6570\u7684\u5e2e\u52a9\u4fe1\u606f\uff0c\u53ef\u4ee5\u8f93\u5165<code>help(print)<\/code>\u3002<\/p>\n<\/p>\n<p><p><code>help()<\/code>\u51fd\u6570\u4f1a\u8fd4\u56de\u4e00\u4e2a\u5173\u4e8e\u8be5\u5bf9\u8c61\u7684\u8be6\u7ec6\u8bf4\u660e\uff0c\u5305\u62ec\u5b83\u7684\u529f\u80fd\u3001\u53c2\u6570\u53ca\u7528\u6cd5\u793a\u4f8b\u7b49\u3002\u8fd9\u5bf9\u4e8e\u521d\u5b66\u8005\u975e\u5e38\u6709\u7528\uff0c\u56e0\u4e3a\u5b83\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5feb\u901f\u7406\u89e3\u4e00\u4e2a\u5bf9\u8c61\u7684\u57fa\u672c\u7528\u6cd5\uff0c\u800c\u4e0d\u9700\u8981\u79bb\u5f00\u4f60\u7684\u7f16\u7a0b\u73af\u5883\u53bb\u67e5\u9605\u6587\u6863\u3002<\/p>\n<\/p>\n<p><p><code>help()<\/code>\u51fd\u6570\u7684\u53e6\u4e00\u4e2a\u6709\u7528\u7684\u529f\u80fd\u662f\u67e5\u770b\u6a21\u5757\u7684\u5e2e\u52a9\u4fe1\u606f\u3002\u5982\u679c\u4f60\u4e0d\u786e\u5b9a\u4e00\u4e2a\u6a21\u5757\u4e2d\u6709\u54ea\u4e9b\u529f\u80fd\uff0c\u53ef\u4ee5\u901a\u8fc7<code>help(module)<\/code>\u6765\u83b7\u53d6\u8be5\u6a21\u5757\u7684\u8be6\u7ec6\u4fe1\u606f\u3002\u8fd9\u5bf9\u4e86\u89e3\u4e00\u4e2a\u65b0\u7684\u6a21\u5757\u6216\u5e93\u975e\u5e38\u6709\u5e2e\u52a9\u3002<\/p>\n<\/p>\n<p><p>\u4e0b\u9762\u6211\u4eec\u5c06\u6df1\u5165\u63a2\u8ba8Python\u4e2d\u7684\u4e0d\u540c\u5e2e\u52a9\u83b7\u53d6\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528<code>help()<\/code>\u51fd\u6570<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u67e5\u770b\u51fd\u6570\u7684\u5e2e\u52a9\u4fe1\u606f<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528<code>help()<\/code>\u51fd\u6570\u53ef\u4ee5\u5feb\u901f\u67e5\u770bPython\u4e2d\u5185\u7f6e\u51fd\u6570\u6216\u81ea\u5b9a\u4e49\u51fd\u6570\u7684\u8be6\u7ec6\u4fe1\u606f\u3002\u901a\u8fc7\u4f20\u5165\u51fd\u6570\u540d\u4f5c\u4e3a\u53c2\u6570\uff0c<code>help()<\/code>\u51fd\u6570\u4f1a\u663e\u793a\u8be5\u51fd\u6570\u7684\u6587\u6863\u5b57\u7b26\u4e32\uff08docstring\uff09\uff0c\u5305\u62ec\u51fd\u6570\u7684\u529f\u80fd\u3001\u53c2\u6570\u53ca\u8fd4\u56de\u503c\u7b49\u4fe1\u606f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">help(len)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e0a\u8ff0\u4ee3\u7801\u4f1a\u663e\u793a<code>len<\/code>\u51fd\u6570\u7684\u5e2e\u52a9\u4fe1\u606f\uff0c\u89e3\u91ca\u5176\u529f\u80fd\u662f\u8fd4\u56de\u5bf9\u8c61\u7684\u957f\u5ea6\uff08\u5982\u5b57\u7b26\u4e32\u3001\u5217\u8868\u7b49\uff09\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u67e5\u770b\u6a21\u5757\u7684\u5e2e\u52a9\u4fe1\u606f<\/strong><\/p>\n<\/p>\n<p><p>\u5bf9\u4e8e\u5927\u578b\u7684Python\u6a21\u5757\uff0c\u5982<code>math<\/code>\u3001<code>os<\/code>\u7b49\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7<code>help()<\/code>\u51fd\u6570\u6765\u67e5\u770b\u6a21\u5757\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u5305\u62ec\u6a21\u5757\u4e2d\u5305\u542b\u7684\u6240\u6709\u7c7b\u3001\u51fd\u6570\u548c\u53d8\u91cf\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import math<\/p>\n<p>help(math)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u5c06\u5c55\u793a<code>math<\/code>\u6a21\u5757\u7684\u6240\u6709\u5185\u5bb9\uff0c\u5305\u62ec\u6bcf\u4e2a\u51fd\u6570\u7684\u8be6\u7ec6\u8bf4\u660e\u548c\u7528\u6cd5\u793a\u4f8b\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u67e5\u770b\u7c7b\u7684\u5e2e\u52a9\u4fe1\u606f<\/strong><\/p>\n<\/p>\n<p><p>\u5f53\u4f60\u9700\u8981\u4e86\u89e3\u67d0\u4e2a\u7c7b\u7684\u8be6\u7ec6\u4fe1\u606f\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>help()<\/code>\u51fd\u6570\u6765\u67e5\u770b\u7c7b\u7684\u6587\u6863\u5b57\u7b26\u4e32\u3002\u8fd9\u5305\u62ec\u7c7b\u7684\u6784\u9020\u51fd\u6570\u3001\u5c5e\u6027\u548c\u65b9\u6cd5\u7b49\u4fe1\u606f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">class MyClass:<\/p>\n<p>    &quot;&quot;&quot;This is a sample class.&quot;&quot;&quot;<\/p>\n<p>    def __init__(self, value):<\/p>\n<p>        self.value = value<\/p>\n<p>    def display(self):<\/p>\n<p>        &quot;&quot;&quot;Display the value.&quot;&quot;&quot;<\/p>\n<p>        print(self.value)<\/p>\n<p>help(MyClass)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u4f1a\u8f93\u51fa<code>MyClass<\/code>\u7c7b\u7684\u6587\u6863\u5b57\u7b26\u4e32\uff0c\u5305\u62ec\u7c7b\u7684\u63cf\u8ff0\u3001\u6784\u9020\u51fd\u6570\u548c\u65b9\u6cd5\u7b49\u4fe1\u606f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u4f7f\u7528Python\u5b98\u65b9\u6587\u6863<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5728\u7ebf\u6587\u6863<\/strong><\/p>\n<\/p>\n<p><p>Python\u5b98\u65b9\u63d0\u4f9b\u4e86\u8be6\u7ec6\u7684\u5728\u7ebf\u6587\u6863\uff0c\u6db5\u76d6\u4e86Python\u8bed\u8a00\u7684\u65b9\u65b9\u9762\u9762\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u8bbf\u95ee<a href=\"https:\/\/docs.python.org\/3\/\">Python\u5b98\u65b9\u6587\u6863<\/a>\u6765\u67e5\u627e\u4f60\u9700\u8981\u7684\u5e2e\u52a9\u4fe1\u606f\u3002\u5728\u7ebf\u6587\u6863\u4e0d\u4ec5\u63d0\u4f9b\u4e86\u8bed\u8a00\u53c2\u8003\uff0c\u8fd8\u5305\u62ec\u4e86\u6807\u51c6\u5e93\u3001\u6559\u7a0b\u548c\u6307\u5357\u7b49\u5185\u5bb9\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u79bb\u7ebf\u6587\u6863<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u6ca1\u6709\u7f51\u7edc\u8fde\u63a5\uff0c\u4e5f\u53ef\u4ee5\u4e0b\u8f7dPython\u7684\u79bb\u7ebf\u6587\u6863\u3002\u5728Python\u5b98\u7f51\u4e0a\uff0c\u4f60\u53ef\u4ee5\u627e\u5230\u9002\u7528\u4e8e\u4e0d\u540c\u7248\u672c\u7684\u6587\u6863\u538b\u7f29\u5305\uff0c\u4e0b\u8f7d\u540e\u89e3\u538b\u5373\u53ef\u5728\u672c\u5730\u67e5\u770b\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6587\u6863\u5bfc\u822a<\/strong><\/p>\n<\/p>\n<p><p>Python\u5b98\u65b9\u6587\u6863\u4e2d\u5305\u542b\u4e86\u7d22\u5f15\u548c\u641c\u7d22\u529f\u80fd\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e9b\u5de5\u5177\u5feb\u901f\u627e\u5230\u9700\u8981\u7684\u5e2e\u52a9\u4fe1\u606f\u3002\u6b64\u5916\uff0c\u6587\u6863\u8fd8\u63d0\u4f9b\u4e86\u5927\u91cf\u7684\u793a\u4f8b\u4ee3\u7801\u548c\u8be6\u7ec6\u7684\u8bf4\u660e\uff0c\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7406\u89e3Python\u7684\u5404\u4e2a\u529f\u80fd\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u4f7f\u7528IDE\u4e2d\u7684\u5de5\u5177<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>PyCharm<\/strong><\/p>\n<\/p>\n<p><p>PyCharm\u662f\u4e00\u6b3e\u529f\u80fd\u5f3a\u5927\u7684Python\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff0c\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u5e2e\u52a9\u5de5\u5177\u3002\u901a\u8fc7PyCharm\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u67e5\u770b\u51fd\u6570\u3001\u7c7b\u548c\u6a21\u5757\u7684\u6587\u6863\u5b57\u7b26\u4e32\u3002\u53ea\u9700\u5c06\u5149\u6807\u653e\u5728\u9700\u8981\u67e5\u770b\u7684\u5bf9\u8c61\u4e0a\uff0c\u7136\u540e\u6309\u4e0b\u5feb\u6377\u952e\uff08\u901a\u5e38\u662f<code>Ctrl+Q<\/code>\uff09\uff0c\u5373\u53ef\u5f39\u51fa\u4e00\u4e2a\u5e2e\u52a9\u7a97\u53e3\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>VS Code<\/strong><\/p>\n<\/p>\n<p><p>Visual Studio Code\uff08VS Code\uff09\u4e5f\u662f\u4e00\u6b3e\u6d41\u884c\u7684\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u652f\u6301Python\u5f00\u53d1\u3002\u5b89\u88c5Python\u6269\u5c55\u540e\uff0cVS Code\u53ef\u4ee5\u63d0\u4f9b\u7c7b\u4f3c\u7684\u5e2e\u52a9\u529f\u80fd\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u60ac\u505c\u6216\u5feb\u6377\u952e\u67e5\u770b\u6587\u6863\u5b57\u7b26\u4e32\u548c\u7c7b\u578b\u63d0\u793a\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5176\u4ed6IDE<\/strong><\/p>\n<\/p>\n<p><p>\u5176\u4ed6\u6d41\u884c\u7684IDE\uff0c\u5982Spyder\u3001Jupyter Notebook\u7b49\uff0c\u4e5f\u63d0\u4f9b\u4e86\u7c7b\u4f3c\u7684\u5e2e\u52a9\u5de5\u5177\u3002\u6839\u636e\u4f60\u7684\u4f7f\u7528\u4e60\u60ef\u9009\u62e9\u5408\u9002\u7684IDE\uff0c\u53ef\u4ee5\u63d0\u9ad8\u4f60\u7684\u7f16\u7a0b\u6548\u7387\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u4f7f\u7528\u7b2c\u4e09\u65b9\u8d44\u6e90<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Stack Overflow<\/strong><\/p>\n<\/p>\n<p><p>Stack Overflow\u662f\u4e00\u4e2a\u5927\u578b\u7684\u7a0b\u5e8f\u5458\u793e\u533a\uff0c\u6db5\u76d6\u4e86\u5927\u91cf\u7684Python\u95ee\u9898\u548c\u89e3\u7b54\u3002\u901a\u8fc7\u641c\u7d22\u76f8\u5173\u95ee\u9898\uff0c\u4f60\u53ef\u4ee5\u627e\u5230\u5176\u4ed6\u5f00\u53d1\u8005\u7684\u7ecf\u9a8c\u548c\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Python\u793e\u533a<\/strong><\/p>\n<\/p>\n<p><p>\u52a0\u5165Python\u793e\u533a\uff0c\u5982Python\u8bba\u575b\u3001\u90ae\u4ef6\u5217\u8868\u3001\u793e\u4ea4\u5a92\u4f53\u7fa4\u7ec4\u7b49\uff0c\u53ef\u4ee5\u5e2e\u52a9\u4f60\u83b7\u53d6\u66f4\u591a\u7684\u5e2e\u52a9\u548c\u652f\u6301\u3002\u5728\u8fd9\u4e9b\u793e\u533a\u4e2d\uff0c\u4f60\u53ef\u4ee5\u5411\u5176\u4ed6\u5f00\u53d1\u8005\u63d0\u95ee\uff0c\u5206\u4eab\u7ecf\u9a8c\u548c\u8d44\u6e90\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5728\u7ebf\u6559\u7a0b\u548c\u535a\u5ba2<\/strong><\/p>\n<\/p>\n<p><p>\u4e92\u8054\u7f51\u4e0a\u6709\u5927\u91cf\u7684Python\u6559\u7a0b\u548c\u6280\u672f\u535a\u5ba2\uff0c\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u5b66\u4e60\u8d44\u6e90\u3002\u901a\u8fc7\u641c\u7d22\u5f15\u64ce\uff0c\u4f60\u53ef\u4ee5\u627e\u5230\u8be6\u7ec6\u7684\u6559\u7a0b\u548c\u4f7f\u7528\u793a\u4f8b\uff0c\u4ee5\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u638c\u63e1Python\u7f16\u7a0b\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u603b\u7ed3\u6765\u8bf4\uff0cPython\u63d0\u4f9b\u4e86\u591a\u79cd\u83b7\u53d6\u5e2e\u52a9\u7684\u65b9\u6cd5\uff0c\u5305\u62ec\u5185\u7f6e\u7684<code>help()<\/code>\u51fd\u6570\u3001\u5b98\u65b9\u6587\u6863\u3001IDE\u5de5\u5177\u53ca\u7b2c\u4e09\u65b9\u8d44\u6e90\u3002\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u4e0d\u4ec5\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5feb\u901f\u89e3\u51b3\u95ee\u9898\uff0c\u8fd8\u80fd\u63d0\u9ad8\u4f60\u7684\u7f16\u7a0b\u6280\u80fd\u3002\u65e0\u8bba\u4f60\u662f\u521d\u5b66\u8005\u8fd8\u662f\u7ecf\u9a8c\u4e30\u5bcc\u7684\u5f00\u53d1\u8005\uff0c\u5584\u7528\u8fd9\u4e9b\u8d44\u6e90\u90fd\u662f\u975e\u5e38\u91cd\u8981\u7684\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u83b7\u53d6\u51fd\u6570\u6216\u6a21\u5757\u7684\u5e2e\u52a9\u4fe1\u606f\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u83b7\u53d6\u51fd\u6570\u6216\u6a21\u5757\u7684\u5e2e\u52a9\u4fe1\u606f\u975e\u5e38\u7b80\u5355\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u7684<code>help()<\/code>\u51fd\u6570\u3002\u53ea\u9700\u5728Python\u89e3\u91ca\u5668\u4e2d\u8f93\u5165<code>help(\u6a21\u5757\u540d)<\/code>\u6216<code>help(\u51fd\u6570\u540d)<\/code>\uff0c\u7cfb\u7edf\u5c06\u8fd4\u56de\u8be5\u6a21\u5757\u6216\u51fd\u6570\u7684\u8be6\u7ec6\u6587\u6863\u3002\u6b64\u5916\uff0c\u4f7f\u7528<code>?<\/code>\u7b26\u53f7\u4e5f\u80fd\u5feb\u901f\u67e5\u770b\uff0c\u4f8b\u5982\u5728Jupyter Notebook\u4e2d\u8f93\u5165<code>\u51fd\u6570\u540d?<\/code>\u5373\u53ef\u3002<\/p>\n<p><strong>\u662f\u5426\u53ef\u4ee5\u67e5\u770b\u81ea\u5b9a\u4e49\u51fd\u6570\u7684\u5e2e\u52a9\u6587\u6863\uff1f<\/strong><br \/>\u5f53\u7136\u53ef\u4ee5\uff01\u4f60\u53ef\u4ee5\u4e3a\u81ea\u5b9a\u4e49\u51fd\u6570\u7f16\u5199\u6587\u6863\u5b57\u7b26\u4e32\uff08docstring\uff09\uff0c\u5e76\u4f7f\u7528<code>help()<\/code>\u51fd\u6570\u67e5\u770b\u5b83\u4eec\u3002\u53ea\u9700\u5728\u51fd\u6570\u5b9a\u4e49\u7684\u7b2c\u4e00\u884c\u4f7f\u7528\u4e09\u91cd\u5f15\u53f7\u5305\u542b\u4f60\u7684\u8bf4\u660e\uff0c\u8c03\u7528<code>help(\u4f60\u7684\u51fd\u6570\u540d)<\/code>\u65f6\uff0c\u8fd9\u4e9b\u8bf4\u660e\u5c06\u4f5c\u4e3a\u5e2e\u52a9\u4fe1\u606f\u663e\u793a\u51fa\u6765\uff0c\u5e2e\u52a9\u4ed6\u4eba\u7406\u89e3\u51fd\u6570\u7684\u529f\u80fd\u548c\u7528\u6cd5\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u67e5\u770b\u5e93\u7684\u8be6\u7ec6\u6587\u6863\uff1f<\/strong><br \/>\u5bf9\u4e8e\u7b2c\u4e09\u65b9\u5e93\uff0c\u53ef\u4ee5\u8bbf\u95ee\u5176\u5b98\u65b9\u7f51\u7ad9\u6216GitHub\u9875\u9762\uff0c\u901a\u5e38\u4f1a\u6709\u8be6\u7ec6\u7684\u4f7f\u7528\u6587\u6863\u548c\u793a\u4f8b\u4ee3\u7801\u3002\u6b64\u5916\uff0cPyPI\uff08Python Package Index\uff09\u4e5f\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u8d44\u6e90\uff0c\u63d0\u4f9b\u4e86\u8bb8\u591a\u5e93\u7684\u57fa\u672c\u4fe1\u606f\u548c\u6587\u6863\u94fe\u63a5\u3002\u4f7f\u7528<code>pip show \u5e93\u540d<\/code>\u547d\u4ee4\u4e5f\u53ef\u4ee5\u67e5\u770b\u5df2\u5b89\u88c5\u5e93\u7684\u4e00\u4e9b\u57fa\u672c\u4fe1\u606f\uff0c\u5305\u62ec\u5176\u6587\u6863\u94fe\u63a5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u67e5\u770b\u5e2e\u52a9\u7684\u4e3b\u8981\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528\u5185\u7f6e\u7684help()\u51fd\u6570\u3001\u67e5\u770bPython\u5b98\u65b9\u6587\u6863\u3001\u4f7f\u7528IDE\u4e2d\u7684\u5de5\u5177 [&hellip;]","protected":false},"author":3,"featured_media":980948,"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\/980945"}],"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=980945"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/980945\/revisions"}],"predecessor-version":[{"id":980950,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/980945\/revisions\/980950"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/980948"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=980945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=980945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=980945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}