{"id":1004606,"date":"2024-12-27T10:27:56","date_gmt":"2024-12-27T02:27:56","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1004606.html"},"modified":"2024-12-27T10:28:01","modified_gmt":"2024-12-27T02:28:01","slug":"python%e5%a6%82%e4%bd%95%e8%bd%ac16%e8%bf%9b%e5%88%b6","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1004606.html","title":{"rendered":"python\u5982\u4f55\u8f6c16\u8fdb\u5236"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25081502\/a6921e35-ceab-4aaa-972a-5e0f85e16e98.webp\" alt=\"python\u5982\u4f55\u8f6c16\u8fdb\u5236\" \/><\/p>\n<p><p> \u5728Python\u4e2d\uff0c\u5c06\u6570\u5b57\u8f6c\u6362\u4e3a16\u8fdb\u5236\u7684\u65b9\u5f0f\u4e3b\u8981\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a<strong>\u4f7f\u7528\u5185\u7f6e\u51fd\u6570<code>hex()<\/code>\u3001\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u3001\u4f4d\u8fd0\u7b97<\/strong>\u3002\u5176\u4e2d\uff0c<code>hex()<\/code>\u51fd\u6570\u662f\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u4e4b\u4e00\uff0c\u56e0\u4e3a\u5b83\u7b80\u5355\u6613\u7528\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u63a2\u8ba8\u8fd9\u51e0\u79cd\u65b9\u6cd5\uff0c\u7279\u522b\u662f\u5982\u4f55\u4f7f\u7528<code>hex()<\/code>\u51fd\u6570\u6765\u5b9e\u73b0\u8f6c\u6362\u3002<\/p>\n<\/p>\n<p><p>\u4f7f\u7528<code>hex()<\/code>\u51fd\u6570\u65f6\uff0c\u53ea\u9700\u4f20\u5165\u4e00\u4e2a\u6574\u6570\uff0c\u51fd\u6570\u4f1a\u8fd4\u56de\u4e00\u4e2a\u4ee5<code>0x<\/code>\u5f00\u5934\u768416\u8fdb\u5236\u5b57\u7b26\u4e32\u3002\u4f8b\u5982\uff0c<code>hex(255)<\/code>\u4f1a\u8fd4\u56de<code>&#39;0xff&#39;<\/code>\u3002\u8fd9\u79cd\u65b9\u6cd5\u975e\u5e38\u7b80\u5355\u76f4\u89c2\uff0c\u9002\u5408\u5927\u591a\u6570\u573a\u666f\u3002\u6b64\u5916\uff0cPython\u8fd8\u63d0\u4f9b\u4e86\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u7684\u65b9\u6cd5\uff0c\u901a\u8fc7\u4f7f\u7528<code>format()<\/code>\u51fd\u6570\u6216f-string\u683c\u5f0f\u5316\u6765\u5b9e\u73b0\uff0c\u5c06\u6574\u6570\u683c\u5f0f\u5316\u4e3a16\u8fdb\u5236\u5b57\u7b26\u4e32\u3002\u8fd9\u79cd\u65b9\u6cd5\u53ef\u4ee5\u66f4\u7075\u6d3b\u5730\u63a7\u5236\u8f93\u51fa\u683c\u5f0f\uff0c\u6bd4\u5982\u53bb\u6389<code>0x<\/code>\u524d\u7f00\u3001\u8865\u96f6\u7b49\u3002\u6700\u540e\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528\u4f4d\u8fd0\u7b97\u6765\u5b9e\u73b0\u8fdb\u5236\u8f6c\u6362\uff0c\u8fd9\u79cd\u65b9\u6cd5\u66f4\u5e95\u5c42\uff0c\u9002\u5408\u5bf9\u4e8c\u8fdb\u5236\u548c16\u8fdb\u5236\u6709\u6df1\u5165\u7406\u89e3\u7684\u7528\u6237\u3002<\/p>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u65b9\u6cd5\u7684\u5177\u4f53\u4f7f\u7528\u65b9\u5f0f\u548c\u6ce8\u610f\u4e8b\u9879\u3002<\/p>\n<\/p>\n<p><h2>\u4e00\u3001\u4f7f\u7528<code>hex()<\/code>\u51fd\u6570<\/h2>\n<\/p>\n<p><p>Python\u4e2d\u7684<code>hex()<\/code>\u51fd\u6570\u662f\u6700\u76f4\u63a5\u7684\u65b9\u5f0f\u4e4b\u4e00\uff0c\u7528\u4e8e\u5c06\u6574\u6570\u8f6c\u6362\u4e3a16\u8fdb\u5236\u5b57\u7b26\u4e32\u3002\u51fd\u6570\u7684\u4f7f\u7528\u975e\u5e38\u7b80\u5355\uff0c\u4f20\u5165\u4e00\u4e2a\u6574\u6570\u53c2\u6570\uff0c\u8fd4\u56de\u4ee5<code>0x<\/code>\u4e3a\u524d\u7f00\u7684\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><h3>1.1 \u57fa\u672c\u7528\u6cd5<\/h3>\n<\/p>\n<p><p><code>hex()<\/code>\u51fd\u6570\u7684\u57fa\u672c\u7528\u6cd5\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">number = 255<\/p>\n<p>hex_number = hex(number)<\/p>\n<p>print(hex_number)  # \u8f93\u51fa\uff1a0xff<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6574\u6570<code>255<\/code>\u88ab\u8f6c\u6362\u4e3a16\u8fdb\u5236\u7684\u5b57\u7b26\u4e32<code>&#39;0xff&#39;<\/code>\u3002<\/p>\n<\/p>\n<p><h3>1.2 \u53bb\u6389<code>0x<\/code>\u524d\u7f00<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u4e0d\u9700\u8981<code>0x<\/code>\u524d\u7f00\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u5207\u7247\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">hex_number = hex(number)[2:]<\/p>\n<p>print(hex_number)  # \u8f93\u51fa\uff1aff<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>1.3 \u5904\u7406\u8d1f\u6570<\/h3>\n<\/p>\n<p><p><code>hex()<\/code>\u51fd\u6570\u540c\u6837\u652f\u6301\u8d1f\u6570\uff0c\u8fd4\u56de\u7684\u5b57\u7b26\u4e32\u4f1a\u4ee5<code>-0x<\/code>\u5f00\u5934\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">negative_number = -255<\/p>\n<p>hex_negative_number = hex(negative_number)<\/p>\n<p>print(hex_negative_number)  # \u8f93\u51fa\uff1a-0xff<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u4e8c\u3001\u4f7f\u7528\u683c\u5f0f\u5316\u5b57\u7b26\u4e32<\/h2>\n<\/p>\n<p><p>\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u662f\u4e00\u79cd\u7075\u6d3b\u4e14\u5f3a\u5927\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u66f4\u597d\u5730\u63a7\u5236\u8f93\u51fa\u683c\u5f0f\u3002\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>format()<\/code>\u51fd\u6570\u6216\u8005f-string\u6765\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><h3>2.1 \u4f7f\u7528<code>format()<\/code>\u51fd\u6570<\/h3>\n<\/p>\n<p><p><code>format()<\/code>\u51fd\u6570\u53ef\u4ee5\u7528\u4e8e\u5c06\u6574\u6570\u8f6c\u6362\u4e3a16\u8fdb\u5236\u5b57\u7b26\u4e32\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">number = 255<\/p>\n<p>hex_number = format(number, &#39;x&#39;)<\/p>\n<p>print(hex_number)  # \u8f93\u51fa\uff1aff<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f7f\u7528<code>&#39;x&#39;<\/code>\u4f5c\u4e3a\u683c\u5f0f\u8bf4\u660e\u7b26\uff0c\u53ef\u4ee5\u5f97\u5230\u5c0f\u5199\u768416\u8fdb\u5236\u5b57\u7b26\u4e32\uff1b\u4f7f\u7528<code>&#39;X&#39;<\/code>\u5219\u4f1a\u5f97\u5230\u5927\u5199\u5f62\u5f0f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">hex_number_upper = format(number, &#39;X&#39;)<\/p>\n<p>print(hex_number_upper)  # \u8f93\u51fa\uff1aFF<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>2.2 \u4f7f\u7528f-string<\/h3>\n<\/p>\n<p><p>Python3.6\u53ca\u4ee5\u4e0a\u7248\u672c\u652f\u6301f-string\uff0c\u53ef\u4ee5\u5728\u5b57\u7b26\u4e32\u4e2d\u76f4\u63a5\u5d4c\u5165\u8868\u8fbe\u5f0f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">hex_number = f&quot;{number:x}&quot;<\/p>\n<p>print(hex_number)  # \u8f93\u51fa\uff1aff<\/p>\n<p>hex_number_upper = f&quot;{number:X}&quot;<\/p>\n<p>print(hex_number_upper)  # \u8f93\u51fa\uff1aFF<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>2.3 \u8865\u96f6\u5bf9\u9f50<\/h3>\n<\/p>\n<p><p>\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9a\u5bbd\u5ea6\u6765\u8865\u96f6\uff0c\u4f7f\u8f93\u51fa\u5bf9\u9f50\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">number = 15<\/p>\n<p>hex_number = f&quot;{number:04x}&quot;<\/p>\n<p>print(hex_number)  # \u8f93\u51fa\uff1a000f<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u4e09\u3001\u4f7f\u7528\u4f4d\u8fd0\u7b97<\/h2>\n<\/p>\n<p><p>\u867d\u7136\u4f4d\u8fd0\u7b97\u4e0d\u5982\u524d\u4e24\u79cd\u65b9\u6cd5\u76f4\u89c2\uff0c\u4f46\u5b83\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u66f4\u4e3a\u5e95\u5c42\u548c\u9ad8\u6548\u3002\u4f7f\u7528\u4f4d\u8fd0\u7b97\u53ef\u4ee5\u624b\u52a8\u5b9e\u73b0\u8fdb\u5236\u8f6c\u6362\u3002<\/p>\n<\/p>\n<p><h3>3.1 \u4f4d\u8fd0\u7b97\u57fa\u7840<\/h3>\n<\/p>\n<p><p>\u4f4d\u8fd0\u7b97\u6d89\u53ca\u5230\u6309\u4f4d\u4e0e\u3001\u6216\u3001\u5f02\u6216\u3001\u5de6\u79fb\u3001\u53f3\u79fb\u7b49\u64cd\u4f5c\u3002\u5728\u8fdb\u5236\u8f6c\u6362\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u5229\u7528\u5de6\u79fb\u548c\u53f3\u79fb\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h3>3.2 \u5b9e\u73b0\u8fdb\u5236\u8f6c\u6362<\/h3>\n<\/p>\n<p><p>\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u79fb\u4f4d\u548c\u63a9\u7801\u7684\u65b9\u5f0f\u624b\u52a8\u5c06\u6574\u6570\u8f6c\u6362\u4e3a16\u8fdb\u5236\u5b57\u7b26\u4e32\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def to_hex(n):<\/p>\n<p>    hex_chars = &quot;0123456789abcdef&quot;<\/p>\n<p>    if n == 0:<\/p>\n<p>        return &quot;0&quot;<\/p>\n<p>    hex_str = &quot;&quot;<\/p>\n<p>    while n &gt; 0:<\/p>\n<p>        hex_str = hex_chars[n &amp; 0xf] + hex_str<\/p>\n<p>        n &gt;&gt;= 4<\/p>\n<p>    return hex_str<\/p>\n<p>number = 255<\/p>\n<p>hex_number = to_hex(number)<\/p>\n<p>print(hex_number)  # \u8f93\u51fa\uff1aff<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u521b\u5efa\u4e86\u4e00\u4e2a<code>to_hex<\/code>\u51fd\u6570\uff0c\u5b83\u901a\u8fc7\u4e0d\u65ad\u5730\u53f3\u79fb\u6574\u6570\u5e76\u4f7f\u7528\u63a9\u7801<code>0xf<\/code>\u6765\u83b7\u53d6\u6bcf\u4e00\u4f4d\u768416\u8fdb\u5236\u503c\u3002<\/p>\n<\/p>\n<p><h2>\u56db\u3001\u5e94\u7528\u573a\u666f<\/h2>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u5c06\u6574\u6570\u8f6c\u6362\u4e3a16\u8fdb\u5236\u7684\u9700\u6c42\u975e\u5e38\u5e7f\u6cdb\uff0c\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><h3>4.1 \u6570\u636e\u683c\u5f0f\u5316<\/h3>\n<\/p>\n<p><p>\u5728\u6570\u636e\u901a\u4fe1\u548c\u5b58\u50a8\u4e2d\uff0c\u7ecf\u5e38\u9700\u8981\u4ee516\u8fdb\u5236\u683c\u5f0f\u8868\u793a\u6570\u636e\uff0c\u4f8b\u5982IP\u5730\u5740\u3001MAC\u5730\u5740\u7b49\u3002<\/p>\n<\/p>\n<p><h3>4.2 \u8c03\u8bd5\u548c\u65e5\u5fd7\u8bb0\u5f55<\/h3>\n<\/p>\n<p><p>\u5728\u8c03\u8bd5\u7a0b\u5e8f\u65f6\uff0c16\u8fdb\u5236\u683c\u5f0f\u901a\u5e38\u7528\u4e8e\u8868\u793a\u5185\u5b58\u5730\u5740\u548c\u4e8c\u8fdb\u5236\u6570\u636e\uff0c\u4ee5\u4fbf\u66f4\u76f4\u89c2\u5730\u67e5\u770b\u6570\u636e\u7ed3\u6784\u3002<\/p>\n<\/p>\n<p><h3>4.3 \u5bc6\u7801\u5b66<\/h3>\n<\/p>\n<p><p>\u5728\u5bc6\u7801\u5b66\u548c\u5b89\u5168\u9886\u57df\uff0c16\u8fdb\u5236\u5e38\u7528\u4e8e\u8868\u793a\u52a0\u5bc6\u540e\u7684\u6570\u636e\u3001\u54c8\u5e0c\u503c\u7b49\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u51e0\u79cd\u65b9\u6cd5\uff0c\u53ef\u4ee5\u6839\u636e\u4e0d\u540c\u7684\u9700\u6c42\u548c\u573a\u666f\u7075\u6d3b\u9009\u62e9\u5408\u9002\u7684\u65b9\u5f0f\u5c06\u6574\u6570\u8f6c\u6362\u4e3a16\u8fdb\u5236\u683c\u5f0f\u3002\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\uff0c\u9700\u6ce8\u610f\u8f93\u51fa\u683c\u5f0f\u7684\u8981\u6c42\uff0c\u4f8b\u5982\u662f\u5426\u9700\u8981\u53bb\u6389<code>0x<\/code>\u524d\u7f00\u3001\u662f\u5426\u9700\u8981\u5927\u5199\u3001\u662f\u5426\u9700\u8981\u8865\u96f6\u7b49\u3002\u4ee5\u4e0a\u5185\u5bb9\u6db5\u76d6\u4e86Python\u4e2d\u6574\u6570\u523016\u8fdb\u5236\u8f6c\u6362\u7684\u4e3b\u8981\u65b9\u6cd5\u53ca\u5176\u5e94\u7528\u573a\u666f\uff0c\u5e0c\u671b\u80fd\u5bf9\u60a8\u7684\u5de5\u4f5c\u548c\u5b66\u4e60\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5c06\u6574\u6570\u8f6c\u6362\u4e3a16\u8fdb\u5236\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u7684<code>hex()<\/code>\u51fd\u6570\u5c06\u4e00\u4e2a\u6574\u6570\u8f6c\u6362\u4e3a16\u8fdb\u5236\u8868\u793a\u3002\u53ea\u9700\u5c06\u6574\u6570\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u7ed9\u8be5\u51fd\u6570\uff0c\u5b83\u5c06\u8fd4\u56de\u4e00\u4e2a\u4ee5<code>0x<\/code>\u5f00\u5934\u7684\u5b57\u7b26\u4e32\u3002\u4f8b\u5982\uff0c<code>hex(255)<\/code>\u5c06\u8fd4\u56de<code>&#39;0xff&#39;<\/code>\u3002\u5982\u679c\u4e0d\u9700\u8981<code>0x<\/code>\u524d\u7f00\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u5207\u7247\u6765\u83b7\u53d6\uff1a<code>hex(255)[2:]<\/code>\u3002<\/p>\n<p><strong>\u53ef\u4ee5\u4f7f\u7528\u54ea\u4e9b\u65b9\u6cd5\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a16\u8fdb\u5236\uff1f<\/strong><br \/>\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a16\u8fdb\u5236\u53ef\u4ee5\u901a\u8fc7\u7f16\u7801\u5b57\u7b26\u4e32\u4e3a\u5b57\u8282\u6570\u7ec4\u5e76\u4f7f\u7528<code>hex()<\/code>\u65b9\u6cd5\u5b9e\u73b0\u3002\u9996\u5148\uff0c\u8c03\u7528\u5b57\u7b26\u4e32\u7684<code>encode()<\/code>\u65b9\u6cd5\u5c06\u5176\u8f6c\u6362\u4e3a\u5b57\u8282\uff0c\u7136\u540e\u4f7f\u7528<code>hex()<\/code>\u65b9\u6cd5\u5c06\u5b57\u8282\u8f6c\u6362\u4e3a16\u8fdb\u5236\u3002\u4f8b\u5982\uff0c<code>&quot;hello&quot;.encode().hex()<\/code>\u5c06\u8fd4\u56de<code>&#39;68656c6c6f&#39;<\/code>\u3002<\/p>\n<p><strong>\u5982\u4f55\u5c0616\u8fdb\u5236\u5b57\u7b26\u4e32\u8f6c\u6362\u56de\u6574\u6570\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u7684<code>int()<\/code>\u51fd\u6570\u5c0616\u8fdb\u5236\u5b57\u7b26\u4e32\u8f6c\u6362\u56de\u6574\u6570\u3002\u53ea\u9700\u5c06\u5b57\u7b26\u4e32\u4f5c\u4e3a\u7b2c\u4e00\u4e2a\u53c2\u6570\u4f20\u9012\uff0c\u5e76\u6307\u5b9a\u57fa\u6570\u4e3a16\u3002\u4f8b\u5982\uff0c<code>int(&#39;ff&#39;, 16)<\/code>\u5c06\u8fd4\u56de255\u3002\u8fd9\u5bf9\u4e8e\u9700\u8981\u5c0616\u8fdb\u5236\u6570\u636e\u5904\u7406\u4e3a\u6574\u578b\u6570\u636e\u7684\u60c5\u51b5\u975e\u5e38\u6709\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u5c06\u6570\u5b57\u8f6c\u6362\u4e3a16\u8fdb\u5236\u7684\u65b9\u5f0f\u4e3b\u8981\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a\u4f7f\u7528\u5185\u7f6e\u51fd\u6570hex()\u3001\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u3001\u4f4d\u8fd0\u7b97\u3002\u5176\u4e2d [&hellip;]","protected":false},"author":3,"featured_media":1004618,"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\/1004606"}],"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=1004606"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1004606\/revisions"}],"predecessor-version":[{"id":1004622,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1004606\/revisions\/1004622"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1004618"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1004606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1004606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1004606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}