{"id":998480,"date":"2024-12-27T09:33:35","date_gmt":"2024-12-27T01:33:35","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/998480.html"},"modified":"2024-12-27T09:33:37","modified_gmt":"2024-12-27T01:33:37","slug":"python%e5%a6%82%e4%bd%95%e6%9f%a5%e8%af%a2%e6%a8%a1%e5%9d%97%e5%8a%9f%e8%83%bd","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/998480.html","title":{"rendered":"python\u5982\u4f55\u67e5\u8be2\u6a21\u5757\u529f\u80fd"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25073909\/44cce811-816b-4a9c-b39f-ee71ef3f72f3.webp\" alt=\"python\u5982\u4f55\u67e5\u8be2\u6a21\u5757\u529f\u80fd\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u67e5\u8be2\u6a21\u5757\u529f\u80fd\u7684\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528\u5185\u7f6e\u7684<code>help()<\/code>\u51fd\u6570\u3001\u4f7f\u7528<code>dir()<\/code>\u51fd\u6570\u3001\u67e5\u770b\u5b98\u65b9\u6587\u6863\u3001\u4f7f\u7528IDE\u7684\u81ea\u52a8\u8865\u5168\u548c\u4ee3\u7801\u5bfc\u822a\u529f\u80fd\u3002\u8fd9\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5feb\u901f\u4e86\u89e3\u6a21\u5757\u4e2d\u53ef\u7528\u7684\u529f\u80fd\uff0c\u7279\u522b\u662f\u901a\u8fc7<code>help()<\/code>\u51fd\u6570\uff0c\u5b83\u80fd\u591f\u63d0\u4f9b\u6a21\u5757\u3001\u7c7b\u3001\u51fd\u6570\u548c\u65b9\u6cd5\u7684\u8be6\u7ec6\u8bf4\u660e\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528<code>help()<\/code>\u51fd\u6570\u662f\u4e00\u79cd\u975e\u5e38\u4fbf\u6377\u7684\u65b9\u5f0f\u6765\u67e5\u8be2\u6a21\u5757\u7684\u529f\u80fd\u3002<code>help()<\/code>\u662fPython\u7684\u5185\u7f6e\u51fd\u6570\uff0c\u901a\u8fc7\u5b83\u53ef\u4ee5\u67e5\u770bPython\u5bf9\u8c61\u7684\u5e2e\u52a9\u4fe1\u606f\uff0c\u5305\u62ec\u6a21\u5757\u3001\u7c7b\u3001\u51fd\u6570\u3001\u65b9\u6cd5\u7b49\u3002\u5f53\u4f60\u4e0d\u786e\u5b9a\u4e00\u4e2a\u6a21\u5757\u6216\u8005\u51fd\u6570\u7684\u7528\u6cd5\u65f6\uff0c\u53ef\u4ee5\u5728\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\u4e2d\u8f93\u5165<code>help(module_name)<\/code>\u6765\u83b7\u53d6\u76f8\u5173\u4fe1\u606f\u3002<code>help()<\/code>\u51fd\u6570\u4e0d\u4ec5\u53ef\u4ee5\u5c55\u793a\u6a21\u5757\u4e2d\u53ef\u7528\u7684\u51fd\u6570\u548c\u7c7b\uff0c\u8fd8\u53ef\u4ee5\u63d0\u4f9b\u5b83\u4eec\u7684\u6587\u6863\u5b57\u7b26\u4e32\uff0c\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7406\u89e3\u5b83\u4eec\u7684\u7528\u9014\u548c\u7528\u6cd5\u3002<\/p>\n<\/p>\n<hr>\n<p><p>\u4e00\u3001\u4f7f\u7528<code>HELP()<\/code>\u51fd\u6570<\/p>\n<\/p>\n<p><p><code>help()<\/code>\u51fd\u6570\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5728Python\u4e2d\u5feb\u901f\u4e86\u89e3\u6a21\u5757\u3001\u7c7b\u3001\u51fd\u6570\u7b49\u7684\u8be6\u7ec6\u4fe1\u606f\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528\u65b9\u6cd5<\/strong><\/p>\n<\/p>\n<p><p>\u5728Python\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\u4e2d\uff0c\u4f60\u53ef\u4ee5\u7b80\u5355\u5730\u8f93\u5165<code>help(module_name)<\/code>\u6765\u83b7\u53d6\u6a21\u5757\u7684\u5e2e\u52a9\u4fe1\u606f\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u60f3\u67e5\u770b<code>math<\/code>\u6a21\u5757\u7684\u529f\u80fd\uff0c\u4f60\u53ef\u4ee5\u8f93\u5165\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\u5c06\u4f1a\u8f93\u51fa<code>math<\/code>\u6a21\u5757\u4e2d\u6240\u6709\u51fd\u6570\u548c\u5e38\u91cf\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u5305\u62ec\u6bcf\u4e2a\u51fd\u6570\u7684\u7528\u9014\u3001\u53c2\u6570\u7b49\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5e94\u7528\u573a\u666f<\/strong><\/p>\n<\/p>\n<p><p><code>help()<\/code>\u51fd\u6570\u975e\u5e38\u9002\u5408\u5728\u5feb\u901f\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u4f7f\u7528\uff0c\u5c24\u5176\u662f\u5728\u4f60\u9700\u8981\u5feb\u901f\u4e86\u89e3\u67d0\u4e2a\u6a21\u5757\u6216\u51fd\u6570\u7684\u5177\u4f53\u7528\u6cd5\u65f6\u3002\u5bf9\u4e8e\u6807\u51c6\u5e93\u548c\u5927\u591a\u6570\u7b2c\u4e09\u65b9\u5e93\uff0c<code>help()<\/code>\u51fd\u6570\u90fd\u80fd\u63d0\u4f9b\u8be6\u7ec6\u7684\u6587\u6863\u5b57\u7b26\u4e32\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\u8fd4\u56de\u4e00\u4e2a\u6a21\u5757\u3001\u7c7b\u3001\u5b9e\u4f8b\u6216\u5176\u4ed6\u5bf9\u8c61\u7684\u5c5e\u6027\u5217\u8868\uff0c\u53ef\u4ee5\u7528\u4e8e\u67e5\u770b\u6a21\u5757\u4e2d\u5b9a\u4e49\u7684\u540d\u79f0\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528\u65b9\u6cd5<\/strong><\/p>\n<\/p>\n<p><p>\u4f60\u53ef\u4ee5\u4f7f\u7528<code>dir(module_name)<\/code>\u6765\u83b7\u53d6\u6a21\u5757\u4e2d\u7684\u6240\u6709\u53ef\u7528\u540d\u79f0\uff08\u51fd\u6570\u3001\u7c7b\u3001\u53d8\u91cf\u7b49\uff09\u3002\u4f8b\u5982\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\u4e00\u4e2a\u5217\u8868\uff0c\u5305\u542b<code>math<\/code>\u6a21\u5757\u4e2d\u5b9a\u4e49\u7684\u6240\u6709\u540d\u79f0\u3002\u8fd9\u5bf9\u4e8e\u5feb\u901f\u4e86\u89e3\u6a21\u5757\u4e2d\u6709\u54ea\u4e9b\u529f\u80fd\u662f\u975e\u5e38\u6709\u7528\u7684\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5e94\u7528\u573a\u666f<\/strong><\/p>\n<\/p>\n<p><p><code>dir()<\/code>\u51fd\u6570\u9002\u5408\u5728\u4f60\u60f3\u5feb\u901f\u6d4f\u89c8\u67d0\u4e2a\u6a21\u5757\u4e2d\u5b9a\u4e49\u7684\u6240\u6709\u540d\u79f0\u65f6\u4f7f\u7528\uff0c\u5c24\u5176\u662f\u5728\u6a21\u5757\u6ca1\u6709\u63d0\u4f9b\u8be6\u7ec6\u6587\u6863\u65f6\u3002\u8fd9\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5feb\u901f\u8bc6\u522b\u51fa\u53ef\u80fd\u611f\u5174\u8da3\u7684\u51fd\u6570\u6216\u7c7b\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u67e5\u770b\u5b98\u65b9\u6587\u6863<\/p>\n<\/p>\n<p><p>\u5b98\u65b9\u6587\u6863\u662f\u4e86\u89e3\u6a21\u5757\u529f\u80fd\u6700\u6743\u5a01\u7684\u6765\u6e90\uff0c\u7279\u522b\u662f\u5728\u6d89\u53ca\u5230\u590d\u6742\u7684\u5e93\u548c\u6846\u67b6\u65f6\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u83b7\u53d6\u65b9\u6cd5<\/strong><\/p>\n<\/p>\n<p><p>\u5927\u591a\u6570Python\u6a21\u5757\uff0c\u5c24\u5176\u662f\u6807\u51c6\u5e93\u6a21\u5757\u548c\u6d41\u884c\u7684\u7b2c\u4e09\u65b9\u5e93\uff0c\u90fd\u6709\u8be6\u7ec6\u7684\u5728\u7ebf\u6587\u6863\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u641c\u7d22\u5f15\u64ce\u641c\u7d22\u6a21\u5757\u540d\u52a0\u4e0a\u201cdocumentation\u201d\u6765\u627e\u5230\u3002\u4f8b\u5982\uff0c\u641c\u7d22\u201cPython math module documentation\u201d\u53ef\u4ee5\u627e\u5230<code>math<\/code>\u6a21\u5757\u7684\u5b98\u65b9\u6587\u6863\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5e94\u7528\u573a\u666f<\/strong><\/p>\n<\/p>\n<p><p>\u5f53\u4f60\u9700\u8981\u6df1\u5165\u4e86\u89e3\u67d0\u4e2a\u6a21\u5757\u7684\u529f\u80fd\uff0c\u6216\u8005\u60f3\u8981\u4e86\u89e3\u4e00\u4e9b\u590d\u6742\u7684\u7528\u6cd5\u548c\u793a\u4f8b\u65f6\uff0c\u5b98\u65b9\u6587\u6863\u662f\u6700\u4f73\u7684\u9009\u62e9\u3002\u5b98\u65b9\u6587\u6863\u901a\u5e38\u5305\u542b\u8be6\u7ec6\u7684\u8bf4\u660e\u3001\u793a\u4f8b\u4ee3\u7801\u3001\u53c2\u6570\u89e3\u91ca\u7b49\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u4f7f\u7528IDE\u7684\u81ea\u52a8\u8865\u5168\u548c\u4ee3\u7801\u5bfc\u822a\u529f\u80fd<\/p>\n<\/p>\n<p><p>\u73b0\u4ee3\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u901a\u5e38\u63d0\u4f9b\u5f3a\u5927\u7684\u4ee3\u7801\u8865\u5168\u548c\u5bfc\u822a\u529f\u80fd\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u4e86\u89e3\u6a21\u5757\u529f\u80fd\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u529f\u80fd\u4ecb\u7ecd<\/strong><\/p>\n<\/p>\n<p><p>\u5927\u591a\u6570IDE\uff0c\u5982PyCharm\u3001VSCode\u3001Jupyter Notebook\u7b49\uff0c\u90fd\u652f\u6301\u81ea\u52a8\u8865\u5168\u529f\u80fd\u3002\u5f53\u4f60\u8f93\u5165\u6a21\u5757\u540d\u548c\u70b9\u53f7\u65f6\uff0cIDE\u4f1a\u5f39\u51fa\u4e00\u4e2a\u53ef\u7528\u540d\u79f0\u7684\u5217\u8868\uff0c\u5e2e\u52a9\u4f60\u5feb\u901f\u9009\u62e9\u6240\u9700\u7684\u51fd\u6570\u6216\u7c7b\u3002\u6b64\u5916\uff0cIDE\u901a\u5e38\u652f\u6301\u4ee3\u7801\u5bfc\u822a\u529f\u80fd\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u5feb\u6377\u952e\u5feb\u901f\u8df3\u8f6c\u5230\u51fd\u6570\u6216\u7c7b\u7684\u5b9a\u4e49\u5904\uff0c\u67e5\u770b\u5176\u5b9e\u73b0\u548c\u6587\u6863\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5e94\u7528\u573a\u666f<\/strong><\/p>\n<\/p>\n<p><p>\u5f53\u4f60\u5728\u7f16\u5199\u4ee3\u7801\u65f6\u9700\u8981\u5feb\u901f\u67e5\u627e\u67d0\u4e2a\u51fd\u6570\u6216\u7c7b\u7684\u5177\u4f53\u7528\u6cd5\u65f6\uff0cIDE\u7684\u81ea\u52a8\u8865\u5168\u548c\u4ee3\u7801\u5bfc\u822a\u529f\u80fd\u975e\u5e38\u6709\u7528\u3002\u8fd9\u4e9b\u529f\u80fd\u53ef\u4ee5\u663e\u8457\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\uff0c\u7279\u522b\u662f\u5728\u5904\u7406\u5927\u578b\u4ee3\u7801\u5e93\u65f6\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u4f7f\u7528\u5728\u7ebf\u8d44\u6e90\u548c\u793e\u533a<\/p>\n<\/p>\n<p><p>\u9664\u4e86\u5b98\u65b9\u6587\u6863\u548cIDE\uff0c\u5728\u7ebf\u8d44\u6e90\u548c\u793e\u533a\u4e5f\u662f\u4e86\u89e3Python\u6a21\u5757\u529f\u80fd\u7684\u91cd\u8981\u6765\u6e90\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5728\u7ebf\u6559\u7a0b\u548c\u535a\u5ba2<\/strong><\/p>\n<\/p>\n<p><p>\u8bb8\u591a\u5728\u7ebf\u6559\u7a0b\u548c\u6280\u672f\u535a\u5ba2\u63d0\u4f9b\u4e86\u5173\u4e8ePython\u6a21\u5757\u7684\u8be6\u7ec6\u8bb2\u89e3\u548c\u793a\u4f8b\u4ee3\u7801\u3002\u901a\u8fc7\u9605\u8bfb\u8fd9\u4e9b\u8d44\u6e90\uff0c\u4f60\u53ef\u4ee5\u5b66\u4e60\u5230\u5f88\u591a\u5b9e\u7528\u7684\u6280\u5de7\u548c\u6700\u4f73\u5b9e\u8df5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6280\u672f\u8bba\u575b\u548c\u95ee\u7b54\u7f51\u7ad9<\/strong><\/p>\n<\/p>\n<p><p>\u7f51\u7ad9\u5982Stack Overflow\u7b49\u6280\u672f\u8bba\u575b\u4e0a\uff0c\u5f00\u53d1\u8005\u4eec\u7ecf\u5e38\u5206\u4eab\u4ed6\u4eec\u5bf9\u67d0\u4e9b\u6a21\u5757\u6216\u51fd\u6570\u7684\u7406\u89e3\u548c\u4f7f\u7528\u7ecf\u9a8c\u3002\u901a\u8fc7\u5728\u8fd9\u4e9b\u5e73\u53f0\u4e0a\u63d0\u95ee\u6216\u641c\u7d22\uff0c\u4f60\u53ef\u4ee5\u83b7\u5f97\u5f88\u591a\u6709\u4ef7\u503c\u7684\u4fe1\u606f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u7efc\u4e0a\u6240\u8ff0\uff0cPython\u63d0\u4f9b\u4e86\u591a\u79cd\u65b9\u5f0f\u6765\u67e5\u8be2\u6a21\u5757\u529f\u80fd\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u597d\u5730\u7406\u89e3\u548c\u4f7f\u7528\u6a21\u5757\u3002\u901a\u8fc7\u7ed3\u5408\u4f7f\u7528<code>help()<\/code>\u3001<code>dir()<\/code>\u51fd\u6570\u3001\u67e5\u770b\u5b98\u65b9\u6587\u6863\u3001\u5229\u7528IDE\u5de5\u5177\u4ee5\u53ca\u53c2\u8003\u5728\u7ebf\u8d44\u6e90\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u66f4\u9ad8\u6548\u5730\u638c\u63e1Python\u6a21\u5757\u7684\u4f7f\u7528\u3002\u65e0\u8bba\u662f\u521d\u5b66\u8005\u8fd8\u662f\u6709\u7ecf\u9a8c\u7684\u5f00\u53d1\u8005\uff0c\u8fd9\u4e9b\u65b9\u6cd5\u90fd\u80fd\u5728\u65e5\u5e38\u5f00\u53d1\u4e2d\u63d0\u4f9b\u5f88\u5927\u7684\u5e2e\u52a9\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\u529f\u80fd\uff1f<\/strong><br \/>\u8981\u67e5\u8be2Python\u6a21\u5757\u7684\u529f\u80fd\uff0c\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u7684<code>help()<\/code>\u51fd\u6570\u3002\u53ea\u9700\u5728Python\u4ea4\u4e92\u5f0f\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>help(\u6a21\u5757\u540d)<\/code>\uff0c\u5c31\u4f1a\u663e\u793a\u8be5\u6a21\u5757\u7684\u6587\u6863\u5b57\u7b26\u4e32\u548c\u53ef\u7528\u51fd\u6570\u5217\u8868\u3002\u6b64\u5916\uff0c\u8fd8\u53ef\u4ee5\u8bbf\u95eePython\u5b98\u65b9\u6587\u6863\u7f51\u7ad9\uff0c\u8f93\u5165\u6a21\u5757\u540d\u79f0\u8fdb\u884c\u641c\u7d22\uff0c\u4ee5\u83b7\u53d6\u8be6\u7ec6\u4fe1\u606f\u548c\u4f7f\u7528\u793a\u4f8b\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u67e5\u627e\u6a21\u5757\u7684\u53ef\u7528\u51fd\u6570\u548c\u5c5e\u6027\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u7684<code>dir()<\/code>\u51fd\u6570\u6765\u5217\u51fa\u6a21\u5757\u4e2d\u7684\u6240\u6709\u5c5e\u6027\u548c\u65b9\u6cd5\u3002\u53ea\u9700\u8f93\u5165<code>dir(\u6a21\u5757\u540d)<\/code>\uff0c\u7cfb\u7edf\u5c31\u4f1a\u8fd4\u56de\u4e00\u4e2a\u5305\u542b\u8be5\u6a21\u5757\u6240\u6709\u529f\u80fd\u7684\u5217\u8868\u3002\u8fd9\u79cd\u65b9\u6cd5\u975e\u5e38\u65b9\u4fbf\uff0c\u53ef\u4ee5\u5feb\u901f\u4e86\u89e3\u6a21\u5757\u7684\u7ed3\u6784\u548c\u53ef\u7528\u529f\u80fd\u3002<\/p>\n<p><strong>\u5982\u4f55\u4f7f\u7528\u7b2c\u4e09\u65b9\u5de5\u5177\u6765\u67e5\u8be2Python\u6a21\u5757\u7684\u529f\u80fd\uff1f<\/strong><br \/>\u6709\u8bb8\u591a\u7b2c\u4e09\u65b9\u5de5\u5177\u548c\u5e93\u53ef\u4ee5\u5e2e\u52a9\u67e5\u8be2Python\u6a21\u5757\u7684\u529f\u80fd\uff0c\u4f8b\u5982<code>pydoc<\/code>\u548c<code>Sphinx<\/code>\u3002<code>pydoc<\/code>\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u751f\u6210\u6a21\u5757\u7684\u6587\u6863\uff0c\u4f7f\u7528\u65b9\u6cd5\u4e3a<code>pydoc \u6a21\u5757\u540d<\/code>\u3002\u53e6\u5916\uff0c<code>Sphinx<\/code>\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u6587\u6863\u751f\u6210\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u66f4\u4e3a\u8be6\u5c3d\u7684\u6a21\u5757\u6587\u6863\uff0c\u901a\u8fc7\u914d\u7f6e\u548c\u7f16\u5199\u6587\u6863\u6587\u4ef6\uff0c\u80fd\u591f\u751f\u6210HTML\u6216PDF\u683c\u5f0f\u7684\u6587\u6863\uff0c\u4fbf\u4e8e\u5b66\u4e60\u548c\u67e5\u8be2\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u67e5\u8be2\u6a21\u5757\u529f\u80fd\u7684\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528\u5185\u7f6e\u7684help()\u51fd\u6570\u3001\u4f7f\u7528dir()\u51fd\u6570\u3001\u67e5\u770b\u5b98\u65b9\u6587\u6863\u3001\u4f7f\u7528IDE [&hellip;]","protected":false},"author":3,"featured_media":998486,"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\/998480"}],"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=998480"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/998480\/revisions"}],"predecessor-version":[{"id":998490,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/998480\/revisions\/998490"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/998486"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=998480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=998480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=998480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}