{"id":926163,"date":"2024-12-26T15:46:21","date_gmt":"2024-12-26T07:46:21","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/926163.html"},"modified":"2024-12-26T15:46:23","modified_gmt":"2024-12-26T07:46:23","slug":"python%e5%a6%82%e4%bd%95%e5%8f%98%e5%bf%ab","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/926163.html","title":{"rendered":"python\u5982\u4f55\u53d8\u5feb"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25062914\/3da59d1d-966c-4b1e-b7b7-59e4559f2227.webp\" alt=\"python\u5982\u4f55\u53d8\u5feb\" \/><\/p>\n<p><p> <strong>Python\u53d8\u5feb\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u5408\u9002\u7684\u6570\u636e\u7ed3\u6784\u3001\u4f18\u5316\u7b97\u6cd5\u3001\u5229\u7528\u591a\u7ebf\u7a0b\u6216\u591a\u8fdb\u7a0b\u3001\u4f7f\u7528Cython\u6216NumPy\u7b49\u5e93\u3002<\/strong>\u9009\u62e9\u5408\u9002\u7684\u6570\u636e\u7ed3\u6784\u53ef\u4ee5\u6781\u5927\u5730\u63d0\u5347\u7a0b\u5e8f\u7684\u6548\u7387\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u5b57\u5178\u800c\u4e0d\u662f\u5217\u8868\u8fdb\u884c\u67e5\u627e\u64cd\u4f5c\uff0c\u53ef\u4ee5\u5c06\u65f6\u95f4\u590d\u6742\u5ea6\u4eceO(n)\u964d\u4f4e\u5230O(1)\u3002\u4f18\u5316\u7b97\u6cd5\u662f\u53e6\u4e00\u4e2a\u91cd\u8981\u7684\u65b9\u9762\uff0c\u901a\u8fc7\u9009\u62e9\u66f4\u6709\u6548\u7684\u7b97\u6cd5\uff0c\u53ef\u4ee5\u663e\u8457\u51cf\u5c11\u7a0b\u5e8f\u7684\u8fd0\u884c\u65f6\u95f4\u3002\u6b64\u5916\uff0cPython\u5185\u7f6e\u7684\u591a\u7ebf\u7a0b\u548c\u591a\u8fdb\u7a0b\u6a21\u5757\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5145\u5206\u5229\u7528\u591a\u6838\u5904\u7406\u5668\u7684\u80fd\u529b\uff0c\u63d0\u5347\u7a0b\u5e8f\u6267\u884c\u901f\u5ea6\u3002Cython\u548cNumPy\u7b49\u5e93\u5219\u901a\u8fc7\u5c06\u90e8\u5206\u4ee3\u7801\u7f16\u8bd1\u4e3aC\u8bed\u8a00\u6216\u8005\u5229\u7528\u9ad8\u6548\u7684\u6570\u5b66\u8fd0\u7b97\u5e93\uff0c\u8fdb\u4e00\u6b65\u63d0\u9ad8\u6267\u884c\u6548\u7387\u3002<\/p>\n<\/p>\n<p><p>\u4ee5\u4e0b\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\u6765\u52a0\u901fPython\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u5408\u9002\u7684\u6570\u636e\u7ed3\u6784<\/h3>\n<\/p>\n<p><p>\u9009\u62e9\u5408\u9002\u7684\u6570\u636e\u7ed3\u6784\u662f\u63d0\u5347Python\u7a0b\u5e8f\u6027\u80fd\u7684\u5173\u952e\u4e4b\u4e00\u3002Python\u63d0\u4f9b\u4e86\u591a\u79cd\u6570\u636e\u7ed3\u6784\uff0c\u5982\u5217\u8868\u3001\u96c6\u5408\u3001\u5b57\u5178\u3001\u961f\u5217\u7b49\uff0c\u6bcf\u79cd\u90fd\u6709\u5176\u72ec\u7279\u7684\u4f18\u7f3a\u70b9\u548c\u9002\u7528\u573a\u666f\u3002<\/p>\n<\/p>\n<p><h4>1. \u5217\u8868\u4e0e\u5b57\u5178\u7684\u9009\u62e9<\/h4>\n<\/p>\n<p><p>\u5217\u8868\u662fPython\u4e2d\u6700\u5e38\u7528\u7684\u6570\u636e\u7ed3\u6784\u4e4b\u4e00\uff0c\u4f46\u5728\u9700\u8981\u5feb\u901f\u67e5\u627e\u6216\u63d2\u5165\u65f6\uff0c\u5b57\u5178\u901a\u5e38\u662f\u66f4\u597d\u7684\u9009\u62e9\u3002\u5b57\u5178\u4f7f\u7528\u54c8\u5e0c\u8868\u5b9e\u73b0\uff0c\u67e5\u627e\u548c\u63d2\u5165\u64cd\u4f5c\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u4e3aO(1)\uff0c\u800c\u5217\u8868\u7684\u67e5\u627e\u662fO(n)\u3002\u5728\u5904\u7406\u5927\u91cf\u6570\u636e\u65f6\uff0c\u8fd9\u79cd\u5dee\u5f02\u4f1a\u663e\u8457\u5f71\u54cd\u6027\u80fd\u3002<\/p>\n<\/p>\n<p><h4>2. \u96c6\u5408\u7684\u4f7f\u7528<\/h4>\n<\/p>\n<p><p>\u96c6\u5408\u662f\u53e6\u4e00\u79cd\u54c8\u5e0c\u8868\u5b9e\u73b0\u7684\u6570\u636e\u7ed3\u6784\uff0c\u7528\u4e8e\u5b58\u50a8\u4e0d\u91cd\u590d\u7684\u5143\u7d20\u3002\u5b83\u5141\u8bb8\u5feb\u901f\u7684\u6210\u5458\u68c0\u67e5\u548c\u53bb\u91cd\u64cd\u4f5c\uff0c\u975e\u5e38\u9002\u5408\u9700\u8981\u9891\u7e41\u67e5\u627e\u548c\u53bb\u91cd\u7684\u573a\u666f\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f18\u5316\u7b97\u6cd5<\/h3>\n<\/p>\n<p><p>\u9009\u62e9\u548c\u4f18\u5316\u7b97\u6cd5\u662f\u53e6\u4e00\u4e2a\u63d0\u5347Python\u7a0b\u5e8f\u6027\u80fd\u7684\u91cd\u8981\u65b9\u6cd5\u3002\u9009\u62e9\u5408\u9002\u7684\u7b97\u6cd5\u53ef\u4ee5\u51cf\u5c11\u7a0b\u5e8f\u7684\u65f6\u95f4\u590d\u6742\u5ea6\uff0c\u4ece\u800c\u52a0\u901f\u7a0b\u5e8f\u8fd0\u884c\u3002<\/p>\n<\/p>\n<p><h4>1. \u65f6\u95f4\u590d\u6742\u5ea6\u7684\u8003\u8651<\/h4>\n<\/p>\n<p><p>\u5728\u9009\u62e9\u7b97\u6cd5\u65f6\uff0c\u5e94\u8be5\u4f18\u5148\u8003\u8651\u65f6\u95f4\u590d\u6742\u5ea6\u3002\u5bf9\u4e8e\u9700\u8981\u6392\u5e8f\u7684\u4efb\u52a1\uff0c\u9009\u62e9\u5408\u9002\u7684\u6392\u5e8f\u7b97\u6cd5\u53ef\u4ee5\u663e\u8457\u63d0\u9ad8\u6548\u7387\u3002\u4f8b\u5982\uff0c\u5feb\u901f\u6392\u5e8f\u7684\u5e73\u5747\u65f6\u95f4\u590d\u6742\u5ea6\u4e3aO(n log n)\uff0c\u800c\u5192\u6ce1\u6392\u5e8f\u4e3aO(n^2)\u3002<\/p>\n<\/p>\n<p><h4>2. \u4f7f\u7528\u52a8\u6001\u89c4\u5212<\/h4>\n<\/p>\n<p><p>\u52a8\u6001\u89c4\u5212\u662f\u4e00\u79cd\u4f18\u5316\u6280\u672f\uff0c\u9002\u7528\u4e8e\u5177\u6709\u91cd\u53e0\u5b50\u95ee\u9898\u7684\u4efb\u52a1\u3002\u901a\u8fc7\u5b58\u50a8\u5b50\u95ee\u9898\u7684\u89e3\uff0c\u53ef\u4ee5\u907f\u514d\u91cd\u590d\u8ba1\u7b97\uff0c\u4ece\u800c\u52a0\u5feb\u7a0b\u5e8f\u8fd0\u884c\u901f\u5ea6\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u5229\u7528\u591a\u7ebf\u7a0b\u6216\u591a\u8fdb\u7a0b<\/h3>\n<\/p>\n<p><p>Python\u7684\u591a\u7ebf\u7a0b\u548c\u591a\u8fdb\u7a0b\u6a21\u5757\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5145\u5206\u5229\u7528\u73b0\u4ee3\u5904\u7406\u5668\u7684\u591a\u6838\u80fd\u529b\uff0c\u63d0\u5347\u7a0b\u5e8f\u6267\u884c\u901f\u5ea6\u3002<\/p>\n<\/p>\n<p><h4>1. \u591a\u7ebf\u7a0b\u7684\u4f7f\u7528<\/h4>\n<\/p>\n<p><p>\u5c3d\u7ba1Python\u7684\u5168\u5c40\u89e3\u91ca\u5668\u9501\uff08GIL\uff09\u9650\u5236\u4e86\u591a\u7ebf\u7a0b\u7684\u5e76\u884c\u6267\u884c\uff0c\u4f46\u5bf9\u4e8eI\/O\u5bc6\u96c6\u578b\u4efb\u52a1\uff0c\u591a\u7ebf\u7a0b\u4f9d\u7136\u53ef\u4ee5\u5e26\u6765\u663e\u8457\u7684\u6027\u80fd\u63d0\u5347\u3002<\/p>\n<\/p>\n<p><h4>2. \u591a\u8fdb\u7a0b\u7684\u4f7f\u7528<\/h4>\n<\/p>\n<p><p>\u5bf9\u4e8eCPU\u5bc6\u96c6\u578b\u4efb\u52a1\uff0c\u4f7f\u7528\u591a\u8fdb\u7a0b\u53ef\u4ee5\u7ed5\u8fc7GIL\u7684\u9650\u5236\uff0c\u5b9e\u73b0\u771f\u6b63\u7684\u5e76\u884c\u8ba1\u7b97\u3002Python\u7684<code>multiprocessing<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u521b\u5efa\u548c\u7ba1\u7406\u591a\u4e2a\u8fdb\u7a0b\u7684\u63a5\u53e3\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528Cython\u548cNumPy<\/h3>\n<\/p>\n<p><p>Cython\u548cNumPy\u662f\u4e24\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u5e2e\u52a9\u4f60\u8fdb\u4e00\u6b65\u4f18\u5316Python\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h4>1. Cython\u7684\u4f7f\u7528<\/h4>\n<\/p>\n<p><p>Cython\u5141\u8bb8\u4f60\u5c06Python\u4ee3\u7801\u7f16\u8bd1\u4e3aC\u8bed\u8a00\uff0c\u4ece\u800c\u63d0\u9ad8\u6267\u884c\u901f\u5ea6\u3002\u901a\u8fc7\u5728\u4ee3\u7801\u4e2d\u6dfb\u52a0\u7c7b\u578b\u58f0\u660e\u548c\u7f16\u8bd1\u4e3aC\uff0cCython\u53ef\u4ee5\u663e\u8457\u63d0\u5347\u6027\u80fd\u3002<\/p>\n<\/p>\n<p><h4>2. NumPy\u7684\u4f7f\u7528<\/h4>\n<\/p>\n<p><p>NumPy\u662f\u4e00\u4e2a\u7528\u4e8e\u79d1\u5b66\u8ba1\u7b97\u7684\u5e93\uff0c\u63d0\u4f9b\u4e86\u9ad8\u6548\u7684\u6570\u7ec4\u548c\u77e9\u9635\u64cd\u4f5c\u3002\u5229\u7528NumPy\u7684\u5411\u91cf\u5316\u64cd\u4f5c\uff0c\u53ef\u4ee5\u907f\u514dPython\u7684\u5faa\u73af\uff0c\u4ece\u800c\u63d0\u9ad8\u4ee3\u7801\u7684\u6267\u884c\u6548\u7387\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u5176\u4ed6\u4f18\u5316\u7b56\u7565<\/h3>\n<\/p>\n<p><p>\u9664\u4e86\u4e0a\u8ff0\u65b9\u6cd5\uff0c\u8fd8\u6709\u5176\u4ed6\u4e00\u4e9b\u7b56\u7565\u53ef\u4ee5\u5e2e\u52a9\u4f60\u4f18\u5316Python\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h4>1. \u907f\u514d\u4e0d\u5fc5\u8981\u7684\u8fd0\u7b97<\/h4>\n<\/p>\n<p><p>\u5728\u7f16\u5199\u4ee3\u7801\u65f6\uff0c\u5e94\u8be5\u5c3d\u91cf\u907f\u514d\u4e0d\u5fc5\u8981\u7684\u8ba1\u7b97\u3002\u4f8b\u5982\uff0c\u5728\u5faa\u73af\u4e2d\u907f\u514d\u91cd\u590d\u8ba1\u7b97\u5e38\u91cf\u6216\u4e0d\u53d8\u8868\u8fbe\u5f0f\u3002<\/p>\n<\/p>\n<p><h4>2. \u4f7f\u7528\u5185\u7f6e\u51fd\u6570\u548c\u5e93<\/h4>\n<\/p>\n<p><p>Python\u7684\u5185\u7f6e\u51fd\u6570\u548c\u6807\u51c6\u5e93\u901a\u5e38\u7ecf\u8fc7\u9ad8\u5ea6\u4f18\u5316\uff0c\u4f7f\u7528\u5b83\u4eec\u53ef\u4ee5\u63d0\u5347\u7a0b\u5e8f\u6027\u80fd\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>sum()<\/code>\u51fd\u6570\u800c\u4e0d\u662f\u624b\u52a8\u5b9e\u73b0\u6c42\u548c\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h4>3. \u4ee3\u7801\u5256\u6790\u548c\u6027\u80fd\u5206\u6790<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528\u4ee3\u7801\u5256\u6790\u5de5\u5177\uff0c\u5982<code>cProfile<\/code>\uff0c\u53ef\u4ee5\u5e2e\u52a9\u4f60\u8bc6\u522b\u7a0b\u5e8f\u4e2d\u7684\u6027\u80fd\u74f6\u9888\uff0c\u4ece\u800c\u9488\u5bf9\u6027\u5730\u8fdb\u884c\u4f18\u5316\u3002<\/p>\n<\/p>\n<p><p>\u603b\u4e4b\uff0c\u901a\u8fc7\u9009\u62e9\u5408\u9002\u7684\u6570\u636e\u7ed3\u6784\u3001\u4f18\u5316\u7b97\u6cd5\u3001\u5229\u7528\u591a\u7ebf\u7a0b\u6216\u591a\u8fdb\u7a0b\u3001\u4f7f\u7528Cython\u6216NumPy\u7b49\u5e93\uff0c\u4ee5\u53ca\u5176\u4ed6\u4f18\u5316\u7b56\u7565\uff0c\u4f60\u53ef\u4ee5\u6709\u6548\u5730\u52a0\u901fPython\u7a0b\u5e8f\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u9002\u7528\u7684\u573a\u666f\u548c\u4f18\u7f3a\u70b9\uff0c\u5177\u4f53\u9009\u62e9\u5e94\u6839\u636e\u5b9e\u9645\u9700\u6c42\u548c\u7a0b\u5e8f\u7279\u70b9\u8fdb\u884c\u6743\u8861\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u901a\u8fc7\u4f18\u5316\u4ee3\u7801\u63d0\u9ad8Python\u7a0b\u5e8f\u7684\u8fd0\u884c\u901f\u5ea6\uff1f<\/strong><br \/>\u4f18\u5316Python\u4ee3\u7801\u7684\u4e00\u4e2a\u6709\u6548\u65b9\u6cd5\u662f\u4f7f\u7528\u66f4\u9ad8\u6548\u7684\u7b97\u6cd5\u548c\u6570\u636e\u7ed3\u6784\u3002\u6bd4\u5982\uff0c\u4f7f\u7528\u5b57\u5178\u800c\u4e0d\u662f\u5217\u8868\u6765\u67e5\u627e\u6570\u636e\uff0c\u53ef\u4ee5\u663e\u8457\u63d0\u9ad8\u67e5\u627e\u901f\u5ea6\u3002\u6b64\u5916\uff0c\u907f\u514d\u5728\u5faa\u73af\u4e2d\u8fdb\u884c\u91cd\u590d\u8ba1\u7b97\uff0c\u5c06\u7ed3\u679c\u7f13\u5b58\u8d77\u6765\u4e5f\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002\u5229\u7528\u5185\u7f6e\u51fd\u6570\u548c\u5e93\uff08\u5982NumPy\u6216Pandas\uff09\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\u65f6\uff0c\u6027\u80fd\u5f80\u5f80\u66f4\u4f18\u3002\u6700\u540e\uff0c\u786e\u4fdd\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u7b80\u6d01\u6027\uff0c\u6709\u52a9\u4e8e\u540e\u7eed\u7684\u7ef4\u62a4\u548c\u4f18\u5316\u3002<\/p>\n<p><strong>\u6709\u54ea\u4e9b\u5de5\u5177\u53ef\u4ee5\u5e2e\u52a9\u6211\u5206\u6790\u548c\u63d0\u5347Python\u4ee3\u7801\u7684\u6027\u80fd\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u6709\u8bb8\u591a\u5de5\u5177\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5206\u6790\u4ee3\u7801\u6027\u80fd\u3002\u6bd4\u5982\uff0c\u4f7f\u7528<code>cProfile<\/code>\u53ef\u4ee5\u8be6\u7ec6\u5206\u6790\u51fd\u6570\u8c03\u7528\u7684\u65f6\u95f4\u6d88\u8017\u3002\u6b64\u5916\uff0c<code>line_profiler<\/code>\u53ef\u4ee5\u9010\u884c\u5206\u6790\u4ee3\u7801\u7684\u6267\u884c\u65f6\u95f4\uff0c\u5e2e\u52a9\u627e\u5230\u74f6\u9888\u3002\u5bf9\u4e8e\u5185\u5b58\u4f7f\u7528\u60c5\u51b5\uff0c\u53ef\u4ee5\u4f7f\u7528<code>memory_profiler<\/code>\u6765\u76d1\u6d4b\u548c\u4f18\u5316\u5185\u5b58\u6d88\u8017\u3002\u7ed3\u5408\u8fd9\u4e9b\u5de5\u5177\uff0c\u53ef\u4ee5\u66f4\u6e05\u6670\u5730\u4e86\u89e3\u4ee3\u7801\u7684\u8868\u73b0\u5e76\u8fdb\u884c\u76f8\u5e94\u7684\u4f18\u5316\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\uff0c\u4f7f\u7528\u54ea\u4e9b\u5e93\u53ef\u4ee5\u663e\u8457\u63d0\u5347\u6027\u80fd\uff1f<\/strong><br \/>\u6709\u51e0\u4e2a\u5e93\u53ef\u4ee5\u663e\u8457\u63d0\u5347Python\u7684\u6027\u80fd\u3002\u4f8b\u5982\uff0c<code>NumPy<\/code>\u63d0\u4f9b\u4e86\u9ad8\u6548\u7684\u6570\u7ec4\u64cd\u4f5c\uff0c\u9002\u5408\u8fdb\u884c\u6570\u503c\u8ba1\u7b97\uff1b<code>Cython<\/code>\u53ef\u4ee5\u5c06Python\u4ee3\u7801\u7f16\u8bd1\u4e3aC\u8bed\u8a00\uff0c\u4ece\u800c\u63d0\u9ad8\u6267\u884c\u901f\u5ea6\uff1b<code>multiprocessing<\/code>\u5e93\u5141\u8bb8\u5e76\u884c\u5904\u7406\uff0c\u5229\u7528\u591a\u6838CPU\u7684\u80fd\u529b\u52a0\u901f\u4efb\u52a1\u3002\u6b64\u5916\uff0c<code>PyPy<\/code>\u662f\u4e00\u4e2a\u66ff\u4ee3\u7684Python\u89e3\u91ca\u5668\uff0c\u901a\u5e38\u80fd\u63d0\u4f9b\u6bd4\u6807\u51c6CPython\u66f4\u5feb\u7684\u6267\u884c\u901f\u5ea6\uff0c\u7279\u522b\u662f\u5728\u957f\u65f6\u95f4\u8fd0\u884c\u7684\u7a0b\u5e8f\u4e2d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u53d8\u5feb\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u5408\u9002\u7684\u6570\u636e\u7ed3\u6784\u3001\u4f18\u5316\u7b97\u6cd5\u3001\u5229\u7528\u591a\u7ebf\u7a0b\u6216\u591a\u8fdb\u7a0b\u3001\u4f7f\u7528Cython\u6216NumPy\u7b49\u5e93 [&hellip;]","protected":false},"author":3,"featured_media":926170,"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\/926163"}],"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=926163"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/926163\/revisions"}],"predecessor-version":[{"id":926171,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/926163\/revisions\/926171"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/926170"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=926163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=926163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=926163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}