{"id":1117617,"date":"2025-01-08T18:27:40","date_gmt":"2025-01-08T10:27:40","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1117617.html"},"modified":"2025-01-08T18:27:43","modified_gmt":"2025-01-08T10:27:43","slug":"python%e5%8f%98%e9%87%8f%e5%a6%82%e4%bd%95%e8%bf%9e%e6%8e%a5%e5%9c%a8%e4%b8%80%e8%b5%b7","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1117617.html","title":{"rendered":"python\u53d8\u91cf\u5982\u4f55\u8fde\u63a5\u5728\u4e00\u8d77"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25081443\/ef48b78b-83a4-4362-abdb-598c4e61d146.webp\" alt=\"python\u53d8\u91cf\u5982\u4f55\u8fde\u63a5\u5728\u4e00\u8d77\" \/><\/p>\n<p><p> <strong>Python\u53d8\u91cf\u8fde\u63a5\u7684\u65b9\u6cd5\u5305\u62ec\u5b57\u7b26\u4e32\u62fc\u63a5\u3001\u4f7f\u7528f-string\u683c\u5f0f\u5316\u3001\u4f7f\u7528join\u65b9\u6cd5\u3001\u5217\u8868\u6216\u5b57\u5178\u7684\u7ec4\u5408\u7b49\u3002f-string\u683c\u5f0f\u5316\u662f\u6700\u63a8\u8350\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u7684\u8bed\u6cd5\u7b80\u6d01\u3001\u6613\u8bfb\u6027\u5f3a\u3002<\/strong> \u4f8b\u5982\uff0c\u4f7f\u7528f-string\u683c\u5f0f\u5316\u53ef\u4ee5\u8fd9\u6837\u5199\uff1a<code>f&quot;Hello {name}, you are {age} years old.&quot;<\/code>\u3002\u8fd9\u79cd\u65b9\u5f0f\u4e0d\u4ec5\u7b80\u6d01\uff0c\u800c\u4e14\u5728\u53d8\u91cf\u7c7b\u578b\u8f6c\u6362\u4e0a\u4e5f\u66f4\u52a0\u7075\u6d3b\uff0c\u80fd\u591f\u81ea\u52a8\u5904\u7406\u5404\u79cd\u6570\u636e\u7c7b\u578b\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u5b57\u7b26\u4e32\u62fc\u63a5<\/p>\n<\/p>\n<p><p>\u5b57\u7b26\u4e32\u62fc\u63a5\u662f\u5c06\u4e24\u4e2a\u6216\u591a\u4e2a\u5b57\u7b26\u4e32\u8fde\u63a5\u5728\u4e00\u8d77\u7684\u8fc7\u7a0b\u3002\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u52a0\u53f7\uff08+\uff09\u64cd\u4f5c\u7b26\u6765\u5b9e\u73b0\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">str1 = &quot;Hello&quot;<\/p>\n<p>str2 = &quot;World&quot;<\/p>\n<p>result = str1 + &quot; &quot; + str2<\/p>\n<p>print(result)  # \u8f93\u51fa: Hello World<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7b80\u5355\u76f4\u89c2\uff0c\u4f46\u5bf9\u4e8e\u5927\u91cf\u7684\u5b57\u7b26\u4e32\u62fc\u63a5\u6765\u8bf4\uff0c\u6548\u7387\u53ef\u80fd\u4e0d\u9ad8\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001f-string\u683c\u5f0f\u5316<\/p>\n<\/p>\n<p><p>Python 3.6\u53ca\u4ee5\u540e\u7248\u672c\u5f15\u5165\u4e86f-string\u683c\u5f0f\u5316\uff0c\u8fd9\u662f\u63a8\u8350\u7684\u5b57\u7b26\u4e32\u62fc\u63a5\u65b9\u6cd5\u3002\u5b83\u4e0d\u4ec5\u8bed\u6cd5\u7b80\u6d01\uff0c\u800c\u4e14\u5177\u5907\u826f\u597d\u7684\u53ef\u8bfb\u6027\u548c\u7075\u6d3b\u6027\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">name = &quot;Alice&quot;<\/p>\n<p>age = 30<\/p>\n<p>result = f&quot;Hello {name}, you are {age} years old.&quot;<\/p>\n<p>print(result)  # \u8f93\u51fa: Hello Alice, you are 30 years old.<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>f-string\u683c\u5f0f\u5316\u80fd\u591f\u81ea\u52a8\u5904\u7406\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\uff0c\u5e76\u8fdb\u884c\u8f6c\u6362\uff0c\u975e\u5e38\u65b9\u4fbf\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528join\u65b9\u6cd5<\/p>\n<\/p>\n<p><p><code>join<\/code>\u65b9\u6cd5\u662f\u62fc\u63a5\u5b57\u7b26\u4e32\u5217\u8868\u7684\u4e00\u79cd\u9ad8\u6548\u65b9\u5f0f\u3002\u5b83\u5bf9\u4e8e\u9700\u8981\u62fc\u63a5\u5927\u91cf\u5b57\u7b26\u4e32\u7684\u573a\u666f\u975e\u5e38\u9002\u7528\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">words = [&quot;Hello&quot;, &quot;World&quot;, &quot;Python&quot;]<\/p>\n<p>result = &quot; &quot;.join(words)<\/p>\n<p>print(result)  # \u8f93\u51fa: Hello World Python<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f7f\u7528<code>join<\/code>\u65b9\u6cd5\u4e0d\u4ec5\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\uff0c\u8fd8\u80fd\u63d0\u5347\u6027\u80fd\uff0c\u56e0\u4e3a\u5b83\u907f\u514d\u4e86\u591a\u4e2a\u5b57\u7b26\u4e32\u62fc\u63a5\u65f6\u7684\u91cd\u590d\u521b\u5efa\u4e34\u65f6\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u5217\u8868\u6216\u5b57\u5178\u7684\u7ec4\u5408<\/p>\n<\/p>\n<p><p>\u5728\u5904\u7406\u590d\u6742\u6570\u636e\u7ed3\u6784\u65f6\uff0c\u53ef\u4ee5\u5c06\u53d8\u91cf\u5b58\u50a8\u5728\u5217\u8868\u6216\u5b57\u5178\u4e2d\uff0c\u5e76\u901a\u8fc7\u8fed\u4ee3\u6216\u683c\u5f0f\u5316\u6765\u8fdb\u884c\u62fc\u63a5\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">data = [&quot;Alice&quot;, 30, &quot;Engineer&quot;]<\/p>\n<p>result = f&quot;Name: {data[0]}, Age: {data[1]}, Occupation: {data[2]}&quot;<\/p>\n<p>print(result)  # \u8f93\u51fa: Name: Alice, Age: 30, Occupation: Engineer<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f7f\u7528\u5b57\u5178\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u952e\u503c\u5bf9\u7684\u65b9\u5f0f\u66f4\u6e05\u6670\u5730\u8868\u793a\u6570\u636e\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">data = {&quot;name&quot;: &quot;Alice&quot;, &quot;age&quot;: 30, &quot;occupation&quot;: &quot;Engineer&quot;}<\/p>\n<p>result = f&quot;Name: {data[&#39;name&#39;]}, Age: {data[&#39;age&#39;]}, Occupation: {data[&#39;occupation&#39;]}&quot;<\/p>\n<p>print(result)  # \u8f93\u51fa: Name: Alice, Age: 30, Occupation: Engineer<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u5bf9\u4e8e\u5904\u7406\u7ed3\u6784\u5316\u6570\u636e\u5c24\u5176\u6709\u7528\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u683c\u5f0f\u5316\u5b57\u7b26\u4e32<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u65e7\u5f0f\u7684\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u65b9\u6cd5\u4f7f\u7528\u767e\u5206\u53f7\uff08%\uff09\u6765\u8fdb\u884c\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">name = &quot;Alice&quot;<\/p>\n<p>age = 30<\/p>\n<p>result = &quot;Hello %s, you are %d years old.&quot; % (name, age)<\/p>\n<p>print(result)  # \u8f93\u51fa: Hello Alice, you are 30 years old.<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5c3d\u7ba1\u8fd9\u79cd\u65b9\u6cd5\u5df2\u7ecf\u4e0d\u518d\u63a8\u8350\uff0c\u4f46\u5728\u67d0\u4e9b\u9057\u7559\u4ee3\u7801\u4e2d\u4ecd\u7136\u53ef\u4ee5\u770b\u5230\u5b83\u7684\u8eab\u5f71\u3002<\/p>\n<\/p>\n<p><p>\u516d\u3001\u4f7f\u7528format\u65b9\u6cd5<\/p>\n<\/p>\n<p><p><code>format<\/code>\u65b9\u6cd5\u662fPython 3.0\u5f15\u5165\u7684\u4e00\u79cd\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u65b9\u6cd5\uff0c\u4f7f\u7528\u5927\u62ec\u53f7\uff08{}\uff09\u4f5c\u4e3a\u5360\u4f4d\u7b26\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">name = &quot;Alice&quot;<\/p>\n<p>age = 30<\/p>\n<p>result = &quot;Hello {}, you are {} years old.&quot;.format(name, age)<\/p>\n<p>print(result)  # \u8f93\u51fa: Hello Alice, you are 30 years old.<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u6bd4\u65e7\u5f0f\u7684\u767e\u5206\u53f7\u683c\u5f0f\u5316\u66f4\u7075\u6d3b\uff0c\u4f46\u4ecd\u7136\u4e0d\u5982f-string\u683c\u5f0f\u5316\u7b80\u6d01\u3002<\/p>\n<\/p>\n<p><p>\u4e03\u3001\u53d8\u91cf\u8fde\u63a5\u5728\u6587\u4ef6\u8def\u5f84\u4e2d<\/p>\n<\/p>\n<p><p>\u5728\u5904\u7406\u6587\u4ef6\u8def\u5f84\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>os.path.join<\/code>\u65b9\u6cd5\u6765\u62fc\u63a5\u8def\u5f84\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import os<\/p>\n<p>folder = &quot;Documents&quot;<\/p>\n<p>filename = &quot;file.txt&quot;<\/p>\n<p>path = os.path.join(folder, filename)<\/p>\n<p>print(path)  # \u8f93\u51fa: Documents\/file.txt<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u4ec5\u7b80\u6d01\uff0c\u8fd8\u80fd\u81ea\u52a8\u5904\u7406\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u7684\u8def\u5f84\u5206\u9694\u7b26\u3002<\/p>\n<\/p>\n<p><p>\u516b\u3001\u53d8\u91cf\u8fde\u63a5\u5728URL\u4e2d<\/p>\n<\/p>\n<p><p>\u5728\u5904\u7406URL\u62fc\u63a5\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>urllib.parse<\/code>\u4e2d\u7684<code>urljoin<\/code>\u65b9\u6cd5\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from urllib.parse import urljoin<\/p>\n<p>base_url = &quot;http:\/\/example.com&quot;<\/p>\n<p>endpoint = &quot;\/api\/data&quot;<\/p>\n<p>full_url = urljoin(base_url, endpoint)<\/p>\n<p>print(full_url)  # \u8f93\u51fa: http:\/\/example.com\/api\/data<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u80fd\u591f\u786e\u4fddURL\u62fc\u63a5\u7684\u6b63\u786e\u6027\uff0c\u907f\u514d\u624b\u52a8\u62fc\u63a5\u65f6\u51fa\u73b0\u9519\u8bef\u3002<\/p>\n<\/p>\n<p><p>\u4e5d\u3001\u53d8\u91cf\u8fde\u63a5\u5728SQL\u67e5\u8be2\u4e2d<\/p>\n<\/p>\n<p><p>\u5728\u6784\u5efaSQL\u67e5\u8be2\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u5360\u4f4d\u7b26\u548c\u53c2\u6570\u5316\u67e5\u8be2\u6765\u62fc\u63a5\u53d8\u91cf\uff0c\u4ece\u800c\u907f\u514dSQL\u6ce8\u5165\u653b\u51fb\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sqlite3<\/p>\n<p>conn = sqlite3.connect(&quot;database.db&quot;)<\/p>\n<p>cursor = conn.cursor()<\/p>\n<p>name = &quot;Alice&quot;<\/p>\n<p>age = 30<\/p>\n<p>query = &quot;SELECT * FROM users WHERE name = ? AND age = ?&quot;<\/p>\n<p>cursor.execute(query, (name, age))<\/p>\n<p>results = cursor.fetchall()<\/p>\n<p>print(results)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u4ec5\u5b89\u5168\uff0c\u8fd8\u80fd\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u7ef4\u62a4\u6027\u3002<\/p>\n<\/p>\n<p><p>\u5341\u3001\u53d8\u91cf\u8fde\u63a5\u5728HTML\u6a21\u677f\u4e2d<\/p>\n<\/p>\n<p><p>\u5728\u751f\u6210HTML\u5185\u5bb9\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u6a21\u677f\u5f15\u64ce\u5982Jinja2\u6765\u62fc\u63a5\u53d8\u91cf\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from jinja2 import Template<\/p>\n<p>template = Template(&quot;Hello {{ name }}, you are {{ age }} years old.&quot;)<\/p>\n<p>result = template.render(name=&quot;Alice&quot;, age=30)<\/p>\n<p>print(result)  # \u8f93\u51fa: Hello Alice, you are 30 years old.<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u80fd\u591f\u5206\u79bb\u903b\u8f91\u548c\u89c6\u56fe\uff0c\u4f7f\u4ee3\u7801\u66f4\u52a0\u6a21\u5757\u5316\u548c\u6613\u4e8e\u7ef4\u62a4\u3002<\/p>\n<\/p>\n<p><p>\u603b\u7ed3<\/p>\n<\/p>\n<p><p>Python\u63d0\u4f9b\u4e86\u591a\u79cd\u53d8\u91cf\u8fde\u63a5\u7684\u65b9\u6cd5\uff0c\u4ece\u7b80\u5355\u7684\u5b57\u7b26\u4e32\u62fc\u63a5\u5230\u9ad8\u7ea7\u7684\u6a21\u677f\u5f15\u64ce\u3002\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u4e0d\u4ec5\u80fd\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u7ef4\u62a4\u6027\uff0c\u8fd8\u80fd\u63d0\u5347\u6027\u80fd\u548c\u5b89\u5168\u6027\u3002\u5728\u5b9e\u9645\u5f00\u53d1\u4e2d\uff0c\u63a8\u8350\u4f7f\u7528f-string\u683c\u5f0f\u5316\u6765\u8fdb\u884c\u5b57\u7b26\u4e32\u62fc\u63a5\uff0c\u56e0\u4e3a\u5b83\u8bed\u6cd5\u7b80\u6d01\u3001\u6613\u8bfb\u6027\u5f3a\uff0c\u5e76\u4e14\u80fd\u591f\u81ea\u52a8\u5904\u7406\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u3002\u5bf9\u4e8e\u66f4\u590d\u6742\u7684\u6570\u636e\u7ed3\u6784\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u5217\u8868\u3001\u5b57\u5178\u6216\u6a21\u677f\u5f15\u64ce\uff0c\u4ee5\u4fbf\u66f4\u6e05\u6670\u5730\u8868\u793a\u548c\u5904\u7406\u6570\u636e\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u6709\u6548\u5730\u8fde\u63a5\u591a\u4e2a\u53d8\u91cf\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u8fde\u63a5\u53d8\u91cf\uff0c\u4f8b\u5982\u4f7f\u7528\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u3001f-string\u6216\u8005\u7b80\u5355\u7684\u52a0\u53f7\u8fd0\u7b97\u7b26\u3002\u5bf9\u4e8e\u5b57\u7b26\u4e32\uff0c\u4f7f\u7528\u52a0\u53f7\u53ef\u4ee5\u76f4\u63a5\u5c06\u5b57\u7b26\u4e32\u53d8\u91cf\u8fde\u63a5\u5728\u4e00\u8d77\uff0c\u800c\u4f7f\u7528<code>format()<\/code>\u65b9\u6cd5\u6216f-string\u5219\u80fd\u591f\u63d0\u4f9b\u66f4\u5f3a\u5927\u7684\u683c\u5f0f\u5316\u80fd\u529b\uff0c\u9002\u5408\u66f4\u590d\u6742\u7684\u573a\u666f\u3002<\/p>\n<p><strong>\u4f7f\u7528\u5b57\u7b26\u4e32\u8fde\u63a5\u65f6\u6709\u54ea\u4e9b\u5e38\u89c1\u7684\u9519\u8bef\u9700\u8981\u907f\u514d\uff1f<\/strong><br \/>\u5728\u8fdb\u884c\u5b57\u7b26\u4e32\u8fde\u63a5\u65f6\uff0c\u786e\u4fdd\u6240\u6709\u8fde\u63a5\u7684\u53d8\u91cf\u90fd\u662f\u5b57\u7b26\u4e32\u7c7b\u578b\uff0c\u5426\u5219\u4f1a\u5bfc\u81f4<code>TypeError<\/code>\u3002\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u4f7f\u7528<code>str()<\/code>\u51fd\u6570\u5c06\u975e\u5b57\u7b26\u4e32\u7c7b\u578b\u53d8\u91cf\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u3002\u6b64\u5916\uff0c\u6ce8\u610f\u907f\u514d\u5728\u8fde\u63a5\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u591a\u4f59\u7684\u7a7a\u683c\u6216\u7b26\u53f7\uff0c\u8fd9\u53ef\u80fd\u5f71\u54cd\u6700\u7ec8\u7ed3\u679c\u7684\u7f8e\u89c2\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\uff0c\u8fde\u63a5\u53d8\u91cf\u7684\u6027\u80fd\u5982\u4f55\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u4f7f\u7528\u52a0\u53f7\u8fde\u63a5\u5b57\u7b26\u4e32\u5728\u8fde\u63a5\u5927\u91cf\u5b57\u7b26\u4e32\u65f6\u53ef\u80fd\u4f1a\u5bfc\u81f4\u6027\u80fd\u95ee\u9898\uff0c\u56e0\u4e3a\u6bcf\u6b21\u8fde\u63a5\u90fd\u4f1a\u751f\u6210\u4e00\u4e2a\u65b0\u7684\u5b57\u7b26\u4e32\u3002\u5bf9\u4e8e\u5927\u91cf\u5b57\u7b26\u4e32\u7684\u8fde\u63a5\uff0c\u63a8\u8350\u4f7f\u7528<code>join()<\/code>\u65b9\u6cd5\uff0c\u5b83\u901a\u8fc7\u4e00\u6b21\u6027\u5408\u5e76\u591a\u4e2a\u5b57\u7b26\u4e32\u800c\u63d0\u9ad8\u6027\u80fd\uff0c\u5c24\u5176\u5728\u5904\u7406\u5217\u8868\u6216\u5143\u7ec4\u65f6\u8868\u73b0\u66f4\u4f73\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u53d8\u91cf\u8fde\u63a5\u7684\u65b9\u6cd5\u5305\u62ec\u5b57\u7b26\u4e32\u62fc\u63a5\u3001\u4f7f\u7528f-string\u683c\u5f0f\u5316\u3001\u4f7f\u7528join\u65b9\u6cd5\u3001\u5217\u8868\u6216\u5b57\u5178\u7684\u7ec4\u5408\u7b49\u3002f [&hellip;]","protected":false},"author":3,"featured_media":1117627,"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\/1117617"}],"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=1117617"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1117617\/revisions"}],"predecessor-version":[{"id":1117628,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1117617\/revisions\/1117628"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1117627"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1117617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1117617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1117617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}