{"id":1153148,"date":"2025-01-13T17:35:13","date_gmt":"2025-01-13T09:35:13","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1153148.html"},"modified":"2025-01-13T17:35:16","modified_gmt":"2025-01-13T09:35:16","slug":"%e5%a6%82%e4%bd%95%e6%9f%a5%e6%89%bepython%e4%b8%ad%e5%87%bd%e6%95%b0","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1153148.html","title":{"rendered":"\u5982\u4f55\u67e5\u627epython\u4e2d\u51fd\u6570"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25182946\/d6af9a20-f24b-413f-8477-2d011668267e.webp\" alt=\"\u5982\u4f55\u67e5\u627epython\u4e2d\u51fd\u6570\" \/><\/p>\n<p><p> <strong>\u8981\u5728Python\u4e2d\u67e5\u627e\u51fd\u6570\uff0c\u53ef\u4ee5\u4f7f\u7528\u5728\u7ebf\u6587\u6863\u3001\u5185\u7f6e\u51fd\u6570help()\u3001dir()\u3001\u4ee5\u53ca\u4ee3\u7801\u7f16\u8f91\u5668\u7684\u81ea\u52a8\u8865\u5168\u529f\u80fd\u3001\u4f7f\u7528\u7b2c\u4e09\u65b9\u6587\u6863\u5de5\u5177\u3001\u67e5\u770b\u6e90\u4ee3\u7801\u3002<\/strong> \u5176\u4e2d\uff0c\u5728\u7ebf\u6587\u6863\u662f\u6700\u8be6\u7ec6\u7684\u8d44\u6e90\uff0c\u51e0\u4e4e\u6db5\u76d6\u4e86Python\u6240\u6709\u6807\u51c6\u5e93\u548c\u7b2c\u4e09\u65b9\u5e93\u7684\u4f7f\u7528\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p><strong>\u5728\u7ebf\u6587\u6863\uff08\u8be6\u7ec6\u63cf\u8ff0\uff09<\/strong>\uff1a<\/p>\n<p>Python\u7684\u5b98\u65b9\u6587\u6863\u662f\u67e5\u627ePython\u51fd\u6570\u7684\u6700\u6743\u5a01\u6765\u6e90\u3002\u5b98\u65b9\u6587\u6863\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u6bcf\u4e2a\u6a21\u5757\u3001\u7c7b\u548c\u51fd\u6570\u7684\u529f\u80fd\u3001\u7528\u6cd5\u548c\u793a\u4f8b\u3002\u6b64\u5916\uff0c\u5b83\u8fd8\u63d0\u4f9b\u4e86\u641c\u7d22\u529f\u80fd\uff0c\u53ef\u4ee5\u5feb\u901f\u67e5\u627e\u4f60\u9700\u8981\u7684\u51fd\u6570\u3002\u4f60\u53ef\u4ee5\u8bbf\u95ee<a href=\"https:\/\/docs.python.org\/3\/\">Python\u5b98\u65b9\u6587\u6863<\/a>\u6765\u8fdb\u884c\u67e5\u627e\u3002<\/p>\n<\/p>\n<hr>\n<p><h2>\u4e00\u3001\u5728\u7ebf\u6587\u6863<\/h2>\n<\/p>\n<p><p>\u5728\u7ebf\u6587\u6863\u662f\u6700\u5e38\u7528\u548c\u6700\u53ef\u9760\u7684\u8d44\u6e90\u4e4b\u4e00\u3002Python\u5b98\u65b9\u6587\u6863\u51e0\u4e4e\u6db5\u76d6\u4e86\u6240\u6709\u6807\u51c6\u5e93\u548c\u7b2c\u4e09\u65b9\u5e93\u7684\u4f7f\u7528\u65b9\u6cd5\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u67e5\u627ePython\u4e2d\u51fd\u6570\u7684\u8be6\u7ec6\u4fe1\u606f\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u8bbf\u95ee\u5b98\u65b9\u6587\u6863<\/strong>\uff1a<\/p>\n<p>Python\u7684\u5b98\u65b9\u6587\u6863\u7f51\u7ad9\u662f <a href=\"https:\/\/docs.python.org\/3\/%E3%80%82%E4%BD%A0%E5%8F%AF%E4%BB%A5%E5%9C%A8%E8%BF%99%E4%B8%AA%E7%BD%91%E7%AB%99%E4%B8%8A%E6%89%BE%E5%88%B0%E6%89%80%E6%9C%89%E6%A0%87%E5%87%86%E5%BA%93%E7%9A%84%E8%AF%A6%E7%BB%86%E4%BF%A1%E6%81%AF%EF%BC%8C%E5%8C%85%E6%8B%AC%E6%AF%8F%E4%B8%AA%E6%A8%A1%E5%9D%97%E3%80%81%E7%B1%BB%E5%92%8C%E5%87%BD%E6%95%B0%E7%9A%84%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95%E3%80%81%E5%8F%82%E6%95%B0%E8%AF%B4%E6%98%8E%E5%92%8C%E7%A4%BA%E4%BE%8B%E4%BB%A3%E7%A0%81%E3%80%82\">https:\/\/docs.python.org\/3\/\u3002\u4f60\u53ef\u4ee5\u5728\u8fd9\u4e2a\u7f51\u7ad9\u4e0a\u627e\u5230\u6240\u6709\u6807\u51c6\u5e93\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u5305\u62ec\u6bcf\u4e2a\u6a21\u5757\u3001\u7c7b\u548c\u51fd\u6570\u7684\u4f7f\u7528\u65b9\u6cd5\u3001\u53c2\u6570\u8bf4\u660e\u548c\u793a\u4f8b\u4ee3\u7801\u3002<\/a><\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528\u641c\u7d22\u529f\u80fd<\/strong>\uff1a<\/p>\n<p>\u5b98\u65b9\u6587\u6863\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u641c\u7d22\u529f\u80fd\uff0c\u4f60\u53ef\u4ee5\u5728\u641c\u7d22\u6846\u4e2d\u8f93\u5165\u4f60\u8981\u67e5\u627e\u7684\u51fd\u6570\u540d\u79f0\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u60f3\u67e5\u627e<code>sorted()<\/code>\u51fd\u6570\u7684\u7528\u6cd5\uff0c\u53ea\u9700\u5728\u641c\u7d22\u6846\u4e2d\u8f93\u5165\u201csorted\u201d\uff0c\u7cfb\u7edf\u4f1a\u8fd4\u56de\u76f8\u5173\u7684\u7ed3\u679c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6d4f\u89c8\u6a21\u5757\u6587\u6863<\/strong>\uff1a<\/p>\n<p>\u5982\u679c\u4f60\u77e5\u9053\u51fd\u6570\u6240\u5c5e\u7684\u6a21\u5757\uff0c\u53ef\u4ee5\u76f4\u63a5\u5bfc\u822a\u5230\u8be5\u6a21\u5757\u7684\u6587\u6863\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u60f3\u67e5\u627e<code>math<\/code>\u6a21\u5757\u4e2d\u7684\u51fd\u6570\uff0c\u53ef\u4ee5\u76f4\u63a5\u8bbf\u95ee <a href=\"https:\/\/docs.python.org\/3\/library\/math.html%E3%80%82\">https:\/\/docs.python.org\/3\/library\/math.html\u3002<\/a><\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u67e5\u770b\u8be6\u7ec6\u8bf4\u660e<\/strong>\uff1a<\/p>\n<p>\u6bcf\u4e2a\u51fd\u6570\u7684\u6587\u6863\u901a\u5e38\u5305\u62ec\u51fd\u6570\u7b7e\u540d\u3001\u53c2\u6570\u8bf4\u660e\u3001\u8fd4\u56de\u503c\u3001\u793a\u4f8b\u4ee3\u7801\u548c\u6ce8\u610f\u4e8b\u9879\u7b49\u4fe1\u606f\u3002\u4f8b\u5982\uff0c<code>sorted()<\/code>\u51fd\u6570\u7684\u6587\u6863\u4f1a\u8be6\u7ec6\u8bf4\u660e\u5b83\u7684\u53c2\u6570<code>key<\/code>\u548c<code>reverse<\/code>\u7684\u7528\u6cd5\uff0c\u5e76\u63d0\u4f9b\u4e00\u4e9b\u793a\u4f8b\u4ee3\u7801\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u5728\u7ebf\u6587\u6863\u4e0d\u4ec5\u9002\u5408\u67e5\u627e\u51fd\u6570\u7684\u7528\u6cd5\uff0c\u8fd8\u9002\u5408\u6df1\u5165\u4e86\u89e3Python\u7684\u8bbe\u8ba1\u54f2\u5b66\u3001\u6807\u51c6\u5e93\u7684\u8bbe\u8ba1\u539f\u5219\u548c\u4e00\u4e9b\u5e38\u89c1\u7684\u7f16\u7a0b\u6a21\u5f0f\u3002<\/p>\n<\/p>\n<p><h2>\u4e8c\u3001\u5185\u7f6e\u51fd\u6570help()<\/h2>\n<\/p>\n<p><p>Python\u5185\u7f6e\u7684<code>help()<\/code>\u51fd\u6570\u662f\u4e00\u4e2a\u975e\u5e38\u65b9\u4fbf\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u6765\u67e5\u627e\u51fd\u6570\u3001\u7c7b\u548c\u6a21\u5757\u7684\u6587\u6863\u5b57\u7b26\u4e32\u3002\u4f7f\u7528\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u67e5\u627e\u51fd\u6570\u7684\u6587\u6863<\/strong>\uff1a<\/p>\n<p>\u76f4\u63a5\u5728Python\u89e3\u91ca\u5668\u4e2d\u8f93\u5165<code>help(\u51fd\u6570\u540d)<\/code>\uff0c\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">help(sorted)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4f1a\u663e\u793a<code>sorted()<\/code>\u51fd\u6570\u7684\u8be6\u7ec6\u6587\u6863\uff0c\u5305\u62ec\u5b83\u7684\u53c2\u6570\u8bf4\u660e\u548c\u793a\u4f8b\u4ee3\u7801\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u67e5\u627e\u6a21\u5757\u7684\u6587\u6863<\/strong>\uff1a<\/p>\n<p>\u4e5f\u53ef\u4ee5\u67e5\u627e\u6574\u4e2a\u6a21\u5757\u7684\u6587\u6863\uff0c\u4f8b\u5982\uff1a<\/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\u4f1a\u663e\u793a<code>math<\/code>\u6a21\u5757\u7684\u8be6\u7ec6\u6587\u6863\uff0c\u5305\u62ec\u6240\u6709\u51fd\u6570\u548c\u5e38\u91cf\u7684\u8bf4\u660e\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u67e5\u627e\u7c7b\u7684\u6587\u6863<\/strong>\uff1a<\/p>\n<p>\u7c7b\u4f3c\u5730\uff0c\u53ef\u4ee5\u67e5\u627e\u7c7b\u7684\u6587\u6863\uff0c\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">class MyClass:<\/p>\n<p>    &quot;&quot;&quot;This is a simple class example.&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\u4f1a\u663e\u793a<code>MyClass<\/code>\u7c7b\u7684\u6587\u6863\u5b57\u7b26\u4e32\uff0c\u5305\u62ec\u7c7b\u7684\u8bf4\u660e\u548c\u65b9\u6cd5\u7684\u8bf4\u660e\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4f7f\u7528<code>help()<\/code>\u51fd\u6570\u7684\u4f18\u52bf\u5728\u4e8e\uff0c\u5b83\u53ef\u4ee5\u76f4\u63a5\u5728\u4ee3\u7801\u73af\u5883\u4e2d\u4f7f\u7528\uff0c\u65e0\u9700\u6253\u5f00\u6d4f\u89c8\u5668\u67e5\u627e\u6587\u6863\uff0c\u975e\u5e38\u65b9\u4fbf\u3002<\/p>\n<\/p>\n<p><h2>\u4e09\u3001dir()\u51fd\u6570<\/h2>\n<\/p>\n<p><p>Python\u5185\u7f6e\u7684<code>dir()<\/code>\u51fd\u6570\u53ef\u4ee5\u7528\u6765\u67e5\u627e\u6a21\u5757\u3001\u7c7b\u6216\u5bf9\u8c61\u4e2d\u7684\u6240\u6709\u5c5e\u6027\u548c\u65b9\u6cd5\u3002\u8fd9\u5bf9\u4e8e\u5feb\u901f\u4e86\u89e3\u4e00\u4e2a\u6a21\u5757\u6216\u7c7b\u7684\u529f\u80fd\u975e\u5e38\u6709\u5e2e\u52a9\u3002\u4f7f\u7528\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u67e5\u627e\u6a21\u5757\u4e2d\u7684\u51fd\u6570<\/strong>\uff1a<\/p>\n<p>\u4f8b\u5982\uff0c\u8981\u67e5\u627e<code>math<\/code>\u6a21\u5757\u4e2d\u7684\u6240\u6709\u51fd\u6570\uff0c\u53ef\u4ee5\u4f7f\u7528\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import math<\/p>\n<p>print(dir(math))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4f1a\u8f93\u51fa<code>math<\/code>\u6a21\u5757\u4e2d\u7684\u6240\u6709\u5c5e\u6027\u548c\u65b9\u6cd5\uff0c\u5305\u62ec\u6240\u6709\u7684\u51fd\u6570\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u67e5\u627e\u7c7b\u4e2d\u7684\u65b9\u6cd5<\/strong>\uff1a<\/p>\n<p>\u4f8b\u5982\uff0c\u8981\u67e5\u627e\u4e00\u4e2a\u7c7b\u4e2d\u7684\u6240\u6709\u65b9\u6cd5\uff0c\u53ef\u4ee5\u4f7f\u7528\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">class MyClass:<\/p>\n<p>    def method1(self):<\/p>\n<p>        pass<\/p>\n<p>    def method2(self):<\/p>\n<p>        pass<\/p>\n<p>print(dir(MyClass))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4f1a\u8f93\u51fa<code>MyClass<\/code>\u7c7b\u4e2d\u7684\u6240\u6709\u5c5e\u6027\u548c\u65b9\u6cd5\uff0c\u5305\u62ec<code>method1<\/code>\u548c<code>method2<\/code>\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u67e5\u627e\u5bf9\u8c61\u4e2d\u7684\u5c5e\u6027\u548c\u65b9\u6cd5<\/strong>\uff1a<\/p>\n<p>\u4f8b\u5982\uff0c\u8981\u67e5\u627e\u4e00\u4e2a\u5bf9\u8c61\u4e2d\u7684\u6240\u6709\u5c5e\u6027\u548c\u65b9\u6cd5\uff0c\u53ef\u4ee5\u4f7f\u7528\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">obj = MyClass()<\/p>\n<p>print(dir(obj))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4f1a\u8f93\u51fa<code>obj<\/code>\u5bf9\u8c61\u4e2d\u7684\u6240\u6709\u5c5e\u6027\u548c\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4f7f\u7528<code>dir()<\/code>\u51fd\u6570\u7684\u4f18\u52bf\u5728\u4e8e\uff0c\u5b83\u53ef\u4ee5\u5feb\u901f\u5217\u51fa\u4e00\u4e2a\u6a21\u5757\u3001\u7c7b\u6216\u5bf9\u8c61\u7684\u6240\u6709\u529f\u80fd\uff0c\u5e2e\u52a9\u4f60\u5feb\u901f\u4e86\u89e3\u5b83\u7684\u7ed3\u6784\u548c\u7528\u9014\u3002<\/p>\n<\/p>\n<p><h2>\u56db\u3001\u4ee3\u7801\u7f16\u8f91\u5668\u7684\u81ea\u52a8\u8865\u5168\u529f\u80fd<\/h2>\n<\/p>\n<p><p>\u73b0\u4ee3\u4ee3\u7801\u7f16\u8f91\u5668\u901a\u5e38\u63d0\u4f9b\u5f3a\u5927\u7684\u81ea\u52a8\u8865\u5168\u529f\u80fd\uff0c\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5feb\u901f\u67e5\u627e\u51fd\u6570\u548c\u65b9\u6cd5\u3002\u8fd9\u4e9b\u7f16\u8f91\u5668\u4f1a\u5728\u4f60\u8f93\u5165\u4ee3\u7801\u65f6\u81ea\u52a8\u63d0\u793a\u53ef\u80fd\u7684\u51fd\u6570\u548c\u65b9\u6cd5\uff0c\u5e76\u663e\u793a\u5b83\u4eec\u7684\u6587\u6863\u5b57\u7b26\u4e32\u3002\u5e38\u7528\u7684\u4ee3\u7801\u7f16\u8f91\u5668\u5305\u62ec\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Visual Studio Code (VSCode)<\/strong>\uff1a<\/p>\n<p>VSCode\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684Python\u652f\u6301\uff0c\u5305\u62ec\u81ea\u52a8\u8865\u5168\u3001\u4ee3\u7801\u63d0\u793a\u548c\u6587\u6863\u67e5\u770b\u529f\u80fd\u3002\u5b89\u88c5Python\u63d2\u4ef6\u540e\uff0cVSCode\u4f1a\u81ea\u52a8\u68c0\u6d4b\u4f60\u8f93\u5165\u7684\u4ee3\u7801\uff0c\u5e76\u63d0\u4f9b\u76f8\u5173\u7684\u51fd\u6570\u548c\u65b9\u6cd5\u63d0\u793a\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>PyCharm<\/strong>\uff1a<\/p>\n<p>PyCharm\u662f\u4e00\u4e2a\u4e13\u4e1a\u7684Python\u5f00\u53d1\u73af\u5883\uff0c\u63d0\u4f9b\u4e86\u975e\u5e38\u5f3a\u5927\u7684\u4ee3\u7801\u8865\u5168\u548c\u6587\u6863\u67e5\u770b\u529f\u80fd\u3002PyCharm\u4f1a\u5728\u4f60\u8f93\u5165\u4ee3\u7801\u65f6\u81ea\u52a8\u63d0\u793a\u76f8\u5173\u7684\u51fd\u6570\u548c\u65b9\u6cd5\uff0c\u5e76\u663e\u793a\u5b83\u4eec\u7684\u6587\u6863\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Jupyter Notebook<\/strong>\uff1a<\/p>\n<p>Jupyter Notebook\u662f\u4e00\u4e2a\u975e\u5e38\u6d41\u884c\u7684\u4ea4\u4e92\u5f0f\u5f00\u53d1\u73af\u5883\uff0c\u5e7f\u6cdb\u7528\u4e8e\u6570\u636e\u79d1\u5b66\u548c<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u3002Jupyter Notebook\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u4ee3\u7801\u8865\u5168\u548c\u6587\u6863\u67e5\u770b\u529f\u80fd\uff0c\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5feb\u901f\u67e5\u627e\u548c\u4f7f\u7528\u51fd\u6570\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Sublime Text<\/strong>\uff1a<\/p>\n<p>Sublime Text\u662f\u4e00\u6b3e\u8f7b\u91cf\u7ea7\u7684\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u63d0\u4f9b\u4e86\u57fa\u672c\u7684\u4ee3\u7801\u8865\u5168\u529f\u80fd\u3002\u5b89\u88c5\u76f8\u5e94\u7684\u63d2\u4ef6\u540e\uff0cSublime Text\u4e5f\u53ef\u4ee5\u63d0\u4f9bPython\u7684\u81ea\u52a8\u8865\u5168\u548c\u6587\u6863\u67e5\u770b\u529f\u80fd\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4f7f\u7528\u4ee3\u7801\u7f16\u8f91\u5668\u7684\u81ea\u52a8\u8865\u5168\u529f\u80fd\u7684\u4f18\u52bf\u5728\u4e8e\uff0c\u5b83\u53ef\u4ee5\u5728\u4f60\u7f16\u5199\u4ee3\u7801\u65f6\u5b9e\u65f6\u63d0\u4f9b\u5e2e\u52a9\uff0c\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u3002<\/p>\n<\/p>\n<p><h2>\u4e94\u3001\u4f7f\u7528\u7b2c\u4e09\u65b9\u6587\u6863\u5de5\u5177<\/h2>\n<\/p>\n<p><p>\u9664\u4e86\u5b98\u65b9\u6587\u6863\u548c\u5185\u7f6e\u5de5\u5177\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u7b2c\u4e09\u65b9\u6587\u6863\u5de5\u5177\u53ef\u4ee5\u5e2e\u52a9\u4f60\u67e5\u627ePython\u4e2d\u7684\u51fd\u6570\u3002\u8fd9\u4e9b\u5de5\u5177\u901a\u5e38\u63d0\u4f9b\u66f4\u53cb\u597d\u7684\u754c\u9762\u548c\u66f4\u5f3a\u5927\u7684\u641c\u7d22\u529f\u80fd\u3002\u5e38\u7528\u7684\u7b2c\u4e09\u65b9\u6587\u6863\u5de5\u5177\u5305\u62ec\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Dash (macOS)<\/strong>\uff1a<\/p>\n<p>Dash\u662f\u4e00\u4e2a\u975e\u5e38\u5f3a\u5927\u7684\u6587\u6863\u6d4f\u89c8\u5668\uff0c\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u7684\u6587\u6863\uff0c\u5305\u62ecPython\u3002\u4f60\u53ef\u4ee5\u4e0b\u8f7d\u5e76\u79bb\u7ebf\u67e5\u770bPython\u7684\u6587\u6863\uff0cDash\u8fd8\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u641c\u7d22\u529f\u80fd\uff0c\u53ef\u4ee5\u5feb\u901f\u67e5\u627e\u51fd\u6570\u548c\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Zeal (Windows\/Linux)<\/strong>\uff1a<\/p>\n<p>Zeal\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u6587\u6863\u6d4f\u89c8\u5668\uff0c\u7c7b\u4f3c\u4e8eDash\uff0c\u4f46\u9002\u7528\u4e8eWindows\u548cLinux\u5e73\u53f0\u3002Zeal\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u7684\u6587\u6863\uff0c\u5305\u62ecPython\uff0c\u4f60\u53ef\u4ee5\u4e0b\u8f7d\u5e76\u79bb\u7ebf\u67e5\u770b\u6587\u6863\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>DevDocs<\/strong>\uff1a<\/p>\n<p>DevDocs\u662f\u4e00\u4e2a\u5728\u7ebf\u6587\u6863\u6d4f\u89c8\u5668\uff0c\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u7684\u6587\u6863\uff0c\u5305\u62ecPython\u3002\u4f60\u53ef\u4ee5\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95eeDevDocs\uff0c\u5e76\u4f7f\u7528\u5176\u5f3a\u5927\u7684\u641c\u7d22\u529f\u80fd\u5feb\u901f\u67e5\u627e\u51fd\u6570\u548c\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4f7f\u7528\u7b2c\u4e09\u65b9\u6587\u6863\u5de5\u5177\u7684\u4f18\u52bf\u5728\u4e8e\uff0c\u5b83\u4eec\u901a\u5e38\u63d0\u4f9b\u66f4\u53cb\u597d\u7684\u754c\u9762\u548c\u66f4\u5f3a\u5927\u7684\u641c\u7d22\u529f\u80fd\uff0c\u9002\u5408\u957f\u671f\u4f7f\u7528\u3002<\/p>\n<\/p>\n<p><h2>\u516d\u3001\u67e5\u770b\u6e90\u4ee3\u7801<\/h2>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u67e5\u770b\u6e90\u4ee3\u7801\u662f\u4e86\u89e3\u51fd\u6570\u548c\u65b9\u6cd5\u7684\u6700\u4f73\u65b9\u5f0f\u3002\u7279\u522b\u662f\u5bf9\u4e8e\u5f00\u6e90\u9879\u76ee\uff0c\u4f60\u53ef\u4ee5\u76f4\u63a5\u67e5\u770b\u51fd\u6570\u7684\u5b9e\u73b0\uff0c\u4e86\u89e3\u5176\u5de5\u4f5c\u539f\u7406\u3002\u4ee5\u4e0b\u662f\u67e5\u770b\u6e90\u4ee3\u7801\u7684\u4e00\u4e9b\u65b9\u6cd5\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528GitHub<\/strong>\uff1a<\/p>\n<p>\u5927\u591a\u6570\u5f00\u6e90\u9879\u76ee\u6258\u7ba1\u5728GitHub\u4e0a\uff0c\u4f60\u53ef\u4ee5\u76f4\u63a5\u5728GitHub\u4e0a\u6d4f\u89c8\u548c\u641c\u7d22\u4ee3\u7801\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u60f3\u67e5\u770b\u67d0\u4e2a\u7b2c\u4e09\u65b9\u5e93\u7684\u5b9e\u73b0\uff0c\u53ef\u4ee5\u5728GitHub\u4e0a\u641c\u7d22\u8be5\u5e93\u7684\u4ed3\u5e93\uff0c\u5e76\u5728\u4ed3\u5e93\u4e2d\u67e5\u627e\u76f8\u5173\u7684\u4ee3\u7801\u6587\u4ef6\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528\u4ee3\u7801\u7f16\u8f91\u5668\u7684\u8df3\u8f6c\u529f\u80fd<\/strong>\uff1a<\/p>\n<p>\u73b0\u4ee3\u4ee3\u7801\u7f16\u8f91\u5668\u901a\u5e38\u63d0\u4f9b\u4ee3\u7801\u8df3\u8f6c\u529f\u80fd\uff0c\u4f60\u53ef\u4ee5\u76f4\u63a5\u8df3\u8f6c\u5230\u51fd\u6570\u6216\u65b9\u6cd5\u7684\u5b9a\u4e49\u3002\u4f8b\u5982\uff0c\u5728VSCode\u4e2d\uff0c\u53ef\u4ee5\u6309\u4f4f<code>Ctrl<\/code>\u952e\u5e76\u70b9\u51fb\u51fd\u6570\u540d\u79f0\uff0cVSCode\u4f1a\u81ea\u52a8\u8df3\u8f6c\u5230\u8be5\u51fd\u6570\u7684\u5b9a\u4e49\u5904\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177<\/strong>\uff1a<\/p>\n<p>\u6709\u4e9b\u547d\u4ee4\u884c\u5de5\u5177\u53ef\u4ee5\u5e2e\u52a9\u4f60\u67e5\u627e\u51fd\u6570\u7684\u5b9a\u4e49\uff0c\u4f8b\u5982<code>grep<\/code>\u548c<code>ag<\/code>\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u8fd9\u4e9b\u5de5\u5177\u5728\u4ee3\u7801\u5e93\u4e2d\u641c\u7d22\u51fd\u6570\u540d\u79f0\uff0c\u5e76\u627e\u5230\u5176\u5b9a\u4e49\u4f4d\u7f6e\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u67e5\u770b\u6e90\u4ee3\u7801\u7684\u4f18\u52bf\u5728\u4e8e\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u4f60\u6df1\u5165\u4e86\u89e3\u51fd\u6570\u7684\u5b9e\u73b0\u7ec6\u8282\u548c\u5de5\u4f5c\u539f\u7406\uff0c\u7279\u522b\u9002\u7528\u4e8e\u8c03\u8bd5\u548c\u4f18\u5316\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h2>\u4e03\u3001\u793e\u533a\u548c\u8bba\u575b<\/h2>\n<\/p>\n<p><p>Python\u793e\u533a\u548c\u8bba\u575b\u4e5f\u662f\u67e5\u627e\u51fd\u6570\u7684\u4e00\u4e2a\u91cd\u8981\u8d44\u6e90\u3002\u5728\u8fd9\u4e9b\u5e73\u53f0\u4e0a\uff0c\u4f60\u53ef\u4ee5\u5411\u5176\u4ed6\u5f00\u53d1\u8005\u63d0\u95ee\uff0c\u83b7\u53d6\u4ed6\u4eec\u7684\u7ecf\u9a8c\u548c\u5efa\u8bae\u3002\u5e38\u7528\u7684\u793e\u533a\u548c\u8bba\u575b\u5305\u62ec\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Stack Overflow<\/strong>\uff1a<\/p>\n<p>Stack Overflow\u662f\u4e00\u4e2a\u975e\u5e38\u6d41\u884c\u7684\u7f16\u7a0b\u95ee\u7b54\u7f51\u7ad9\uff0c\u4f60\u53ef\u4ee5\u5728\u4e0a\u9762\u63d0\u95ee\u548c\u56de\u7b54\u4e0ePython\u76f8\u5173\u7684\u95ee\u9898\u3002\u8bb8\u591a\u95ee\u9898\u5df2\u7ecf\u6709\u8be6\u7ec6\u7684\u89e3\u7b54\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u641c\u7d22\u627e\u5230\u76f8\u5173\u7684\u7b54\u6848\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Reddit<\/strong>\uff1a<\/p>\n<p>Reddit\u4e0a\u7684r\/Python\u662f\u4e00\u4e2a\u6d3b\u8dc3\u7684Python\u793e\u533a\uff0c\u7528\u6237\u5728\u4e0a\u9762\u5206\u4eab\u65b0\u95fb\u3001\u6587\u7ae0\u548c\u95ee\u9898\u3002\u4f60\u53ef\u4ee5\u5728\u8fd9\u4e2a\u793e\u533a\u4e2d\u63d0\u95ee\uff0c\u5e76\u83b7\u53d6\u5176\u4ed6\u5f00\u53d1\u8005\u7684\u5efa\u8bae\u548c\u5e2e\u52a9\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Python\u5b98\u65b9\u8bba\u575b<\/strong>\uff1a<\/p>\n<p>Python\u5b98\u65b9\u8bba\u575b\u662f\u4e00\u4e2a\u4e13\u95e8\u8ba8\u8bbaPython\u7684\u8bba\u575b\uff0c\u4f60\u53ef\u4ee5\u5728\u4e0a\u9762\u63d0\u95ee\u548c\u8ba8\u8bba\u4e0ePython\u76f8\u5173\u7684\u8bdd\u9898\u3002\u5b98\u65b9\u8bba\u575b\u901a\u5e38\u6709\u7ecf\u9a8c\u4e30\u5bcc\u7684\u5f00\u53d1\u8005\u548c\u7ef4\u62a4\u8005\u53c2\u4e0e\u8ba8\u8bba\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u90ae\u4ef6\u5217\u8868<\/strong>\uff1a<\/p>\n<p>Python\u6709\u4e00\u4e9b\u90ae\u4ef6\u5217\u8868\uff0c\u5982python-dev\u548cpython-list\uff0c\u4f60\u53ef\u4ee5\u8ba2\u9605\u8fd9\u4e9b\u90ae\u4ef6\u5217\u8868\uff0c\u83b7\u53d6\u6700\u65b0\u7684\u8ba8\u8bba\u548c\u6d88\u606f\uff0c\u5e76\u5411\u5176\u4ed6\u5f00\u53d1\u8005\u63d0\u95ee\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4f7f\u7528\u793e\u533a\u548c\u8bba\u575b\u7684\u4f18\u52bf\u5728\u4e8e\uff0c\u4f60\u53ef\u4ee5\u83b7\u53d6\u5176\u4ed6\u5f00\u53d1\u8005\u7684\u7ecf\u9a8c\u548c\u5efa\u8bae\uff0c\u89e3\u51b3\u4e00\u4e9b\u6587\u6863\u4e2d\u6ca1\u6709\u63d0\u5230\u7684\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><h2>\u516b\u3001\u5b9e\u8df5\u548c\u5b9e\u9a8c<\/h2>\n<\/p>\n<p><p>\u6700\u7ec8\uff0c\u67e5\u627e\u51fd\u6570\u548c\u4e86\u89e3\u51fd\u6570\u7684\u6700\u4f73\u65b9\u5f0f\u662f\u901a\u8fc7\u5b9e\u8df5\u548c\u5b9e\u9a8c\u3002\u7f16\u5199\u4ee3\u7801\uff0c\u4f7f\u7528\u4e0d\u540c\u7684\u51fd\u6570\uff0c\u89c2\u5bdf\u5b83\u4eec\u7684\u884c\u4e3a\u548c\u8f93\u51fa\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5efa\u8bae\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u7f16\u5199\u793a\u4f8b\u4ee3\u7801<\/strong>\uff1a<\/p>\n<p>\u6bcf\u5f53\u4f60\u5b66\u4e60\u4e00\u4e2a\u65b0\u7684\u51fd\u6570\uff0c\u7f16\u5199\u4e00\u4e9b\u793a\u4f8b\u4ee3\u7801\u6765\u6d4b\u8bd5\u5b83\u7684\u7528\u6cd5\u548c\u884c\u4e3a\u3002\u89c2\u5bdf\u8f93\u5165\u548c\u8f93\u51fa\uff0c\u7406\u89e3\u51fd\u6570\u7684\u5de5\u4f5c\u539f\u7406\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9605\u8bfb\u5f00\u6e90\u9879\u76ee<\/strong>\uff1a<\/p>\n<p>\u9605\u8bfb\u548c\u5206\u6790\u5f00\u6e90\u9879\u76ee\u7684\u4ee3\u7801\uff0c\u4e86\u89e3\u5176\u4ed6\u5f00\u53d1\u8005\u5982\u4f55\u4f7f\u7528\u4e0d\u540c\u7684\u51fd\u6570\u3002\u8fd9\u4e0d\u4ec5\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5b66\u4e60\u51fd\u6570\u7684\u7528\u6cd5\uff0c\u8fd8\u53ef\u4ee5\u63d0\u9ad8\u4f60\u7684\u7f16\u7a0b\u6280\u5de7\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u53c2\u4e0e\u5f00\u6e90\u9879\u76ee<\/strong>\uff1a<\/p>\n<p>\u53c2\u4e0e\u5f00\u6e90\u9879\u76ee\uff0c\u8d21\u732e\u4ee3\u7801\uff0c\u89e3\u51b3\u95ee\u9898\u3002\u5728\u5b9e\u9645\u9879\u76ee\u4e2d\u4f7f\u7528\u4e0d\u540c\u7684\u51fd\u6570\uff0c\u79ef\u7d2f\u7ecf\u9a8c\u548c\u6280\u5de7\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7ec3\u4e60\u9898\u548c\u7f16\u7a0b\u6311\u6218<\/strong>\uff1a<\/p>\n<p>\u53c2\u4e0e\u4e00\u4e9b\u5728\u7ebf\u7f16\u7a0b\u6311\u6218\u548c\u7ec3\u4e60\u9898\uff0c\u4f8b\u5982LeetCode\u3001HackerRank\u548cCodewars\u3002\u8fd9\u4e9b\u5e73\u53f0\u63d0\u4f9b\u4e86\u5927\u91cf\u7684\u7f16\u7a0b\u9898\u76ee\uff0c\u53ef\u4ee5\u5e2e\u52a9\u4f60\u7ec3\u4e60\u548c\u5de9\u56fa\u51fd\u6570\u7684\u4f7f\u7528\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u5b9e\u8df5\u548c\u5b9e\u9a8c\uff0c\u4f60\u53ef\u4ee5\u6df1\u5165\u7406\u89e3\u51fd\u6570\u7684\u7528\u6cd5\u548c\u884c\u4e3a\uff0c\u638c\u63e1Python\u7f16\u7a0b\u7684\u6280\u5de7\u548c\u7ecf\u9a8c\u3002<\/p>\n<\/p>\n<hr>\n<p><p>\u7efc\u4e0a\u6240\u8ff0\uff0c\u5728Python\u4e2d\u67e5\u627e\u51fd\u6570\u6709\u591a\u79cd\u65b9\u6cd5\uff0c\u5305\u62ec\u5728\u7ebf\u6587\u6863\u3001\u5185\u7f6e\u51fd\u6570help()\u3001dir()\u51fd\u6570\u3001\u4ee3\u7801\u7f16\u8f91\u5668\u7684\u81ea\u52a8\u8865\u5168\u529f\u80fd\u3001\u7b2c\u4e09\u65b9\u6587\u6863\u5de5\u5177\u3001\u67e5\u770b\u6e90\u4ee3\u7801\u3001\u793e\u533a\u548c\u8bba\u575b\u4ee5\u53ca\u5b9e\u8df5\u548c\u5b9e\u9a8c\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u4f18\u52bf\u548c\u9002\u7528\u573a\u666f\uff0c\u9009\u62e9\u9002\u5408\u81ea\u5df1\u7684\u65b9\u6cd5\u53ef\u4ee5\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\uff0c\u6df1\u5165\u7406\u89e3Python\u7f16\u7a0b\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u67e5\u627e\u7279\u5b9a\u51fd\u6570\u7684\u4f7f\u7528\u65b9\u6cd5\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u5185\u7f6e\u7684<code>help()<\/code>\u51fd\u6570\u6765\u67e5\u627e\u7279\u5b9a\u51fd\u6570\u7684\u7528\u6cd5\u3002\u4f8b\u5982\uff0c\u8f93\u5165<code>help(function_name)<\/code>\uff0c\u53ef\u4ee5\u83b7\u5f97\u8be5\u51fd\u6570\u7684\u8be6\u7ec6\u8bf4\u660e\u548c\u7528\u6cd5\u793a\u4f8b\u3002\u6b64\u5916\uff0c\u8bb8\u591aIDE\u548c\u4ee3\u7801\u7f16\u8f91\u5668\u5982PyCharm\u548cVS Code\u4e5f\u63d0\u4f9b\u4e86\u81ea\u52a8\u8865\u5168\u548c\u51fd\u6570\u6587\u6863\u67e5\u770b\u529f\u80fd\uff0c\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5feb\u901f\u4e86\u89e3\u51fd\u6570\u7684\u7528\u6cd5\u3002<\/p>\n<p><strong>\u6709\u6ca1\u6709\u63a8\u8350\u7684\u5728\u7ebf\u8d44\u6e90\u53ef\u4ee5\u67e5\u627ePython\u51fd\u6570\uff1f<\/strong><br \/>\u786e\u5b9e\u6709\u8bb8\u591a\u4f18\u8d28\u7684\u5728\u7ebf\u8d44\u6e90\u53ef\u4ee5\u5e2e\u52a9\u4f60\u67e5\u627ePython\u51fd\u6570\u53ca\u5176\u6587\u6863\u3002\u4f8b\u5982\uff0cPython\u5b98\u65b9\u7f51\u7ad9\u7684\u6587\u6863\uff08docs.python.org\uff09\u662f\u4e00\u4e2a\u6743\u5a01\u7684\u8d44\u6599\u6765\u6e90\uff0c\u63d0\u4f9b\u4e86\u6240\u6709\u5185\u7f6e\u51fd\u6570\u7684\u8be6\u7ec6\u8bf4\u660e\u3002\u6b64\u5916\uff0cStack Overflow\u548cGitHub\u7b49\u793e\u533a\u4e5f\u6709\u4e30\u5bcc\u7684\u8ba8\u8bba\u548c\u793a\u4f8b\u4ee3\u7801\uff0c\u53ef\u4ee5\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7406\u89e3\u548c\u4f7f\u7528\u8fd9\u4e9b\u51fd\u6570\u3002<\/p>\n<p><strong>\u5982\u4f55\u6709\u6548\u5730\u4f7f\u7528Python\u7684\u5185\u7f6e\u51fd\u6570\uff1f<\/strong><br \/>\u4f7f\u7528Python\u7684\u5185\u7f6e\u51fd\u6570\u65f6\uff0c\u7406\u89e3\u5176\u529f\u80fd\u548c\u53c2\u6570\u975e\u5e38\u91cd\u8981\u3002\u5efa\u8bae\u901a\u8fc7\u9605\u8bfb\u5b98\u65b9\u6587\u6863\uff0c\u67e5\u770b\u51fd\u6570\u7684\u53c2\u6570\u5217\u8868\u548c\u8fd4\u56de\u503c\u7c7b\u578b\uff0c\u7ed3\u5408\u5177\u4f53\u793a\u4f8b\u8fdb\u884c\u5b9e\u8df5\u3002\u6b64\u5916\uff0c\u4f7f\u7528\u4ea4\u4e92\u5f0fPython\u73af\u5883\uff08\u5982Jupyter Notebook\uff09\u53ef\u4ee5\u8ba9\u4f60\u5b9e\u65f6\u6d4b\u8bd5\u8fd9\u4e9b\u51fd\u6570\uff0c\u5e2e\u52a9\u52a0\u6df1\u7406\u89e3\u548c\u8bb0\u5fc6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5728Python\u4e2d\u67e5\u627e\u51fd\u6570\uff0c\u53ef\u4ee5\u4f7f\u7528\u5728\u7ebf\u6587\u6863\u3001\u5185\u7f6e\u51fd\u6570help()\u3001dir()\u3001\u4ee5\u53ca\u4ee3\u7801\u7f16\u8f91\u5668\u7684\u81ea\u52a8\u8865\u5168\u529f\u80fd\u3001 [&hellip;]","protected":false},"author":3,"featured_media":1153153,"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\/1153148"}],"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=1153148"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1153148\/revisions"}],"predecessor-version":[{"id":1153154,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1153148\/revisions\/1153154"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1153153"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1153148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1153148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1153148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}