{"id":990468,"date":"2024-12-27T08:20:27","date_gmt":"2024-12-27T00:20:27","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/990468.html"},"modified":"2024-12-27T08:20:29","modified_gmt":"2024-12-27T00:20:29","slug":"python%e5%a6%82%e4%bd%95%e6%8a%8a%e5%ad%97%e7%ac%a6%e5%88%86%e5%89%b2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/990468.html","title":{"rendered":"python\u5982\u4f55\u628a\u5b57\u7b26\u5206\u5272"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25065204\/1010409a-ef66-4d0c-b378-11b5cef9b522.webp\" alt=\"python\u5982\u4f55\u628a\u5b57\u7b26\u5206\u5272\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5c06\u5b57\u7b26\u4e32\u8fdb\u884c\u5206\u5272\uff0c\u5305\u62ec\u4f7f\u7528\u5185\u7f6e\u7684<code>split()<\/code>\u65b9\u6cd5\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u5206\u9694\u7b26\u7b49\u3002<code>split()<\/code>\u65b9\u6cd5\u662f\u6700\u5e38\u7528\u7684\uff0c\u5b83\u80fd\u591f\u6839\u636e\u6307\u5b9a\u7684\u5206\u9694\u7b26\u5c06\u5b57\u7b26\u4e32\u62c6\u5206\u4e3a\u5217\u8868\uff0c\u4f7f\u7528\u7b80\u5355\u4e14\u9ad8\u6548\u3002\u6b63\u5219\u8868\u8fbe\u5f0f\u5219\u63d0\u4f9b\u4e86\u66f4\u5f3a\u5927\u7684\u529f\u80fd\uff0c\u53ef\u4ee5\u6839\u636e\u590d\u6742\u7684\u6a21\u5f0f\u8fdb\u884c\u5206\u5272\uff0c\u800c\u4e0d\u4ec5\u4ec5\u662f\u56fa\u5b9a\u7684\u5b57\u7b26\u6216\u5b57\u7b26\u4e32\u3002<\/strong><\/p>\n<\/p>\n<p><p><strong>split()\u65b9\u6cd5<\/strong>\uff1a\u8fd9\u662fPython\u4e2d\u6700\u5e38\u7528\u7684\u5b57\u7b26\u4e32\u5206\u5272\u65b9\u6cd5\u4e4b\u4e00\u3002\u5b83\u901a\u8fc7\u6307\u5b9a\u7684\u5206\u9694\u7b26\u5c06\u5b57\u7b26\u4e32\u5206\u5272\u6210\u4e00\u4e2a\u5217\u8868\uff0c\u5e76\u4e14\u53ef\u4ee5\u901a\u8fc7\u53c2\u6570\u63a7\u5236\u5206\u5272\u7684\u6b21\u6570\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5982\u679c\u4e0d\u6307\u5b9a\u5206\u9694\u7b26\uff0c<code>split()<\/code>\u4f1a\u81ea\u52a8\u4ee5\u7a7a\u683c\u4f5c\u4e3a\u5206\u9694\u7b26\u8fdb\u884c\u5206\u5272\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528<code>split()<\/code>\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p><code>split()<\/code>\u65b9\u6cd5\u662fPython\u4e2d\u6700\u5e38\u7528\u7684\u5b57\u7b26\u4e32\u5206\u5272\u65b9\u6cd5\u4e4b\u4e00\uff0c\u529f\u80fd\u5f3a\u5927\u4e14\u6613\u4e8e\u4f7f\u7528\u3002<\/p>\n<\/p>\n<p><h4>1. \u57fa\u7840\u7528\u6cd5<\/h4>\n<\/p>\n<p><p><code>split()<\/code>\u65b9\u6cd5\u53ef\u4ee5\u6839\u636e\u6307\u5b9a\u7684\u5206\u9694\u7b26\u5c06\u5b57\u7b26\u4e32\u5206\u5272\u6210\u4e00\u4e2a\u5217\u8868\u3002\u5982\u679c\u4e0d\u6307\u5b9a\u5206\u9694\u7b26\uff0c\u9ed8\u8ba4\u4f1a\u4ee5\u7a7a\u683c\u4f5c\u4e3a\u5206\u9694\u7b26\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;Python is a powerful language&quot;<\/p>\n<p>words = text.split()<\/p>\n<p>print(words)<\/p>\n<h2><strong>\u8f93\u51fa: [&#39;Python&#39;, &#39;is&#39;, &#39;a&#39;, &#39;powerful&#39;, &#39;language&#39;]<\/strong><\/h2>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u6307\u5b9a\u5206\u9694\u7b26<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u901a\u8fc7\u5728<code>split()<\/code>\u65b9\u6cd5\u4e2d\u4f20\u5165\u4e00\u4e2a\u5b57\u7b26\u6216\u5b57\u7b26\u4e32\u4f5c\u4e3a\u5206\u9694\u7b26\u6765\u8fdb\u884c\u5206\u5272\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">csv = &quot;apple,banana,orange&quot;<\/p>\n<p>fruits = csv.split(&#39;,&#39;)<\/p>\n<p>print(fruits)<\/p>\n<h2><strong>\u8f93\u51fa: [&#39;apple&#39;, &#39;banana&#39;, &#39;orange&#39;]<\/strong><\/h2>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u9650\u5236\u5206\u5272\u6b21\u6570<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u901a\u8fc7\u7b2c\u4e8c\u4e2a\u53c2\u6570\u9650\u5236\u5206\u5272\u6b21\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;one two three four&quot;<\/p>\n<p>parts = text.split(&#39; &#39;, 2)<\/p>\n<p>print(parts)<\/p>\n<h2><strong>\u8f93\u51fa: [&#39;one&#39;, &#39;two&#39;, &#39;three four&#39;]<\/strong><\/h2>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u8fdb\u884c\u5206\u5272<\/h3>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\uff08Regular Expression\uff09\u63d0\u4f9b\u4e86\u4e00\u79cd\u7075\u6d3b\u7684\u65b9\u5f0f\u6765\u5904\u7406\u590d\u6742\u7684\u5b57\u7b26\u4e32\u5206\u5272\u4efb\u52a1\u3002Python\u7684<code>re<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86<code>re.split()<\/code>\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h4>1. \u57fa\u672c\u7528\u6cd5<\/h4>\n<\/p>\n<p><p>\u901a\u8fc7\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u53ef\u4ee5\u6839\u636e\u590d\u6742\u7684\u6a21\u5f0f\u6765\u5206\u5272\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>text = &quot;one1two2three3four&quot;<\/p>\n<p>numbers = re.split(r&#39;\\d&#39;, text)<\/p>\n<p>print(numbers)<\/p>\n<h2><strong>\u8f93\u51fa: [&#39;one&#39;, &#39;two&#39;, &#39;three&#39;, &#39;four&#39;]<\/strong><\/h2>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u4f7f\u7528\u591a\u4e2a\u5206\u9694\u7b26<\/h4>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u5141\u8bb8\u4f7f\u7528\u591a\u4e2a\u5b57\u7b26\u4f5c\u4e3a\u5206\u9694\u7b26\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>text = &quot;apple;banana|orange,pear&quot;<\/p>\n<p>fruits = re.split(r&#39;[;|,]&#39;, text)<\/p>\n<p>print(fruits)<\/p>\n<h2><strong>\u8f93\u51fa: [&#39;apple&#39;, &#39;banana&#39;, &#39;orange&#39;, &#39;pear&#39;]<\/strong><\/h2>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528\u5206\u9694\u7b26\u5207\u7247<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u901a\u8fc7\u624b\u52a8\u5b9e\u73b0\u5206\u9694\u7b26\u5207\u7247\u6765\u5206\u5272\u5b57\u7b26\u4e32\u3002\u867d\u7136\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u5982<code>split()<\/code>\u548c\u6b63\u5219\u8868\u8fbe\u5f0f\u5e38\u7528\uff0c\u4f46\u5728\u7279\u5b9a\u60c5\u5883\u4e0b\u53ef\u80fd\u4f1a\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<p><h4>1. \u57fa\u7840\u65b9\u6cd5<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u624b\u52a8\u904d\u5386\u5b57\u7b26\u4e32\uff0c\u627e\u5230\u5206\u9694\u7b26\u7684\u4f4d\u7f6e\u5e76\u8fdb\u884c\u5207\u7247\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def custom_split(s, delimiter):<\/p>\n<p>    parts = []<\/p>\n<p>    start = 0<\/p>\n<p>    while True:<\/p>\n<p>        index = s.find(delimiter, start)<\/p>\n<p>        if index == -1:<\/p>\n<p>            parts.append(s[start:])<\/p>\n<p>            break<\/p>\n<p>        parts.append(s[start:index])<\/p>\n<p>        start = index + len(delimiter)<\/p>\n<p>    return parts<\/p>\n<p>text = &quot;hello#world#python&quot;<\/p>\n<p>result = custom_split(text, &quot;#&quot;)<\/p>\n<p>print(result)<\/p>\n<h2><strong>\u8f93\u51fa: [&#39;hello&#39;, &#39;world&#39;, &#39;python&#39;]<\/strong><\/h2>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u4f7f\u7528\u751f\u6210\u5668<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528Python\u7684\u751f\u6210\u5668\u53ef\u4ee5\u63d0\u9ad8\u5185\u5b58\u6548\u7387\uff0c\u7279\u522b\u662f\u5728\u5904\u7406\u5927\u5b57\u7b26\u4e32\u65f6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def custom_split_generator(s, delimiter):<\/p>\n<p>    start = 0<\/p>\n<p>    while True:<\/p>\n<p>        index = s.find(delimiter, start)<\/p>\n<p>        if index == -1:<\/p>\n<p>            yield s[start:]<\/p>\n<p>            break<\/p>\n<p>        yield s[start:index]<\/p>\n<p>        start = index + len(delimiter)<\/p>\n<p>text = &quot;apple|banana|cherry&quot;<\/p>\n<p>for part in custom_split_generator(text, &quot;|&quot;):<\/p>\n<p>    print(part)<\/p>\n<h2><strong>\u8f93\u51fa: apple banana cherry<\/strong><\/h2>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528<code>partition()<\/code>\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p><code>partition()<\/code>\u65b9\u6cd5\u7528\u4e8e\u5206\u5272\u5b57\u7b26\u4e32\u4e3a\u4e09\u90e8\u5206\uff1a\u5206\u9694\u7b26\u524d\u7684\u90e8\u5206\u3001\u5206\u9694\u7b26\u672c\u8eab\u4ee5\u53ca\u5206\u9694\u7b26\u540e\u7684\u90e8\u5206\u3002<\/p>\n<\/p>\n<p><h4>1. \u57fa\u7840\u7528\u6cd5<\/h4>\n<\/p>\n<p><p><code>partition()<\/code>\u53ef\u4ee5\u7528\u4e8e\u7b80\u5355\u7684\u5206\u5272\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;hello-world-python&quot;<\/p>\n<p>head, sep, t<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>l = text.partition(&#39;-&#39;)<\/p>\n<p>print(head, sep, tail)<\/p>\n<h2><strong>\u8f93\u51fa: hello - world-python<\/strong><\/h2>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u4f7f\u7528<code>rpartition()<\/code><\/h4>\n<\/p>\n<p><p><code>rpartition()<\/code>\u4ece\u53f3\u8fb9\u5f00\u59cb\u641c\u7d22\u5206\u9694\u7b26\uff0c\u529f\u80fd\u4e0e<code>partition()<\/code>\u7c7b\u4f3c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;hello-world-python&quot;<\/p>\n<p>head, sep, tail = text.rpartition(&#39;-&#39;)<\/p>\n<p>print(head, sep, tail)<\/p>\n<h2><strong>\u8f93\u51fa: hello-world - python<\/strong><\/h2>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u5176\u4ed6\u5b57\u7b26\u4e32\u5206\u5272\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>\u9664\u4e86\u4e0a\u8ff0\u5e38\u7528\u65b9\u6cd5\uff0c\u8fd8\u6709\u5176\u4ed6\u4e00\u4e9b\u6280\u5de7\u53ef\u4ee5\u7528\u4e8e\u5b57\u7b26\u4e32\u5206\u5272\u3002<\/p>\n<\/p>\n<p><h4>1. \u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f<\/h4>\n<\/p>\n<p><p>\u7ed3\u5408<code>split()<\/code>\u65b9\u6cd5\u548c\u5217\u8868\u63a8\u5bfc\u5f0f\uff0c\u53ef\u4ee5\u5b9e\u73b0\u590d\u6742\u7684\u5206\u5272\u903b\u8f91\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;apple orange banana&quot;<\/p>\n<p>words = [word.upper() for word in text.split()]<\/p>\n<p>print(words)<\/p>\n<h2><strong>\u8f93\u51fa: [&#39;APPLE&#39;, &#39;ORANGE&#39;, &#39;BANANA&#39;]<\/strong><\/h2>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u4f7f\u7528<code>map()<\/code>\u51fd\u6570<\/h4>\n<\/p>\n<p><p><code>map()<\/code>\u51fd\u6570\u53ef\u4ee5\u7ed3\u5408<code>split()<\/code>\u65b9\u6cd5\u6765\u8f6c\u6362\u5206\u5272\u540e\u7684\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;1,2,3,4&quot;<\/p>\n<p>numbers = list(map(int, text.split(&#39;,&#39;)))<\/p>\n<p>print(numbers)<\/p>\n<h2><strong>\u8f93\u51fa: [1, 2, 3, 4]<\/strong><\/h2>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\uff0cPython\u63d0\u4f9b\u4e86\u7075\u6d3b\u591a\u6837\u7684\u5b57\u7b26\u4e32\u5206\u5272\u65b9\u6848\uff0c\u80fd\u591f\u6ee1\u8db3\u4ece\u7b80\u5355\u5230\u590d\u6742\u7684\u5404\u79cd\u9700\u6c42\u3002\u65e0\u8bba\u662f\u5904\u7406\u7b80\u5355\u7684\u5206\u9694\u7b26\uff0c\u8fd8\u662f\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d\u590d\u6742\u7684\u6a21\u5f0f\uff0cPython\u90fd\u80fd\u6709\u6548\u5730\u5b8c\u6210\u4efb\u52a1\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5206\u5272\u5b57\u7b26\u4e32\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>split()<\/code>\u65b9\u6cd5\u6765\u5206\u5272\u5b57\u7b26\u4e32\u3002\u8fd9\u4e2a\u65b9\u6cd5\u4f1a\u6839\u636e\u6307\u5b9a\u7684\u5206\u9694\u7b26\u5c06\u5b57\u7b26\u4e32\u5207\u5272\u6210\u591a\u4e2a\u90e8\u5206\u3002\u4f8b\u5982\uff0c\u5982\u679c\u8981\u5c06\u5b57\u7b26\u4e32\u6309\u7a7a\u683c\u5206\u5272\uff0c\u53ef\u4ee5\u8fd9\u6837\u505a\uff1a<code>string.split()<\/code>\u3002\u5982\u679c\u4f7f\u7528\u5176\u4ed6\u5b57\u7b26\u4f5c\u4e3a\u5206\u9694\u7b26\uff0c\u5982\u9017\u53f7\uff0c\u53ef\u4ee5\u4f7f\u7528\uff1a<code>string.split(&#39;,&#39;)<\/code>\u3002\u8fd4\u56de\u7684\u7ed3\u679c\u662f\u4e00\u4e2a\u5217\u8868\uff0c\u5305\u542b\u5206\u5272\u540e\u7684\u6240\u6709\u5b50\u5b57\u7b26\u4e32\u3002<\/p>\n<p><strong>Python\u4e2d\u53ef\u4ee5\u4f7f\u7528\u54ea\u4e9b\u65b9\u6cd5\u6765\u5206\u5272\u5b57\u7b26\u4e32\uff1f<\/strong><br \/>\u9664\u4e86<code>split()<\/code>\u65b9\u6cd5\u5916\uff0cPython\u8fd8\u63d0\u4f9b\u4e86<code>rsplit()<\/code>\u548c<code>splitlines()<\/code>\u7b49\u65b9\u6cd5\u3002<code>rsplit()<\/code>\u4e0e<code>split()<\/code>\u7c7b\u4f3c\uff0c\u4f46\u4ece\u53f3\u4fa7\u5f00\u59cb\u5206\u5272\u3002<code>splitlines()<\/code>\u65b9\u6cd5\u5219\u53ef\u4ee5\u6839\u636e\u884c\u5206\u9694\u7b26\u5c06\u5b57\u7b26\u4e32\u5206\u5272\u6210\u591a\u884c\u5217\u8868\uff0c\u9002\u7528\u4e8e\u5904\u7406\u591a\u884c\u6587\u672c\u6570\u636e\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406\u5206\u5272\u540e\u7684\u5b57\u7b26\u4e32\u5217\u8868\uff1f<\/strong><br \/>\u5206\u5272\u540e\u7684\u5b57\u7b26\u4e32\u901a\u5e38\u4ee5\u5217\u8868\u7684\u5f62\u5f0f\u5b58\u5728\uff0c\u53ef\u4ee5\u901a\u8fc7\u5217\u8868\u7684\u7d22\u5f15\u8bbf\u95ee\u7279\u5b9a\u7684\u5143\u7d20\u3002\u53ef\u4ee5\u4f7f\u7528\u5faa\u73af\u904d\u5386\u5217\u8868\uff0c\u6216\u8005\u7ed3\u5408\u5176\u4ed6\u5b57\u7b26\u4e32\u5904\u7406\u65b9\u6cd5\uff0c\u5982<code>join()<\/code>\u6765\u91cd\u65b0\u7ec4\u5408\u5217\u8868\u4e2d\u7684\u5143\u7d20\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60f3\u5c06\u5217\u8868\u4e2d\u7684\u5b57\u7b26\u4e32\u7528\u9017\u53f7\u8fde\u63a5\uff0c\u53ef\u4ee5\u4f7f\u7528\uff1a<code>&#39;,&#39;.join(list)<\/code>\u3002\u8fd9\u6837\u53ef\u4ee5\u7075\u6d3b\u5730\u5904\u7406\u548c\u683c\u5f0f\u5316\u5206\u5272\u540e\u7684\u5b57\u7b26\u4e32\u6570\u636e\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5c06\u5b57\u7b26\u4e32\u8fdb\u884c\u5206\u5272\uff0c\u5305\u62ec\u4f7f\u7528\u5185\u7f6e\u7684split()\u65b9\u6cd5\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u5206\u9694\u7b26\u7b49\u3002s [&hellip;]","protected":false},"author":3,"featured_media":990475,"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\/990468"}],"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=990468"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/990468\/revisions"}],"predecessor-version":[{"id":990478,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/990468\/revisions\/990478"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/990475"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=990468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=990468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=990468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}