{"id":1005828,"date":"2024-12-27T10:39:09","date_gmt":"2024-12-27T02:39:09","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1005828.html"},"modified":"2024-12-27T10:39:12","modified_gmt":"2024-12-27T02:39:12","slug":"%e5%a6%82%e4%bd%95%e6%9f%a5%e8%af%a2python%e5%87%bd%e6%95%b0%e5%ae%9a%e4%b9%89","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1005828.html","title":{"rendered":"\u5982\u4f55\u67e5\u8be2python\u51fd\u6570\u5b9a\u4e49"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25082210\/577a9c74-9bc8-4785-b1ff-658d223c624b.webp\" alt=\"\u5982\u4f55\u67e5\u8be2python\u51fd\u6570\u5b9a\u4e49\" \/><\/p>\n<p><p> <strong>\u67e5\u8be2Python\u51fd\u6570\u5b9a\u4e49\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff1a\u4f7f\u7528\u5185\u7f6e<code>help()<\/code>\u51fd\u6570\u3001\u4f7f\u7528<code>dir()<\/code>\u51fd\u6570\u3001\u67e5\u770bPython\u5b98\u65b9\u6587\u6863\u3001\u4f7f\u7528IDEs\uff08\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff09\u4e2d\u7684\u529f\u80fd\u3001\u4ee5\u53ca\u5728\u7ebf\u641c\u7d22\u3002<\/strong> \u5176\u4e2d\uff0c<strong>\u4f7f\u7528\u5185\u7f6e<code>help()<\/code>\u51fd\u6570<\/strong>\u662f\u6700\u5e38\u89c1\u7684\u65b9\u5f0f\u4e4b\u4e00\uff0c\u56e0\u4e3a\u5b83\u53ef\u4ee5\u5728Python\u89e3\u91ca\u5668\u4e2d\u76f4\u63a5\u4f7f\u7528\uff0c\u63d0\u4f9b\u6709\u5173\u6a21\u5757\u3001\u7c7b\u3001\u51fd\u6570\u7b49\u7684\u6587\u6863\u5b57\u7b26\u4e32\u3002\u901a\u8fc7<code>help()<\/code>\u51fd\u6570\uff0c\u7528\u6237\u53ef\u4ee5\u5feb\u901f\u83b7\u53d6\u51fd\u6570\u7684\u7b7e\u540d\u3001\u53c2\u6570\u8bf4\u660e\u548c\u7528\u9014\u7b49\u4fe1\u606f\u3002<\/p>\n<\/p>\n<p><p><code>help()<\/code>\u51fd\u6570\u662f\u4e00\u4e2a\u975e\u5e38\u6709\u7528\u7684\u5de5\u5177\uff0c\u7279\u522b\u662f\u5728\u9700\u8981\u5feb\u901f\u4e86\u89e3\u67d0\u4e2a\u51fd\u6570\u6216\u6a21\u5757\u7684\u7528\u9014\u548c\u4f7f\u7528\u65b9\u6cd5\u65f6\u3002\u53ea\u9700\u5728Python\u89e3\u91ca\u5668\u4e2d\u8f93\u5165<code>help(\u51fd\u6570\u540d)<\/code>\uff0c\u5373\u53ef\u67e5\u770b\u8be5\u51fd\u6570\u7684\u8be6\u7ec6\u8bf4\u660e\uff0c\u5305\u62ec\u51fd\u6570\u7684\u63cf\u8ff0\u3001\u53c2\u6570\u3001\u8fd4\u56de\u503c\u7b49\u4fe1\u606f\u3002\u8fd9\u4e2a\u529f\u80fd\u5728\u8c03\u8bd5\u4ee3\u7801\u3001\u5b66\u4e60\u65b0\u6a21\u5757\u6216\u51fd\u6570\u65f6\u975e\u5e38\u6709\u5e2e\u52a9\u3002\u6b64\u5916\uff0c<code>help()<\/code>\u51fd\u6570\u8fd8\u53ef\u4ee5\u7528\u4e8e\u67e5\u770b\u81ea\u5b9a\u4e49\u51fd\u6570\u7684\u8bf4\u660e\uff0c\u524d\u63d0\u662f\u8fd9\u4e9b\u51fd\u6570\u5305\u542b\u6587\u6863\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u8ba9\u6211\u4eec\u6df1\u5165\u63a2\u8ba8\u5982\u4f55\u901a\u8fc7\u5404\u79cd\u65b9\u6cd5\u67e5\u8be2Python\u51fd\u6570\u5b9a\u4e49\uff0c\u4ee5\u5e2e\u52a9\u60a8\u66f4\u5168\u9762\u5730\u638c\u63e1Python\u7f16\u7a0b\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528<code>help()<\/code>\u51fd\u6570<\/p>\n<\/p>\n<p><p><code>help()<\/code>\u51fd\u6570\u662fPython\u63d0\u4f9b\u7684\u5185\u7f6e\u51fd\u6570\uff0c\u7528\u4e8e\u67e5\u770b\u51fd\u6570\u3001\u6a21\u5757\u3001\u7c7b\u7b49\u7684\u6587\u6863\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528\u65b9\u6cd5<\/strong><\/p>\n<\/p>\n<p><p>\u5728Python\u89e3\u91ca\u5668\u4e2d\u4f7f\u7528<code>help()<\/code>\u51fd\u6570\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u8f93\u5165<code>help(\u51fd\u6570\u540d)<\/code>\u5373\u53ef\u3002\u4f8b\u5982\uff0c\u8981\u67e5\u770b<code>len()<\/code>\u51fd\u6570\u7684\u5b9a\u4e49\uff0c\u53ef\u4ee5\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">help(len)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u663e\u793a<code>len()<\/code>\u51fd\u6570\u7684\u8be6\u7ec6\u6587\u6863\uff0c\u5305\u62ec\u5b83\u7684\u53c2\u6570\u548c\u8fd4\u56de\u503c\u8bf4\u660e\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u67e5\u770b\u81ea\u5b9a\u4e49\u51fd\u6570<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u60a8\u5b9a\u4e49\u4e86\u81ea\u5df1\u7684\u51fd\u6570\uff0c\u5e76\u5728\u51fd\u6570\u4f53\u5185\u6dfb\u52a0\u4e86\u6587\u6863\u5b57\u7b26\u4e32\uff0c<code>help()<\/code>\u51fd\u6570\u540c\u6837\u53ef\u4ee5\u7528\u4e8e\u67e5\u770b\u8fd9\u4e9b\u8bf4\u660e\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def my_function(param1, param2):<\/p>\n<p>    &quot;&quot;&quot;This is a sample function that adds two numbers.&quot;&quot;&quot;<\/p>\n<p>    return param1 + param2<\/p>\n<p>help(my_function)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u663e\u793a\u81ea\u5b9a\u4e49\u51fd\u6570<code>my_function<\/code>\u7684\u6587\u6863\u5b57\u7b26\u4e32\u548c\u53c2\u6570\u8bf4\u660e\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u4f7f\u7528<code>dir()<\/code>\u51fd\u6570<\/p>\n<\/p>\n<p><p><code>dir()<\/code>\u51fd\u6570\u7528\u4e8e\u67e5\u770b\u6a21\u5757\u6216\u5bf9\u8c61\u7684\u5c5e\u6027\u548c\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5e2e\u52a9\u60a8\u5feb\u901f\u4e86\u89e3\u67d0\u4e2a\u6a21\u5757\u6216\u5bf9\u8c61\u4e2d\u6709\u54ea\u4e9b\u53ef\u7528\u7684\u51fd\u6570\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u67e5\u770b\u6a21\u5757\u4e2d\u7684\u51fd\u6570<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u60a8\u60f3\u67e5\u770b\u67d0\u4e2a\u6a21\u5757\u4e2d\u5305\u542b\u54ea\u4e9b\u51fd\u6570\uff0c\u53ef\u4ee5\u4f7f\u7528<code>dir()<\/code>\u51fd\u6570\u3002\u4f8b\u5982\uff0c\u8981\u67e5\u770b<code>math<\/code>\u6a21\u5757\u4e2d\u7684\u51fd\u6570\uff0c\u53ef\u4ee5\u8f93\u5165\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\u5c06\u8f93\u51fa<code>math<\/code>\u6a21\u5757\u4e2d\u7684\u6240\u6709\u5c5e\u6027\u548c\u51fd\u6570\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7ed3\u5408\u4f7f\u7528<code>help()<\/code><\/strong><\/p>\n<\/p>\n<p><p>\u5728\u4f7f\u7528<code>dir()<\/code>\u51fd\u6570\u67e5\u770b\u5230\u67d0\u4e2a\u6a21\u5757\u6216\u5bf9\u8c61\u7684\u51fd\u6570\u540e\uff0c\u53ef\u4ee5\u7ed3\u5408<code>help()<\/code>\u51fd\u6570\u83b7\u53d6\u66f4\u8be6\u7ec6\u7684\u8bf4\u660e\u3002\u4f8b\u5982\uff0c\u8981\u67e5\u770b<code>math.sqrt<\/code>\u51fd\u6570\u7684\u5b9a\u4e49\uff0c\u53ef\u4ee5\u8f93\u5165\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">help(math.sqrt)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u67e5\u770bPython\u5b98\u65b9\u6587\u6863<\/p>\n<\/p>\n<p><p>Python\u5b98\u65b9\u6587\u6863\u662f\u67e5\u8be2\u51fd\u6570\u5b9a\u4e49\u548c\u4f7f\u7528\u65b9\u6cd5\u7684\u6743\u5a01\u6765\u6e90\u3002\u65e0\u8bba\u662f\u5185\u7f6e\u51fd\u6570\u8fd8\u662f\u6807\u51c6\u5e93\u6a21\u5757\u4e2d\u7684\u51fd\u6570\uff0c\u5b98\u65b9\u6587\u6863\u90fd\u63d0\u4f9b\u4e86\u8be6\u7ec6\u7684\u8bf4\u660e\u548c\u793a\u4f8b\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u8bbf\u95eePython\u6587\u6863<\/strong><\/p>\n<\/p>\n<p><p>Python\u5b98\u65b9\u6587\u6863\u53ef\u4ee5\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95ee\uff0c\u7f51\u5740\u4e3a\uff1a<a href=\"https:\/\/docs.python.org\/3\/\">https:\/\/docs.python.org\/3\/<\/a><\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u67e5\u627e\u51fd\u6570<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u6587\u6863\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u641c\u7d22\u529f\u80fd\u67e5\u627e\u5177\u4f53\u7684\u51fd\u6570\u6216\u6a21\u5757\u3002\u6b64\u5916\uff0c\u6587\u6863\u4e2d\u8fd8\u5305\u62ec\u4e30\u5bcc\u7684\u793a\u4f8b\u548c\u89e3\u91ca\uff0c\u5e2e\u52a9\u60a8\u66f4\u597d\u5730\u7406\u89e3\u51fd\u6570\u7684\u7528\u9014\u548c\u7528\u6cd5\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u4f7f\u7528IDEs\u4e2d\u7684\u529f\u80fd<\/p>\n<\/p>\n<p><p>\u73b0\u4ee3\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDEs\uff09\u901a\u5e38\u63d0\u4f9b\u5f3a\u5927\u7684\u4ee3\u7801\u7f16\u8f91\u548c\u8c03\u8bd5\u529f\u80fd\uff0c\u53ef\u4ee5\u5e2e\u52a9\u60a8\u5feb\u901f\u67e5\u770b\u51fd\u6570\u5b9a\u4e49\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u81ea\u52a8\u8865\u5168\u548c\u6587\u6863\u63d0\u793a<\/strong><\/p>\n<\/p>\n<p><p>\u5927\u591a\u6570IDEs\uff08\u5982PyCharm\u3001VS Code\u7b49\uff09\u63d0\u4f9b\u81ea\u52a8\u8865\u5168\u548c\u6587\u6863\u63d0\u793a\u529f\u80fd\u3002\u5f53\u60a8\u8f93\u5165\u51fd\u6570\u540d\u79f0\u65f6\uff0cIDE\u4f1a\u81ea\u52a8\u663e\u793a\u8be5\u51fd\u6570\u7684\u53c2\u6570\u548c\u6587\u6863\u8bf4\u660e\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8df3\u8f6c\u5230\u5b9a\u4e49<\/strong><\/p>\n<\/p>\n<p><p>\u5728IDEs\u4e2d\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u5feb\u6377\u952e\u6216\u53f3\u952e\u83dc\u5355\u9009\u62e9\u201c\u8df3\u8f6c\u5230\u5b9a\u4e49\u201d\u529f\u80fd\uff0c\u76f4\u63a5\u67e5\u770b\u51fd\u6570\u7684\u6e90\u7801\u6216\u5b9a\u4e49\u4f4d\u7f6e\u3002\u8fd9\u5bf9\u4e8e\u4e86\u89e3\u7b2c\u4e09\u65b9\u5e93\u7684\u5b9e\u73b0\u7ec6\u8282\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u5728\u7ebf\u641c\u7d22<\/p>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u67e5\u627e\u4e0d\u719f\u6089\u7684\u7b2c\u4e09\u65b9\u5e93\u6216\u51fd\u6570\u5b9a\u4e49\uff0c\u6b64\u65f6\u5728\u7ebf\u641c\u7d22\u662f\u4e00\u4e2a\u6709\u6548\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528\u641c\u7d22\u5f15\u64ce<\/strong><\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u641c\u7d22\u5f15\u64ce\uff08\u5982Google\uff09\uff0c\u8f93\u5165\u51fd\u6570\u540d\u79f0\u548c\u201cPython\u201d\u5173\u952e\u5b57\uff0c\u53ef\u4ee5\u5feb\u901f\u627e\u5230\u76f8\u5173\u7684\u6587\u6863\u3001\u535a\u5ba2\u6587\u7ae0\u6216\u8bba\u575b\u8ba8\u8bba\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5728\u7ebf\u793e\u533a\u548c\u8bba\u575b<\/strong><\/p>\n<\/p>\n<p><p>Python\u793e\u533a\u975e\u5e38\u6d3b\u8dc3\uff0c\u5728\u7ebf\u8bba\u575b\uff08\u5982Stack Overflow\uff09\u4e0a\u6709\u5927\u91cf\u5173\u4e8e\u51fd\u6570\u5b9a\u4e49\u548c\u4f7f\u7528\u65b9\u6cd5\u7684\u8ba8\u8bba\u3002\u60a8\u53ef\u4ee5\u5728\u8fd9\u4e9b\u5e73\u53f0\u4e0a\u63d0\u95ee\uff0c\u6216\u8005\u67e5\u627e\u5df2\u6709\u7684\u7b54\u6848\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u65b9\u6cd5\uff0c\u60a8\u53ef\u4ee5\u5168\u9762\u5730\u67e5\u8be2\u548c\u4e86\u89e3Python\u51fd\u6570\u7684\u5b9a\u4e49\uff0c\u5e2e\u52a9\u60a8\u5728\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u66f4\u9ad8\u6548\u5730\u4f7f\u7528\u5404\u79cd\u51fd\u6570\u548c\u6a21\u5757\u3002\u540c\u65f6\uff0c\u719f\u7ec3\u638c\u63e1\u8fd9\u4e9b\u6280\u5de7\u4e5f\u6709\u52a9\u4e8e\u63d0\u5347\u60a8\u7684Python\u7f16\u7a0b\u80fd\u529b\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\u5b9a\u4e49\u4f4d\u7f6e\uff1f<\/strong><br \/>\u8981\u67e5\u627ePython\u4e2d\u7279\u5b9a\u51fd\u6570\u7684\u5b9a\u4e49\u4f4d\u7f6e\uff0c\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u7684<code>help()<\/code>\u51fd\u6570\u6216<code>inspect<\/code>\u6a21\u5757\u3002\u901a\u8fc7\u5728\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\u6216\u811a\u672c\u4e2d\u8f93\u5165<code>help(\u51fd\u6570\u540d)<\/code>\uff0c\u53ef\u4ee5\u67e5\u770b\u8be5\u51fd\u6570\u7684\u6587\u6863\u5b57\u7b26\u4e32\uff0c\u5e76\u4e86\u89e3\u5176\u5b9a\u4e49\u548c\u7528\u6cd5\u3002\u5982\u679c\u5e0c\u671b\u83b7\u53d6\u66f4\u8be6\u7ec6\u7684\u4fe1\u606f\uff0c\u53ef\u4ee5\u4f7f\u7528<code>inspect.getsource(\u51fd\u6570\u540d)<\/code>\u6765\u67e5\u770b\u51fd\u6570\u7684\u6e90\u4ee3\u7801\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u83b7\u53d6\u51fd\u6570\u7684\u53c2\u6570\u548c\u8fd4\u56de\u503c\u7c7b\u578b\uff1f<\/strong><br \/>\u83b7\u53d6\u51fd\u6570\u7684\u53c2\u6570\u548c\u8fd4\u56de\u503c\u7c7b\u578b\u53ef\u4ee5\u901a\u8fc7<code>inspect<\/code>\u6a21\u5757\u4e2d\u7684<code>signature()<\/code>\u51fd\u6570\u5b9e\u73b0\u3002\u4f7f\u7528\u793a\u4f8b\uff1a<code>from inspect import signature<\/code>\uff0c\u7136\u540e\u8c03\u7528<code>signature(\u51fd\u6570\u540d)<\/code>\u3002\u8fd9\u5c06\u8fd4\u56de\u4e00\u4e2a<code>Signature<\/code>\u5bf9\u8c61\uff0c\u5305\u542b\u51fd\u6570\u7684\u53c2\u6570\u53ca\u5176\u7c7b\u578b\u6ce8\u91ca\u3002\u6b64\u5916\uff0c\u901a\u8fc7\u7c7b\u578b\u63d0\u793a\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5728\u51fd\u6570\u5b9a\u4e49\u4e2d\u76f4\u63a5\u6807\u660e\u53c2\u6570\u548c\u8fd4\u56de\u503c\u7684\u7c7b\u578b\u3002<\/p>\n<p><strong>\u5982\u4f55\u4f7f\u7528IDE\u6216\u6587\u672c\u7f16\u8f91\u5668\u6765\u67e5\u770bPython\u51fd\u6570\u7684\u5b9a\u4e49\uff1f<\/strong><br \/>\u8bb8\u591a\u73b0\u4ee3\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u548c\u6587\u672c\u7f16\u8f91\u5668\u90fd\u63d0\u4f9b\u4e86\u8df3\u8f6c\u5230\u5b9a\u4e49\u7684\u529f\u80fd\u3002\u6bd4\u5982\uff0c\u5728PyCharm\u4e2d\uff0c\u53ea\u9700\u5c06\u5149\u6807\u60ac\u505c\u5728\u51fd\u6570\u540d\u4e0a\uff0c\u6216\u8005\u53f3\u952e\u70b9\u51fb\u9009\u62e9\u201c\u8df3\u8f6c\u5230\u5b9a\u4e49\u201d\uff0c\u5373\u53ef\u5feb\u901f\u8bbf\u95ee\u51fd\u6570\u7684\u5b9a\u4e49\u4f4d\u7f6e\u3002VS Code\u3001Jupyter Notebook\u7b49\u5de5\u5177\u4e5f\u652f\u6301\u7c7b\u4f3c\u7684\u529f\u80fd\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u8f7b\u677e\u67e5\u770b\u51fd\u6570\u7684\u5b9e\u73b0\u7ec6\u8282\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u67e5\u8be2Python\u51fd\u6570\u5b9a\u4e49\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff1a\u4f7f\u7528\u5185\u7f6ehelp()\u51fd\u6570\u3001\u4f7f\u7528dir()\u51fd\u6570\u3001\u67e5\u770bPython\u5b98\u65b9\u6587\u6863\u3001 [&hellip;]","protected":false},"author":3,"featured_media":1005841,"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\/1005828"}],"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=1005828"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1005828\/revisions"}],"predecessor-version":[{"id":1005845,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1005828\/revisions\/1005845"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1005841"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1005828"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1005828"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1005828"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}