{"id":971248,"date":"2024-12-27T05:33:18","date_gmt":"2024-12-26T21:33:18","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/971248.html"},"modified":"2024-12-27T05:33:19","modified_gmt":"2024-12-26T21:33:19","slug":"python-%e5%a6%82%e4%bd%95%e7%9c%8b%e6%a8%a1%e5%9d%97%e7%9a%84","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/971248.html","title":{"rendered":"python \u5982\u4f55\u770b\u6a21\u5757\u7684"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24194156\/2e49c97c-0f80-41a5-8cb6-b87ddb08a71e.webp\" alt=\"python \u5982\u4f55\u770b\u6a21\u5757\u7684\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u67e5\u770b\u6a21\u5757\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u5185\u7f6e\u51fd\u6570<code>dir()<\/code>\u3001\u67e5\u770b\u6a21\u5757\u6587\u6863\u5b57\u7b26\u4e32<code>.__doc__<\/code>\u3001\u4f7f\u7528<code>help()<\/code>\u51fd\u6570\u3001\u67e5\u770b\u6e90\u4ee3\u7801\u3002<\/strong>\u53ef\u4ee5\u901a\u8fc7<code>dir()<\/code>\u51fd\u6570\u6765\u5217\u51fa\u6a21\u5757\u7684\u6240\u6709\u5c5e\u6027\u548c\u65b9\u6cd5\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5feb\u901f\u6d4f\u89c8\u6a21\u5757\u5305\u542b\u7684\u5185\u5bb9\uff1b\u901a\u8fc7\u8bbf\u95ee\u6a21\u5757\u7684<code>.__doc__<\/code>\u5c5e\u6027\uff0c\u53ef\u4ee5\u67e5\u770b\u6a21\u5757\u7684\u6587\u6863\u5b57\u7b26\u4e32\uff0c\u83b7\u53d6\u6a21\u5757\u7684\u7b80\u8981\u63cf\u8ff0\u548c\u4f7f\u7528\u8bf4\u660e\uff1b\u4f7f\u7528<code>help()<\/code>\u51fd\u6570\u53ef\u4ee5\u83b7\u53d6\u6a21\u5757\u7684\u8be6\u7ec6\u5e2e\u52a9\u4fe1\u606f\uff0c\u5305\u62ec\u6a21\u5757\u4e2d\u7684\u7c7b\u3001\u51fd\u6570\u53ca\u5176\u7528\u6cd5\uff1b\u6700\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u67e5\u770b\u6a21\u5757\u7684\u6e90\u4ee3\u7801\u6765\u6df1\u5165\u4e86\u89e3\u6a21\u5757\u7684\u5b9e\u73b0\u7ec6\u8282\u3002<\/p>\n<\/p>\n<p><p>\u4ee5\u4e0b\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u901a\u8fc7\u4ee5\u4e0a\u65b9\u6cd5\u67e5\u770bPython\u6a21\u5757\u7684\u5185\u5bb9\uff1a<\/p>\n<\/p>\n<h2><strong>\u4e00\u3001\u4f7f\u7528DIR()\u51fd\u6570\u67e5\u770b\u6a21\u5757\u5185\u5bb9<\/strong><\/h2>\n<p><p><code>dir()<\/code>\u662fPython\u7684\u5185\u7f6e\u51fd\u6570\uff0c\u7528\u4e8e\u5217\u51fa\u5bf9\u8c61\u7684\u6240\u6709\u5c5e\u6027\u548c\u65b9\u6cd5\u3002\u5bf9\u4e8e\u6a21\u5757\uff0c<code>dir()<\/code>\u53ef\u4ee5\u5217\u51fa\u6a21\u5757\u4e2d\u5b9a\u4e49\u7684\u6240\u6709\u53d8\u91cf\u3001\u51fd\u6570\u3001\u7c7b\u4ee5\u53ca\u5b50\u6a21\u5757\u3002\u4f7f\u7528<code>dir()<\/code>\u67e5\u770b\u6a21\u5757\u5185\u5bb9\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u5728\u5bfc\u5165\u6a21\u5757\u540e\u8c03\u7528<code>dir()<\/code>\u51fd\u6570\u5373\u53ef\u3002<\/p>\n<\/p>\n<p><p>\u4f8b\u5982\uff0c\u67e5\u770b<code>math<\/code>\u6a21\u5757\u7684\u5185\u5bb9\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\u6bb5\u4ee3\u7801\u5c06\u8f93\u51fa<code>math<\/code>\u6a21\u5757\u4e2d\u7684\u6240\u6709\u5c5e\u6027\u548c\u65b9\u6cd5\uff0c\u5305\u62ec\u6570\u5b66\u51fd\u6570\u5982<code>sqrt<\/code>\u3001<code>sin<\/code>\u3001<code>cos<\/code>\u7b49\u3002<\/p>\n<\/p>\n<p><p><code>dir()<\/code>\u51fd\u6570\u7684\u8f93\u51fa\u7ed3\u679c\u662f\u4e00\u4e2a\u5b57\u7b26\u4e32\u5217\u8868\uff0c\u5176\u4e2d\u5305\u542b\u6a21\u5757\u7684\u6240\u6709\u53ef\u8bbf\u95ee\u5c5e\u6027\u548c\u65b9\u6cd5\u3002\u8fd9\u5bf9\u4e8e\u5feb\u901f\u4e86\u89e3\u6a21\u5757\u7684\u529f\u80fd\u8303\u56f4\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<h2><strong>\u4e8c\u3001\u67e5\u770b\u6a21\u5757\u7684\u6587\u6863\u5b57\u7b26\u4e32<\/strong><\/h2>\n<p><p>Python\u6a21\u5757\u901a\u5e38\u5305\u542b\u4e00\u4e2a\u6587\u6863\u5b57\u7b26\u4e32\uff08docstring\uff09\uff0c\u7528\u4e8e\u63cf\u8ff0\u6a21\u5757\u7684\u529f\u80fd\u548c\u7528\u6cd5\u3002\u53ef\u4ee5\u901a\u8fc7\u8bbf\u95ee\u6a21\u5757\u7684<code>.__doc__<\/code>\u5c5e\u6027\u6765\u67e5\u770b\u6587\u6863\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><p>\u4f8b\u5982\uff0c\u67e5\u770b<code>math<\/code>\u6a21\u5757\u7684\u6587\u6863\u5b57\u7b26\u4e32\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import math<\/p>\n<p>print(math.__doc__)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u5c06\u8f93\u51fa<code>math<\/code>\u6a21\u5757\u7684\u7b80\u8981\u63cf\u8ff0\u548c\u4f7f\u7528\u8bf4\u660e\u3002\u901a\u5e38\uff0c\u6a21\u5757\u7684\u6587\u6863\u5b57\u7b26\u4e32\u5305\u542b\u6709\u5173\u6a21\u5757\u76ee\u7684\u3001\u4e3b\u8981\u529f\u80fd\u53ca\u5176\u7528\u6cd5\u7684\u4fe1\u606f\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u67e5\u770b\u6a21\u5757\u7684\u6587\u6863\u5b57\u7b26\u4e32\uff0c\u53ef\u4ee5\u5feb\u901f\u4e86\u89e3\u6a21\u5757\u7684\u57fa\u672c\u4fe1\u606f\u548c\u7528\u9014\u3002<\/p>\n<\/p>\n<h2><strong>\u4e09\u3001\u4f7f\u7528HELP()\u51fd\u6570\u83b7\u53d6\u8be6\u7ec6\u5e2e\u52a9<\/strong><\/h2>\n<p><p><code>help()<\/code>\u51fd\u6570\u662fPython\u63d0\u4f9b\u7684\u4e00\u4e2a\u5f3a\u5927\u7684\u5185\u7f6e\u51fd\u6570\uff0c\u7528\u4e8e\u83b7\u53d6\u5bf9\u8c61\u7684\u8be6\u7ec6\u5e2e\u52a9\u4fe1\u606f\u3002\u5bf9\u4e8e\u6a21\u5757\uff0c<code>help()<\/code>\u51fd\u6570\u53ef\u4ee5\u663e\u793a\u6a21\u5757\u7684\u5b8c\u6574\u6587\u6863\uff0c\u5305\u62ec\u6a21\u5757\u4e2d\u7684\u7c7b\u3001\u51fd\u6570\u3001\u65b9\u6cd5\u53ca\u5176\u8bf4\u660e\u3002<\/p>\n<\/p>\n<p><p>\u4f8b\u5982\uff0c\u4f7f\u7528<code>help()<\/code>\u51fd\u6570\u67e5\u770b<code>math<\/code>\u6a21\u5757\u7684\u8be6\u7ec6\u5e2e\u52a9\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\u6bb5\u4ee3\u7801\u5c06\u8f93\u51fa<code>math<\/code>\u6a21\u5757\u7684\u8be6\u7ec6\u5e2e\u52a9\u4fe1\u606f\uff0c\u5305\u62ec\u6a21\u5757\u4e2d\u6240\u6709\u51fd\u6570\u7684\u63cf\u8ff0\u548c\u7528\u6cd5\u3002<\/p>\n<\/p>\n<p><p><code>help()<\/code>\u51fd\u6570\u662f\u83b7\u53d6Python\u6a21\u5757\u8be6\u7ec6\u5e2e\u52a9\u7684\u6700\u4f73\u65b9\u5f0f\uff0c\u5b83\u63d0\u4f9b\u4e86\u6bd4<code>dir()<\/code>\u548c<code>.__doc__<\/code>\u66f4\u5168\u9762\u7684\u4fe1\u606f\uff0c\u9002\u5408\u9700\u8981\u6df1\u5165\u4e86\u89e3\u6a21\u5757\u529f\u80fd\u7684\u573a\u666f\u3002<\/p>\n<\/p>\n<h2><strong>\u56db\u3001\u67e5\u770b\u6a21\u5757\u7684\u6e90\u4ee3\u7801<\/strong><\/h2>\n<p><p>\u67e5\u770b\u6a21\u5757\u7684\u6e90\u4ee3\u7801\u662f\u4e86\u89e3\u6a21\u5757\u5b9e\u73b0\u7ec6\u8282\u7684\u76f4\u63a5\u65b9\u5f0f\u3002Python\u7684\u8bb8\u591a\u6807\u51c6\u5e93\u6a21\u5757\u548c\u7b2c\u4e09\u65b9\u6a21\u5757\u90fd\u662f\u7528Python\u8bed\u8a00\u7f16\u5199\u7684\uff0c\u53ef\u4ee5\u901a\u8fc7\u67e5\u770b\u6e90\u4ee3\u7801\u4e86\u89e3\u6a21\u5757\u7684\u5185\u90e8\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><p>\u67e5\u770b\u6e90\u4ee3\u7801\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5305\u62ec\u5728\u672c\u5730\u6587\u4ef6\u7cfb\u7edf\u4e2d\u67e5\u627e\u6a21\u5757\u6587\u4ef6\u3001\u4f7f\u7528\u4ee3\u7801\u7f16\u8f91\u5668\u6216IDE\u67e5\u770b\u6587\u4ef6\u3001\u6216\u8005\u5728\u7ebf\u67e5\u770b\u5f00\u6e90\u9879\u76ee\u7684\u4ee3\u7801\u4ed3\u5e93\u3002<\/p>\n<\/p>\n<p><p>\u4ee5\u67e5\u770b<code>math<\/code>\u6a21\u5757\u4e3a\u4f8b\uff0c\u7531\u4e8e<code>math<\/code>\u662fC\u8bed\u8a00\u7f16\u5199\u7684\u5185\u5efa\u6a21\u5757\uff0c\u6240\u4ee5\u4e0d\u80fd\u76f4\u63a5\u67e5\u770b\u5176Python\u6e90\u4ee3\u7801\u3002\u4f46\u5bf9\u4e8e\u5176\u4ed6Python\u7f16\u5199\u7684\u6a21\u5757\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u67e5\u770b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import inspect<\/p>\n<p>import some_module<\/p>\n<p>print(inspect.getsource(some_module))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u91cc\u7684<code>some_module<\/code>\u662f\u4f60\u60f3\u67e5\u770b\u7684\u6a21\u5757\u540d\u79f0\u3002<code>inspect.getsource()<\/code>\u51fd\u6570\u8fd4\u56de\u6a21\u5757\u7684\u6e90\u4ee3\u7801\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u67e5\u770b\u6e90\u4ee3\u7801\uff0c\u53ef\u4ee5\u6df1\u5165\u4e86\u89e3\u6a21\u5757\u7684\u5b9e\u73b0\u539f\u7406\u548c\u7ec6\u8282\uff0c\u8fd9\u5bf9\u4e8e\u9ad8\u7ea7\u7528\u6237\u548c\u5f00\u53d1\u8005\u5c24\u4e3a\u91cd\u8981\u3002<\/p>\n<\/p>\n<h2><strong>\u4e94\u3001\u5229\u7528\u5728\u7ebf\u8d44\u6e90\u548c\u5de5\u5177<\/strong><\/h2>\n<p><p>\u9664\u4e86Python\u5185\u7f6e\u7684\u65b9\u6cd5\u5916\uff0c\u8fd8\u6709\u8bb8\u591a\u5728\u7ebf\u8d44\u6e90\u548c\u5de5\u5177\u53ef\u4ee5\u5e2e\u52a9\u67e5\u770b\u548c\u7406\u89e3Python\u6a21\u5757\u3002\u8fd9\u4e9b\u8d44\u6e90\u5305\u62ec\u5b98\u65b9\u6587\u6863\u3001\u5728\u7ebf\u4ee3\u7801\u5e93\u3001\u793e\u533a\u8ba8\u8bba\u7b49\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u5b98\u65b9\u6587\u6863<\/strong>\uff1aPython\u5b98\u65b9\u6587\u6863\u662f\u4e86\u89e3\u6a21\u5757\u529f\u80fd\u548c\u7528\u6cd5\u7684\u91cd\u8981\u8d44\u6e90\uff0c\u901a\u5e38\u5305\u542b\u8be6\u7ec6\u7684\u8bf4\u660e\u3001\u4f8b\u5b50\u548c\u53c2\u8003\u4fe1\u606f\u3002<\/li>\n<li><strong>GitHub\u7b49\u4ee3\u7801\u5e93<\/strong>\uff1a\u8bb8\u591a\u5f00\u6e90\u9879\u76ee\u7684\u4ee3\u7801\u6258\u7ba1\u5728GitHub\u4e0a\uff0c\u53ef\u4ee5\u76f4\u63a5\u67e5\u770b\u548c\u4e0b\u8f7d\u6e90\u4ee3\u7801\u3002<\/li>\n<li><strong>\u793e\u533a\u8bba\u575b\u548c\u95ee\u7b54\u5e73\u53f0<\/strong>\uff1a\u5982Stack Overflow\u548cReddit\u7b49\u5e73\u53f0\u4e0a\u6709\u8bb8\u591a\u5173\u4e8ePython\u6a21\u5757\u7684\u8ba8\u8bba\u548c\u95ee\u9898\u89e3\u7b54\u3002<\/li>\n<\/ul>\n<p><p>\u901a\u8fc7\u7ed3\u5408\u8fd9\u4e9b\u8d44\u6e90\u548c\u5de5\u5177\uff0c\u53ef\u4ee5\u66f4\u5168\u9762\u5730\u4e86\u89e3\u548c\u4f7f\u7528Python\u6a21\u5757\u3002<\/p>\n<\/p>\n<h2><strong>\u516d\u3001\u603b\u7ed3<\/strong><\/h2>\n<p><p>\u67e5\u770bPython\u6a21\u5757\u7684\u5185\u5bb9\u548c\u529f\u80fd\u662fPython\u5f00\u53d1\u4e2d\u7684\u5e38\u89c1\u9700\u6c42\u3002\u901a\u8fc7<code>dir()<\/code>\u3001<code>.__doc__<\/code>\u3001<code>help()<\/code>\u3001\u67e5\u770b\u6e90\u4ee3\u7801\u4ee5\u53ca\u5229\u7528\u5728\u7ebf\u8d44\u6e90\uff0c\u53ef\u4ee5\u5168\u9762\u638c\u63e1\u6a21\u5757\u7684\u529f\u80fd\u548c\u7528\u6cd5\u3002\u6839\u636e\u4e0d\u540c\u7684\u9700\u6c42\u548c\u573a\u666f\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u6765\u83b7\u53d6\u6a21\u5757\u4fe1\u606f\uff0c\u53ef\u4ee5\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u548c\u4ee3\u7801\u8d28\u91cf\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u67e5\u770bPython\u6a21\u5757\u7684\u6587\u6863\u548c\u7528\u6cd5\uff1f<\/strong><br \/>\u60a8\u53ef\u4ee5\u4f7f\u7528Python\u7684\u5185\u7f6e\u51fd\u6570<code>help()<\/code>\u6765\u67e5\u770b\u6a21\u5757\u7684\u6587\u6863\u548c\u7528\u6cd5\u3002\u5728\u547d\u4ee4\u884c\u6216Python\u4ea4\u4e92\u5f0f\u73af\u5883\u4e2d\u8f93\u5165<code>import \u6a21\u5757\u540d<\/code>\uff0c\u7136\u540e\u4f7f\u7528<code>help(\u6a21\u5757\u540d)<\/code>\u5373\u53ef\u83b7\u53d6\u8be5\u6a21\u5757\u7684\u8be6\u7ec6\u4fe1\u606f\u548c\u4f7f\u7528\u793a\u4f8b\u3002\u6b64\u5916\uff0c\u8bb8\u591a\u6a21\u5757\u5728\u5176\u5b98\u65b9\u7f51\u7ad9\u6216GitHub\u9875\u9762\u4e0a\u90fd\u6709\u8be6\u7ec6\u7684\u6587\u6863\uff0c\u53ef\u4ee5\u63d0\u4f9b\u8fdb\u4e00\u6b65\u7684\u6307\u5bfc\u3002<\/p>\n<p><strong>\u5982\u4f55\u67e5\u627ePython\u6a21\u5757\u7684\u6e90\u4ee3\u7801\uff1f<\/strong><br \/>Python\u6a21\u5757\u7684\u6e90\u4ee3\u7801\u901a\u5e38\u53ef\u4ee5\u5728\u5176\u5b89\u88c5\u76ee\u5f55\u4e2d\u627e\u5230\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528<code>pip show \u6a21\u5757\u540d<\/code>\u547d\u4ee4\u67e5\u770b\u6a21\u5757\u7684\u5b89\u88c5\u8def\u5f84\u3002\u7136\u540e\uff0c\u5bfc\u822a\u5230\u8be5\u8def\u5f84\uff0c\u60a8\u53ef\u4ee5\u627e\u5230\u6a21\u5757\u7684\u6e90\u4ee3\u7801\u6587\u4ef6\uff0c\u901a\u5e38\u4ee5<code>.py<\/code>\u7ed3\u5c3e\u3002\u5982\u679c\u6a21\u5757\u662f\u5f00\u6e90\u7684\uff0c\u60a8\u8fd8\u53ef\u4ee5\u5728\u7f51\u4e0a\u627e\u5230\u5176\u6e90\u4ee3\u7801\uff0c\u6bd4\u5982\u5728GitHub\u4e0a\u641c\u7d22\u76f8\u5173\u9879\u76ee\u3002<\/p>\n<p><strong>\u5982\u4f55\u4e86\u89e3Python\u6a21\u5757\u7684\u7248\u672c\u4fe1\u606f\uff1f<\/strong><br \/>\u8981\u67e5\u770bPython\u6a21\u5757\u7684\u7248\u672c\u4fe1\u606f\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pip show \u6a21\u5757\u540d<\/code>\u547d\u4ee4\u3002\u8fd9\u5c06\u663e\u793a\u5305\u62ec\u7248\u672c\u53f7\u5728\u5185\u7684\u6a21\u5757\u8be6\u7ec6\u4fe1\u606f\u3002\u5982\u679c\u60a8\u5728Python\u73af\u5883\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>\u6a21\u5757\u540d.__version__<\/code>\u6765\u83b7\u53d6\u8be5\u6a21\u5757\u7684\u7248\u672c\u53f7\u3002\u786e\u4fdd\u5728\u4f7f\u7528\u6b64\u65b9\u6cd5\u4e4b\u524d\u5df2\u7ecf\u5bfc\u5165\u8be5\u6a21\u5757\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u67e5\u770b\u6a21\u5757\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u5185\u7f6e\u51fd\u6570dir()\u3001\u67e5\u770b\u6a21\u5757\u6587\u6863\u5b57\u7b26\u4e32.__doc__\u3001\u4f7f\u7528help( [&hellip;]","protected":false},"author":3,"featured_media":971251,"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\/971248"}],"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=971248"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/971248\/revisions"}],"predecessor-version":[{"id":971255,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/971248\/revisions\/971255"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/971251"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=971248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=971248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=971248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}