{"id":1128271,"date":"2025-01-08T20:18:43","date_gmt":"2025-01-08T12:18:43","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1128271.html"},"modified":"2025-01-08T20:18:46","modified_gmt":"2025-01-08T12:18:46","slug":"python%e5%a6%82%e4%bd%95%e4%b8%80%e8%a1%8c%e8%be%93%e5%85%a55%e4%b8%aa%e6%95%b0","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1128271.html","title":{"rendered":"python\u5982\u4f55\u4e00\u884c\u8f93\u51655\u4e2a\u6570"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25095031\/2576842b-187b-4155-b4e1-09fed232a39e.webp\" alt=\"python\u5982\u4f55\u4e00\u884c\u8f93\u51655\u4e2a\u6570\" \/><\/p>\n<p><p> <strong>\u4f7f\u7528Python\u4e00\u884c\u8f93\u51655\u4e2a\u6570\uff0c\u53ef\u4ee5\u901a\u8fc7<code>input<\/code>\u51fd\u6570\u7ed3\u5408<code>split<\/code>\u65b9\u6cd5\u6765\u5b9e\u73b0\u3001\u4f7f\u7528\u5217\u8868\u89e3\u6790\u6765\u5904\u7406\u8f93\u5165\u3001\u5c06\u8f93\u5165\u7684\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6570\u5b57\u7c7b\u578b\u3002\u8fd9\u79cd\u65b9\u6cd5\u7b80\u6d01\u9ad8\u6548\uff0c\u9002\u7528\u4e8e\u9700\u8981\u5feb\u901f\u83b7\u53d6\u591a\u4e2a\u6570\u503c\u7684\u573a\u666f\u3002\u4ee5\u4e0b\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728Python\u4e2d\u5b9e\u73b0\u8fd9\u4e00\u64cd\u4f5c\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u4e00\u884c\u8f93\u5165\u591a\u4e2a\u6570\u503c\u901a\u5e38\u662f\u901a\u8fc7<code>input<\/code>\u51fd\u6570\u83b7\u53d6\u4e00\u6574\u884c\u7684\u5b57\u7b26\u4e32\u8f93\u5165\uff0c\u7136\u540e\u4f7f\u7528\u5b57\u7b26\u4e32\u7684<code>split<\/code>\u65b9\u6cd5\u5c06\u5176\u62c6\u5206\u4e3a\u5355\u4e2a\u6570\u503c\uff0c\u518d\u8fdb\u884c\u7c7b\u578b\u8f6c\u6362\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u8be6\u7ec6\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u4e00\u884c\u8f93\u51655\u4e2a\u6570\u5e76\u8f6c\u6362\u4e3a\u6574\u6570\u5217\u8868<\/p>\n<p>numbers = list(map(int, input(&quot;\u8bf7\u8f93\u51655\u4e2a\u6570\uff0c\u4ee5\u7a7a\u683c\u5206\u9694\uff1a&quot;).split()))<\/p>\n<h2><strong>\u8f93\u51fa\u7ed3\u679c<\/strong><\/h2>\n<p>print(numbers)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u62c6\u5206\u5b57\u7b26\u4e32<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c<code>input<\/code>\u51fd\u6570\u7528\u4e8e\u63a5\u6536\u7528\u6237\u7684\u8f93\u5165\uff0c<code>split<\/code>\u65b9\u6cd5\u7528\u4e8e\u5c06\u8f93\u5165\u5b57\u7b26\u4e32\u6309\u7167\u7a7a\u683c\u62c6\u5206\u6210\u4e00\u4e2a\u5217\u8868\uff0c<code>map(int, ...)<\/code>\u7528\u4e8e\u5c06\u62c6\u5206\u540e\u7684\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6574\u6570\u3002<code>list<\/code>\u51fd\u6570\u5c06\u8fd9\u4e9b\u6574\u6570\u7ec4\u5408\u6210\u4e00\u4e2a\u5217\u8868\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5982\u4f55\u4f7f\u7528Python\u4e00\u884c\u8f93\u51655\u4e2a\u6570<\/h3>\n<\/p>\n<p><h4>1. \u4f7f\u7528<code>split<\/code>\u65b9\u6cd5\u62c6\u5206\u8f93\u5165<\/h4>\n<\/p>\n<p><p><code>split<\/code>\u65b9\u6cd5\u662fPython\u4e2d\u5b57\u7b26\u4e32\u64cd\u4f5c\u7684\u4e00\u4e2a\u57fa\u7840\u65b9\u6cd5\uff0c\u5b83\u80fd\u5c06\u5b57\u7b26\u4e32\u6309\u7167\u6307\u5b9a\u7684\u5206\u9694\u7b26\u62c6\u5206\u6210\u591a\u4e2a\u5b50\u5b57\u7b26\u4e32\uff0c\u5e76\u8fd4\u56de\u4e00\u4e2a\u5217\u8868\u3002\u8fd9\u5728\u5904\u7406\u7528\u6237\u8f93\u5165\u65f6\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">input_string = &quot;1 2 3 4 5&quot;<\/p>\n<p>numbers = input_string.split()<\/p>\n<p>print(numbers)  # \u8f93\u51fa\uff1a[&#39;1&#39;, &#39;2&#39;, &#39;3&#39;, &#39;4&#39;, &#39;5&#39;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u4f7f\u7528<code>map<\/code>\u51fd\u6570\u8fdb\u884c\u7c7b\u578b\u8f6c\u6362<\/h4>\n<\/p>\n<p><p><code>map<\/code>\u51fd\u6570\u53ef\u4ee5\u5c06\u6307\u5b9a\u7684\u51fd\u6570\u5e94\u7528\u4e8e\u8f93\u5165\u5217\u8868\u7684\u6bcf\u4e2a\u5143\u7d20\u3002\u5728\u6211\u4eec\u7684\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u9700\u8981\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6574\u6570\uff0c\u56e0\u6b64\u53ef\u4ee5\u4f7f\u7528<code>map(int, ...)<\/code>\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">numbers = list(map(int, numbers))<\/p>\n<p>print(numbers)  # \u8f93\u51fa\uff1a[1, 2, 3, 4, 5]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u5b8c\u6574\u793a\u4f8b\u4ee3\u7801<\/h3>\n<\/p>\n<p><p>\u5c06\u4e0a\u8ff0\u6b65\u9aa4\u7efc\u5408\u8d77\u6765\uff0c\u6211\u4eec\u53ef\u4ee5\u5f97\u5230\u5982\u4e0b\u5b8c\u6574\u7684\u4ee3\u7801\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u4e00\u884c\u8f93\u51655\u4e2a\u6570\u5e76\u8f6c\u6362\u4e3a\u6574\u6570\u5217\u8868<\/p>\n<p>numbers = list(map(int, input(&quot;\u8bf7\u8f93\u51655\u4e2a\u6570\uff0c\u4ee5\u7a7a\u683c\u5206\u9694\uff1a&quot;).split()))<\/p>\n<h2><strong>\u8f93\u51fa\u7ed3\u679c<\/strong><\/h2>\n<p>print(numbers)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u5904\u7406\u5f02\u5e38\u8f93\u5165<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u7528\u6237\u8f93\u5165\u53ef\u80fd\u5305\u542b\u9519\u8bef\u6216\u4e0d\u7b26\u5408\u9884\u671f\u7684\u60c5\u51b5\u3002\u4e3a\u4e86\u63d0\u9ad8\u4ee3\u7801\u7684\u5065\u58ee\u6027\uff0c\u6211\u4eec\u53ef\u4ee5\u6dfb\u52a0\u5f02\u5e38\u5904\u7406\u6765\u5e94\u5bf9\u8fd9\u4e9b\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">try:<\/p>\n<p>    # \u4e00\u884c\u8f93\u51655\u4e2a\u6570\u5e76\u8f6c\u6362\u4e3a\u6574\u6570\u5217\u8868<\/p>\n<p>    numbers = list(map(int, input(&quot;\u8bf7\u8f93\u51655\u4e2a\u6570\uff0c\u4ee5\u7a7a\u683c\u5206\u9694\uff1a&quot;).split()))<\/p>\n<p>    if len(numbers) != 5:<\/p>\n<p>        r<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>se ValueError(&quot;\u8f93\u5165\u7684\u6570\u76ee\u4e0d\u4e3a5&quot;)<\/p>\n<p>    # \u8f93\u51fa\u7ed3\u679c<\/p>\n<p>    print(numbers)<\/p>\n<p>except ValueError as e:<\/p>\n<p>    print(f&quot;\u8f93\u5165\u9519\u8bef\uff1a{e}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u4f18\u5316\u7528\u6237\u4f53\u9a8c<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u8fdb\u4e00\u6b65\u4f18\u5316\u7528\u6237\u4f53\u9a8c\uff0c\u53ef\u4ee5\u63d0\u793a\u7528\u6237\u8f93\u5165\u65f6\u7684\u683c\u5f0f\u8981\u6c42\uff0c\u5e76\u5728\u8f93\u5165\u9519\u8bef\u65f6\u63d0\u4f9b\u66f4\u53cb\u597d\u7684\u63d0\u793a\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def get_numbers_from_input(prompt=&quot;\u8bf7\u8f93\u51655\u4e2a\u6570\uff0c\u4ee5\u7a7a\u683c\u5206\u9694\uff1a&quot;):<\/p>\n<p>    while True:<\/p>\n<p>        try:<\/p>\n<p>            # \u4e00\u884c\u8f93\u51655\u4e2a\u6570\u5e76\u8f6c\u6362\u4e3a\u6574\u6570\u5217\u8868<\/p>\n<p>            numbers = list(map(int, input(prompt).split()))<\/p>\n<p>            if len(numbers) != 5:<\/p>\n<p>                raise ValueError(&quot;\u8f93\u5165\u7684\u6570\u76ee\u4e0d\u4e3a5&quot;)<\/p>\n<p>            return numbers<\/p>\n<p>        except ValueError as e:<\/p>\n<p>            print(f&quot;\u8f93\u5165\u9519\u8bef\uff1a{e}\uff0c\u8bf7\u91cd\u65b0\u8f93\u5165\u3002&quot;)<\/p>\n<h2><strong>\u83b7\u53d6\u7528\u6237\u8f93\u5165\u76845\u4e2a\u6570<\/strong><\/h2>\n<p>numbers = get_numbers_from_input()<\/p>\n<h2><strong>\u8f93\u51fa\u7ed3\u679c<\/strong><\/h2>\n<p>print(numbers)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u5e94\u7528\u573a\u666f\u548c\u6269\u5c55<\/h3>\n<\/p>\n<p><h4>1. \u6570\u636e\u5206\u6790<\/h4>\n<\/p>\n<p><p>\u5728\u6570\u636e\u5206\u6790\u4e2d\uff0c\u901a\u5e38\u9700\u8981\u4ece\u7528\u6237\u8f93\u5165\u6216\u6587\u4ef6\u4e2d\u8bfb\u53d6\u591a\u4e2a\u6570\u503c\u8fdb\u884c\u5904\u7406\u3002\u4e0a\u8ff0\u65b9\u6cd5\u53ef\u4ee5\u7528\u4e8e\u5feb\u901f\u83b7\u53d6\u548c\u5904\u7406\u8f93\u5165\u6570\u636e\u3002<\/p>\n<\/p>\n<p><h4>2. \u56fe\u5f62\u754c\u9762\u5e94\u7528<\/h4>\n<\/p>\n<p><p>\u5728\u56fe\u5f62\u754c\u9762\u5e94\u7528\uff08\u5982\u4f7f\u7528Tkinter\u6216PyQt\uff09\u4e2d\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u7c7b\u4f3c\u7684\u65b9\u6cd5\u6765\u83b7\u53d6\u7528\u6237\u8f93\u5165\u7684\u6570\u636e\uff0c\u5e76\u8fdb\u884c\u5904\u7406\u3002<\/p>\n<\/p>\n<p><h4>3. \u6279\u91cf\u5904\u7406<\/h4>\n<\/p>\n<p><p>\u5728\u9700\u8981\u6279\u91cf\u5904\u7406\u5927\u91cf\u6570\u636e\u7684\u573a\u666f\u4e2d\uff0c\u53ef\u4ee5\u5c06\u4e0a\u8ff0\u65b9\u6cd5\u5c01\u88c5\u6210\u4e00\u4e2a\u51fd\u6570\uff0c\u7ed3\u5408\u5faa\u73af\u7ed3\u6784\uff0c\u4ece\u591a\u884c\u8f93\u5165\u4e2d\u8bfb\u53d6\u6570\u636e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def get_multiple_lines_of_numbers(n_lines, prompt=&quot;\u8bf7\u8f93\u51655\u4e2a\u6570\uff0c\u4ee5\u7a7a\u683c\u5206\u9694\uff1a&quot;):<\/p>\n<p>    all_numbers = []<\/p>\n<p>    for _ in range(n_lines):<\/p>\n<p>        numbers = get_numbers_from_input(prompt)<\/p>\n<p>        all_numbers.append(numbers)<\/p>\n<p>    return all_numbers<\/p>\n<h2><strong>\u83b7\u53d6\u7528\u6237\u8f93\u5165\u7684\u591a\u884c\u6570\u636e<\/strong><\/h2>\n<p>all_numbers = get_multiple_lines_of_numbers(3)<\/p>\n<p>print(all_numbers)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516d\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u672c\u6587\u7684\u4ecb\u7ecd\uff0c\u6211\u4eec\u8be6\u7ec6\u63a2\u8ba8\u4e86\u5982\u4f55\u5728Python\u4e2d\u5b9e\u73b0\u4e00\u884c\u8f93\u5165\u591a\u4e2a\u6570\u503c\u7684\u65b9\u6cd5\u3002<strong>\u4f7f\u7528<code>input<\/code>\u51fd\u6570\u7ed3\u5408<code>split<\/code>\u65b9\u6cd5\u3001\u4f7f\u7528<code>map<\/code>\u51fd\u6570\u8fdb\u884c\u7c7b\u578b\u8f6c\u6362\u3001\u5904\u7406\u5f02\u5e38\u8f93\u5165<\/strong>\uff0c\u8fd9\u4e9b\u90fd\u662f\u63d0\u9ad8\u4ee3\u7801\u5065\u58ee\u6027\u548c\u7528\u6237\u4f53\u9a8c\u7684\u5173\u952e\u6b65\u9aa4\u3002\u5e0c\u671b\u901a\u8fc7\u8fd9\u4e9b\u5185\u5bb9\uff0c\u80fd\u591f\u5e2e\u52a9\u4f60\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u66f4\u597d\u5730\u5904\u7406\u7528\u6237\u8f93\u5165\u6570\u636e\u3002<\/p>\n<\/p>\n<p><p>\u8bf7\u8bb0\u4f4f\uff0c\u7f16\u5199\u9ad8\u8d28\u91cf\u7684\u4ee3\u7801\u4e0d\u4ec5\u8981\u5173\u6ce8\u529f\u80fd\u5b9e\u73b0\uff0c\u8fd8\u8981\u8003\u8651\u7528\u6237\u4f53\u9a8c\u548c\u4ee3\u7801\u7684\u5065\u58ee\u6027\u3002\u5e0c\u671b\u672c\u6587\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff01<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u4e00\u884c\u8f93\u5165\u591a\u4e2a\u6570\u5b57\u5e76\u5c06\u5176\u5b58\u50a8\u5728\u5217\u8868\u4e2d\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>input()<\/code>\u51fd\u6570\u63a5\u6536\u7528\u6237\u8f93\u5165\uff0c\u7136\u540e\u901a\u8fc7\u5b57\u7b26\u4e32\u7684<code>split()<\/code>\u65b9\u6cd5\u5c06\u8f93\u5165\u7684\u6570\u5b57\u5206\u5272\u5e76\u8f6c\u6362\u4e3a\u5217\u8868\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>numbers = list(map(int, input(&quot;\u8bf7\u8f93\u51655\u4e2a\u6570\u5b57\uff0c\u7528\u7a7a\u683c\u5206\u9694: &quot;).split()))<\/code>\u53ef\u4ee5\u5b9e\u73b0\u8fd9\u4e00\u529f\u80fd\u3002\u8fd9\u6837\uff0c\u7528\u6237\u53ef\u4ee5\u8f93\u51655\u4e2a\u6570\u5b57\uff0c\u7a0b\u5e8f\u5c06\u5b83\u4eec\u8f6c\u6362\u4e3a\u6574\u6570\u5e76\u5b58\u50a8\u5728\u5217\u8868\u4e2d\u3002<\/p>\n<p><strong>\u6211\u53ef\u4ee5\u4f7f\u7528\u4ec0\u4e48\u65b9\u6cd5\u6765\u786e\u4fdd\u7528\u6237\u8f93\u5165\u7684\u6570\u91cf\u6b63\u786e\uff1f<\/strong><br \/>\u4e3a\u4e86\u786e\u4fdd\u7528\u6237\u8f93\u5165\u7684\u6570\u5b57\u6570\u91cf\u6b63\u786e\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e2a\u5faa\u73af\u6765\u9a8c\u8bc1\u8f93\u5165\u3002\u53ef\u4ee5\u5728\u63a5\u6536\u7528\u6237\u8f93\u5165\u540e\uff0c\u68c0\u67e5\u5217\u8868\u7684\u957f\u5ea6\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u4e00\u4e2a<code>while<\/code>\u5faa\u73af\uff0c\u5982\u679c\u8f93\u5165\u7684\u6570\u5b57\u4e0d\u662f5\u4e2a\uff0c\u5c31\u63d0\u793a\u7528\u6237\u91cd\u65b0\u8f93\u5165\uff0c\u76f4\u5230\u6ee1\u8db3\u6761\u4ef6\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406\u7528\u6237\u8f93\u5165\u4e2d\u7684\u9519\u8bef\uff0c\u6bd4\u5982\u975e\u6570\u5b57\u5b57\u7b26\uff1f<\/strong><br \/>\u5728\u5904\u7406\u7528\u6237\u8f93\u5165\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>try...except<\/code>\u8bed\u53e5\u6765\u6355\u6349\u8f93\u5165\u9519\u8bef\u3002\u901a\u8fc7\u5728\u8f6c\u6362\u6570\u5b57\u65f6\u6dfb\u52a0\u5f02\u5e38\u5904\u7406\u673a\u5236\uff0c\u53ef\u4ee5\u786e\u4fdd\u7a0b\u5e8f\u5728\u9047\u5230\u975e\u6570\u5b57\u5b57\u7b26\u65f6\u4e0d\u4f1a\u5d29\u6e83\uff0c\u5e76\u53ef\u4ee5\u7ed9\u7528\u6237\u63d0\u4f9b\u53cb\u597d\u7684\u63d0\u793a\u3002\u4f8b\u5982\uff0c<code>try: numbers = list(map(int, input().split()))<\/code>\uff0c\u5982\u679c\u7528\u6237\u8f93\u5165\u4e86\u65e0\u6cd5\u8f6c\u6362\u4e3a\u6574\u6570\u7684\u5b57\u7b26\uff0c\u5c06\u8f93\u51fa\u9519\u8bef\u6d88\u606f\u5e76\u8981\u6c42\u91cd\u65b0\u8f93\u5165\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4f7f\u7528Python\u4e00\u884c\u8f93\u51655\u4e2a\u6570\uff0c\u53ef\u4ee5\u901a\u8fc7input\u51fd\u6570\u7ed3\u5408split\u65b9\u6cd5\u6765\u5b9e\u73b0\u3001\u4f7f\u7528\u5217\u8868\u89e3\u6790\u6765\u5904\u7406\u8f93\u5165\u3001\u5c06\u8f93\u5165 [&hellip;]","protected":false},"author":3,"featured_media":1128276,"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\/1128271"}],"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=1128271"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1128271\/revisions"}],"predecessor-version":[{"id":1128277,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1128271\/revisions\/1128277"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1128276"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1128271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1128271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1128271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}