{"id":1003663,"date":"2024-12-27T10:19:16","date_gmt":"2024-12-27T02:19:16","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1003663.html"},"modified":"2024-12-27T10:19:18","modified_gmt":"2024-12-27T02:19:18","slug":"python%e5%a6%82%e4%bd%95%e5%86%99%e6%96%87%e5%ad%97","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1003663.html","title":{"rendered":"Python\u5982\u4f55\u5199\u6587\u5b57"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25080935\/74ceab41-44e3-4145-a2c0-8699e030a3fe.webp\" alt=\"Python\u5982\u4f55\u5199\u6587\u5b57\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u5199\u6587\u5b57\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u5185\u7f6e\u7684<code>print()<\/code>\u51fd\u6570\u3001\u6587\u4ef6\u5199\u5165\u64cd\u4f5c\u4ee5\u53ca\u56fe\u5f62\u5e93\u7b49\u65b9\u6cd5\u5b9e\u73b0\u3002\u5176\u4e2d\uff0c<code>print()<\/code>\u51fd\u6570\u662f\u6700\u7b80\u5355\u3001\u6700\u5e38\u7528\u7684\u65b9\u5f0f\uff0c\u800c\u6587\u4ef6\u5199\u5165\u548c\u56fe\u5f62\u5e93\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7ea7\u7684\u6587\u5b57\u5904\u7406\u529f\u80fd\u3002<\/strong>\u5728\u8fd9\u4e9b\u65b9\u6cd5\u4e2d\uff0c\u6587\u4ef6\u5199\u5165\u64cd\u4f5c\u662f\u4e00\u4e2a\u5e38\u89c1\u7684\u9700\u6c42\uff0c\u5b83\u5141\u8bb8\u5c06\u6587\u672c\u6c38\u4e45\u4fdd\u5b58\u5230\u78c1\u76d8\u4e2d\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728Python\u4e2d\u5b9e\u73b0\u8fd9\u4e9b\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528<code>print()<\/code>\u51fd\u6570<\/p>\n<\/p>\n<p><p><code>print()<\/code>\u51fd\u6570\u662fPython\u4e2d\u6700\u5e38\u7528\u7684\u8f93\u51fa\u6587\u672c\u5230\u63a7\u5236\u53f0\u7684\u65b9\u6cd5\u3002\u5b83\u4e0d\u4ec5\u7b80\u5355\u6613\u7528\uff0c\u800c\u4e14\u63d0\u4f9b\u4e86\u591a\u79cd\u683c\u5f0f\u5316\u8f93\u51fa\u6587\u672c\u7684\u65b9\u5f0f\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u57fa\u672c\u7528\u6cd5<\/strong><\/li>\n<\/ol>\n<p><p><code>print()<\/code>\u51fd\u6570\u53ef\u4ee5\u76f4\u63a5\u8f93\u51fa\u5b57\u7b26\u4e32\u3001\u6570\u503c\u548c\u5176\u4ed6\u53ef\u6253\u5370\u5bf9\u8c61\u3002\u5176\u57fa\u672c\u7528\u6cd5\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u5c06\u5f85\u8f93\u51fa\u7684\u5185\u5bb9\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u7ed9\u51fd\u6570\u5373\u53ef\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">print(&quot;Hello, World!&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u4f1a\u5728\u63a7\u5236\u53f0\u4e0a\u8f93\u51fa<code>Hello, World!<\/code>\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u683c\u5f0f\u5316\u8f93\u51fa<\/strong><\/li>\n<\/ol>\n<p><p>Python\u63d0\u4f9b\u4e86\u591a\u79cd\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u7684\u65b9\u6cd5\uff0c\u5305\u62ec\u65e7\u5f0f\u7684\u767e\u5206\u53f7<code>%<\/code>\u683c\u5f0f\u5316\u3001\u65b0\u5f0f\u7684<code>str.format()<\/code>\u65b9\u6cd5\u4ee5\u53caPython 3.6\u5f15\u5165\u7684f-string\u683c\u5f0f\u5316\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u767e\u5206\u53f7\u683c\u5f0f\u5316<\/strong><\/li>\n<\/ul>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7c7b\u4f3c\u4e8eC\u8bed\u8a00\u7684printf\u8bed\u6cd5\u3002\u901a\u8fc7\u5728\u5b57\u7b26\u4e32\u4e2d\u4f7f\u7528<code>%<\/code>\u7b26\u53f7\u6307\u5b9a\u5360\u4f4d\u7b26\uff0c\u5e76\u5728\u540e\u7eed\u53c2\u6570\u4e2d\u63d0\u4f9b\u5b9e\u9645\u503c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">name = &quot;Alice&quot;<\/p>\n<p>print(&quot;Hello, %s!&quot; % name)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ul>\n<li><strong><code>str.format()<\/code>\u65b9\u6cd5<\/strong><\/li>\n<\/ul>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u66f4\u52a0\u7075\u6d3b\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f4d\u7f6e\u548c\u540d\u79f0\u5f15\u7528\u53c2\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">name = &quot;Alice&quot;<\/p>\n<p>print(&quot;Hello, {}!&quot;.format(name))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ul>\n<li><strong>f-string\u683c\u5f0f\u5316<\/strong><\/li>\n<\/ul>\n<p><p>\u8fd9\u662fPython 3.6\u5f15\u5165\u7684\u6700\u4e3a\u7b80\u6d01\u7684\u683c\u5f0f\u5316\u65b9\u5f0f\uff0c\u76f4\u63a5\u5728\u5b57\u7b26\u4e32\u524d\u52a0\u4e0a<code>f<\/code>\u524d\u7f00\uff0c\u5e76\u5728\u5927\u62ec\u53f7\u5185\u5f15\u7528\u53d8\u91cf\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">name = &quot;Alice&quot;<\/p>\n<p>print(f&quot;Hello, {name}!&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e8c\u3001\u6587\u4ef6\u5199\u5165\u64cd\u4f5c<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u6587\u4ef6\u5199\u5165\u64cd\u4f5c\u5141\u8bb8\u5c06\u6587\u672c\u6216\u6570\u636e\u4fdd\u5b58\u5230\u6587\u4ef6\u4e2d\uff0c\u4ee5\u4fbf\u4e8e\u540e\u7eed\u8bbf\u95ee\u548c\u5904\u7406\u3002Python\u7684<code>open()<\/code>\u51fd\u6570\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u6587\u4ef6\u8bfb\u5199\u529f\u80fd\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u6253\u5f00\u6587\u4ef6<\/strong><\/li>\n<\/ol>\n<p><p>\u8981\u5199\u5165\u6587\u4ef6\uff0c\u9996\u5148\u9700\u8981\u4f7f\u7528<code>open()<\/code>\u51fd\u6570\u6253\u5f00\u76ee\u6807\u6587\u4ef6\u3002<code>open()<\/code>\u51fd\u6570\u63a5\u53d7\u4e24\u4e2a\u4e3b\u8981\u53c2\u6570\uff1a\u6587\u4ef6\u540d\u548c\u6a21\u5f0f\u3002\u6a21\u5f0f<code>&#39;w&#39;<\/code>\u8868\u793a\u5199\u5165\u6a21\u5f0f\uff0c\u5c06\u8986\u76d6\u6587\u4ef6\u5185\u5bb9\uff1b<code>&#39;a&#39;<\/code>\u8868\u793a\u8ffd\u52a0\u6a21\u5f0f\uff0c\u5c06\u5728\u6587\u4ef6\u672b\u5c3e\u6dfb\u52a0\u5185\u5bb9\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">file = open(&quot;example.txt&quot;, &quot;w&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u5199\u5165\u6587\u4ef6<\/strong><\/li>\n<\/ol>\n<p><p>\u4f7f\u7528<code>write()<\/code>\u65b9\u6cd5\u53ef\u4ee5\u5c06\u5b57\u7b26\u4e32\u5199\u5165\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">file.write(&quot;Hello, World!\\n&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"3\">\n<li><strong>\u5173\u95ed\u6587\u4ef6<\/strong><\/li>\n<\/ol>\n<p><p>\u5b8c\u6210\u5199\u5165\u64cd\u4f5c\u540e\uff0c\u5fc5\u987b\u8c03\u7528<code>close()<\/code>\u65b9\u6cd5\u5173\u95ed\u6587\u4ef6\uff0c\u4ee5\u786e\u4fdd\u6570\u636e\u88ab\u6b63\u786e\u4fdd\u5b58\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">file.close()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6b64\u5916\uff0c\u4f7f\u7528<code>with<\/code>\u8bed\u53e5\u53ef\u4ee5\u7b80\u5316\u6587\u4ef6\u64cd\u4f5c\uff0c\u5e76\u786e\u4fdd\u6587\u4ef6\u5728\u79bb\u5f00\u4e0a\u4e0b\u6587\u65f6\u81ea\u52a8\u5173\u95ed\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">with open(&quot;example.txt&quot;, &quot;w&quot;) as file:<\/p>\n<p>    file.write(&quot;Hello, World!\\n&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528\u56fe\u5f62\u5e93<\/p>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u53ef\u80fd\u9700\u8981\u5728\u56fe\u5f62\u754c\u9762\u4e2d\u663e\u793a\u6587\u672c\u3002Python\u63d0\u4f9b\u4e86\u591a\u79cd\u56fe\u5f62\u5e93\uff0c\u5982<code>tkinter<\/code>\u3001<code>PIL<\/code>\u548c<code>matplotlib<\/code>\uff0c\u53ef\u4ee5\u7528\u4e8e\u521b\u5efa\u548c\u64cd\u4f5c\u56fe\u5f62\u5316\u6587\u672c\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u4f7f\u7528<code>tkinter<\/code>\u663e\u793a\u6587\u672c<\/strong><\/li>\n<\/ol>\n<p><p><code>tkinter<\/code>\u662fPython\u7684\u6807\u51c6GUI\u5e93\uff0c\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u63a7\u4ef6\u7528\u4e8e\u521b\u5efa\u56fe\u5f62\u754c\u9762\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import tkinter as tk<\/p>\n<p>root = tk.Tk()<\/p>\n<p>label = tk.Label(root, text=&quot;Hello, World!&quot;)<\/p>\n<p>label.pack()<\/p>\n<p>root.m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>nloop()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u4f7f\u7528<code>PIL<\/code>\u5e93\u521b\u5efa\u56fe\u50cf\u6587\u672c<\/strong><\/li>\n<\/ol>\n<p><p><code>PIL<\/code>\uff08Pillow\uff09\u5e93\u5141\u8bb8\u5728\u56fe\u50cf\u4e0a\u7ed8\u5236\u6587\u672c\uff0c\u8fd9\u5728\u751f\u6210\u56fe\u5f62\u5316\u6587\u672c\u65f6\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image, ImageDraw, ImageFont<\/p>\n<p>image = Image.new(&#39;RGB&#39;, (200, 100), color = (73, 109, 137))<\/p>\n<p>draw = ImageDraw.Draw(image)<\/p>\n<p>font = ImageFont.load_default()<\/p>\n<p>draw.text((10, 10), &quot;Hello, World!&quot;, font=font, fill=(255, 255, 0))<\/p>\n<p>image.save(&#39;text.png&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"3\">\n<li><strong>\u4f7f\u7528<code>matplotlib<\/code>\u7ed8\u5236\u6587\u672c<\/strong><\/li>\n<\/ol>\n<p><p><code>matplotlib<\/code>\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u7ed8\u56fe\u5e93\uff0c\u9664\u4e86\u7ed8\u5236\u56fe\u5f62\u5916\uff0c\u8fd8\u53ef\u4ee5\u7528\u4e8e\u5728\u56fe\u5f62\u4e0a\u6dfb\u52a0\u6587\u672c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>plt.text(0.5, 0.5, &#39;Hello, World!&#39;, fontsize=12, ha=&#39;center&#39;)<\/p>\n<p>plt.axis(&#39;off&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u56db\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u5185\u5bb9\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230Python\u63d0\u4f9b\u4e86\u591a\u79cd\u65b9\u6cd5\u6765\u5199\u6587\u5b57\uff0c\u6db5\u76d6\u4ece\u7b80\u5355\u7684\u63a7\u5236\u53f0\u8f93\u51fa\u5230\u590d\u6742\u7684\u56fe\u5f62\u5316\u6587\u672c\u5904\u7406\u3002\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\u53d6\u51b3\u4e8e\u5177\u4f53\u7684\u5e94\u7528\u9700\u6c42\u548c\u573a\u666f\u3002\u65e0\u8bba\u662f\u57fa\u672c\u7684\u6587\u672c\u8f93\u51fa\u8fd8\u662f\u590d\u6742\u7684\u56fe\u5f62\u5316\u6587\u672c\uff0cPython\u90fd\u80fd\u591f\u63d0\u4f9b\u9ad8\u6548\u4e14\u7075\u6d3b\u7684\u89e3\u51b3\u65b9\u6848\u3002\u4e86\u89e3\u548c\u638c\u63e1\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u66f4\u597d\u5730\u5904\u7406\u6587\u5b57\u8f93\u51fa\u4efb\u52a1\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u8f93\u51fa\u6587\u672c\u5230\u63a7\u5236\u53f0\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>print()<\/code>\u51fd\u6570\u5c06\u6587\u672c\u8f93\u51fa\u5230\u63a7\u5236\u53f0\u3002\u8fd9\u662f\u6700\u5e38\u89c1\u7684\u65b9\u5f0f\u3002\u4f8b\u5982\uff0c<code>print(&quot;Hello, World!&quot;)<\/code>\u4f1a\u5728\u63a7\u5236\u53f0\u663e\u793a\u201cHello, World!\u201d\u3002\u4f60\u8fd8\u53ef\u4ee5\u901a\u8fc7\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u6765\u8f93\u51fa\u53d8\u91cf\u7684\u503c\uff0c\u5982<code>name = &quot;Alice&quot;<\/code>\uff0c\u7136\u540e\u4f7f\u7528<code>print(f&quot;Hello, {name}!&quot;)<\/code>\u6765\u8f93\u51fa\u201cHello, Alice!\u201d\u3002<\/p>\n<p><strong>Python\u652f\u6301\u54ea\u4e9b\u7f16\u7801\u683c\u5f0f\u6765\u5199\u5165\u6587\u672c\u6587\u4ef6\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u5199\u5165\u6587\u672c\u6587\u4ef6\u65f6\u53ef\u4ee5\u9009\u62e9\u591a\u79cd\u7f16\u7801\u683c\u5f0f\u3002\u5e38\u7528\u7684\u7f16\u7801\u683c\u5f0f\u5305\u62ecUTF-8\u3001ASCII\u548cUTF-16\u3002\u4f7f\u7528<code>open()<\/code>\u51fd\u6570\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7<code>encoding<\/code>\u53c2\u6570\u6307\u5b9a\u7f16\u7801\u65b9\u5f0f\u3002\u4f8b\u5982\uff0c<code>with open(&quot;example.txt&quot;, &quot;w&quot;, encoding=&quot;utf-8&quot;) as file:<\/code>\u5c06\u4ee5UTF-8\u683c\u5f0f\u6253\u5f00\u6587\u4ef6\u8fdb\u884c\u5199\u5165\u3002\u9009\u62e9\u9002\u5f53\u7684\u7f16\u7801\u683c\u5f0f\u53ef\u4ee5\u786e\u4fdd\u6587\u4ef6\u7684\u517c\u5bb9\u6027\u548c\u53ef\u8bfb\u6027\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u5904\u7406\u591a\u884c\u6587\u672c\u7684\u8f93\u5165\u548c\u8f93\u51fa\uff1f<\/strong><br \/>\u5904\u7406\u591a\u884c\u6587\u672c\u53ef\u4ee5\u4f7f\u7528\u4e09\u91cd\u5f15\u53f7\uff08<code>&#39;&#39;&#39;<\/code> \u6216 <code>&quot;&quot;&quot;<\/code>\uff09\u6765\u5b9a\u4e49\u591a\u884c\u5b57\u7b26\u4e32\u3002\u5728\u8f93\u51fa\u591a\u884c\u6587\u672c\u65f6\uff0c\u76f4\u63a5\u4f7f\u7528<code>print()<\/code>\u51fd\u6570\u5373\u53ef\u3002\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">text = &quot;&quot;&quot;\u8fd9\u662f\u7b2c\u4e00\u884c\u3002\n\u8fd9\u662f\u7b2c\u4e8c\u884c\u3002\n\u8fd9\u662f\u7b2c\u4e09\u884c\u3002&quot;&quot;&quot;\nprint(text)\n<\/code><\/pre>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u4f1a\u5c06\u4e09\u884c\u6587\u672c\u9010\u884c\u8f93\u51fa\u5230\u63a7\u5236\u53f0\u3002\u5bf9\u4e8e\u8f93\u5165\u591a\u884c\u6587\u672c\uff0c\u53ef\u4ee5\u4f7f\u7528\u5faa\u73af\u6216\u5176\u4ed6\u65b9\u6cd5\u6765\u9010\u884c\u8bfb\u53d6\uff0c\u4f8b\u5982\u901a\u8fc7<code>input()<\/code>\u51fd\u6570\u7ed3\u5408\u5faa\u73af\u5904\u7406\u7528\u6237\u8f93\u5165\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u5199\u6587\u5b57\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u5185\u7f6e\u7684print()\u51fd\u6570\u3001\u6587\u4ef6\u5199\u5165\u64cd\u4f5c\u4ee5\u53ca\u56fe\u5f62\u5e93\u7b49\u65b9\u6cd5\u5b9e\u73b0\u3002\u5176\u4e2d\uff0cprint [&hellip;]","protected":false},"author":3,"featured_media":1003672,"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\/1003663"}],"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=1003663"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1003663\/revisions"}],"predecessor-version":[{"id":1003675,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1003663\/revisions\/1003675"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1003672"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1003663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1003663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1003663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}