{"id":1065316,"date":"2024-12-31T16:16:33","date_gmt":"2024-12-31T08:16:33","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1065316.html"},"modified":"2024-12-31T16:16:36","modified_gmt":"2024-12-31T08:16:36","slug":"%e5%a6%82%e4%bd%95%e8%b0%83%e7%94%a8%e5%85%b6%e4%bb%96%e6%96%87%e4%bb%b6%e7%9a%84python%e5%87%bd%e6%95%b0%e8%b0%83%e7%94%a8","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1065316.html","title":{"rendered":"\u5982\u4f55\u8c03\u7528\u5176\u4ed6\u6587\u4ef6\u7684python\u51fd\u6570\u8c03\u7528"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/6cfe8a16-b816-4afb-a545-3d9a3625de10.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"\u5982\u4f55\u8c03\u7528\u5176\u4ed6\u6587\u4ef6\u7684python\u51fd\u6570\u8c03\u7528\" \/><\/p>\n<p><p> <strong>\u8c03\u7528\u5176\u4ed6\u6587\u4ef6\u7684Python\u51fd\u6570<\/strong>\u53ef\u4ee5\u901a\u8fc7\u51e0\u79cd\u65b9\u5f0f\u5b9e\u73b0\uff0c\u5e38\u89c1\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528<strong>import\u8bed\u53e5\u3001\u4f7f\u7528\u76f8\u5bf9\u5bfc\u5165\u3001\u4f7f\u7528\u6a21\u5757\u8def\u5f84<\/strong>\u7b49\u3002<strong>import\u8bed\u53e5<\/strong>\u662f\u6700\u5e38\u89c1\u4e14\u6700\u7b80\u5355\u7684\u65b9\u6cd5\uff0c\u4e0b\u9762\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u5b83\u3002<\/p>\n<\/p>\n<p><p>\u5f53\u4f60\u9700\u8981\u8c03\u7528\u5176\u4ed6\u6587\u4ef6\u4e2d\u7684Python\u51fd\u6570\u65f6\uff0c\u9996\u5148\u8981\u786e\u4fdd\u76ee\u6807\u6587\u4ef6\u5728\u4f60\u7684Python\u8def\u5f84\u4e2d\uff0c\u7136\u540e\u4f7f\u7528import\u8bed\u53e5\u5f15\u5165\u8be5\u6587\u4ef6\u3002<strong>\u4ee5\u4e0b\u662f\u5177\u4f53\u6b65\u9aa4\uff1a\u786e\u4fdd\u6587\u4ef6\u5728Python\u8def\u5f84\u4e2d\u3001\u4f7f\u7528import\u8bed\u53e5\u5f15\u5165\u6587\u4ef6\u3001\u8c03\u7528\u76ee\u6807\u51fd\u6570<\/strong>\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u786e\u4fdd\u6587\u4ef6\u5728Python\u8def\u5f84\u4e2d<\/h3>\n<\/p>\n<p><p>\u5f53\u4f60\u9700\u8981\u8c03\u7528\u5176\u4ed6\u6587\u4ef6\u4e2d\u7684\u51fd\u6570\u65f6\uff0c\u9996\u5148\u8981\u786e\u4fdd\u76ee\u6807\u6587\u4ef6\u5728\u4f60\u7684Python\u8def\u5f84\u4e2d\u3002Python\u8def\u5f84\u901a\u5e38\u6307\u7684\u662f\u5305\u542b\u4f60\u7684Python\u811a\u672c\u548c\u6a21\u5757\u7684\u76ee\u5f55\u3002\u5982\u679c\u76ee\u6807\u6587\u4ef6\u4e0e\u8c03\u7528\u6587\u4ef6\u4f4d\u4e8e\u540c\u4e00\u76ee\u5f55\u4e2d\uff0cPython\u4f1a\u81ea\u52a8\u8bc6\u522b\u5b83\u3002\u5982\u679c\u76ee\u6807\u6587\u4ef6\u4f4d\u4e8e\u4e0d\u540c\u76ee\u5f55\u4e2d\uff0c\u4f60\u9700\u8981\u5c06\u8be5\u76ee\u5f55\u6dfb\u52a0\u5230Python\u8def\u5f84\u3002<\/p>\n<\/p>\n<p><p>\u5047\u8bbe\u6211\u4eec\u6709\u4e24\u4e2a\u6587\u4ef6<code>m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n.py<\/code>\u548c<code>module.py<\/code>\uff0c\u5e76\u4e14\u5b83\u4eec\u4f4d\u4e8e\u540c\u4e00\u76ee\u5f55\u4e2d\u3002<code>module.py<\/code>\u4e2d\u6709\u4e00\u4e2a\u540d\u4e3a<code>greet<\/code>\u7684\u51fd\u6570\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># module.py<\/p>\n<p>def greet(name):<\/p>\n<p>    return f&quot;Hello, {name}!&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528import\u8bed\u53e5\u5f15\u5165\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>\u5728<code>main.py<\/code>\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528import\u8bed\u53e5\u5f15\u5165<code>module.py<\/code>\uff0c\u7136\u540e\u8c03\u7528\u5176\u4e2d\u7684\u51fd\u6570\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># main.py<\/p>\n<p>import module<\/p>\n<p>result = module.greet(&quot;Alice&quot;)<\/p>\n<p>print(result)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd0\u884c<code>main.py<\/code>\uff0c\u4f60\u4f1a\u770b\u5230\u8f93\u51fa<code>Hello, Alice!<\/code>\u3002\u8fd9\u662f\u56e0\u4e3a\u6211\u4eec\u6210\u529f\u5730\u5f15\u5165\u4e86<code>module.py<\/code>\u5e76\u8c03\u7528\u4e86\u5176\u4e2d\u7684<code>greet<\/code>\u51fd\u6570\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u8c03\u7528\u76ee\u6807\u51fd\u6570<\/h3>\n<\/p>\n<p><p><strong>\u8c03\u7528\u76ee\u6807\u51fd\u6570<\/strong>\u7684\u5173\u952e\u662f\u786e\u4fdd\u6b63\u786e\u5730\u5f15\u5165\u6a21\u5757\uff0c\u5e76\u4f7f\u7528\u6b63\u786e\u7684\u8bed\u6cd5\u8c03\u7528\u51fd\u6570\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u7528\u6cd5\u548c\u793a\u4f8b\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u4f7f\u7528import\u8bed\u53e5<\/h4>\n<\/p>\n<p><p>\u4f60\u53ef\u4ee5\u901a\u8fc7<code>import<\/code>\u8bed\u53e5\u5f15\u5165\u76ee\u6807\u6587\u4ef6\uff0c\u7136\u540e\u4f7f\u7528<code>\u6587\u4ef6\u540d.\u51fd\u6570\u540d<\/code>\u7684\u683c\u5f0f\u8c03\u7528\u51fd\u6570\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># main.py<\/p>\n<p>import module<\/p>\n<p>result = module.greet(&quot;Alice&quot;)<\/p>\n<p>print(result)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u4f7f\u7528from&#8230;import\u8bed\u53e5<\/h4>\n<\/p>\n<p><p>\u4f60\u4e5f\u53ef\u4ee5\u4f7f\u7528<code>from...import<\/code>\u8bed\u53e5\u76f4\u63a5\u5f15\u5165\u76ee\u6807\u6587\u4ef6\u4e2d\u7684\u51fd\u6570\uff0c\u8fd9\u6837\u53ef\u4ee5\u7b80\u5316\u51fd\u6570\u8c03\u7528\u7684\u8bed\u6cd5\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># main.py<\/p>\n<p>from module import greet<\/p>\n<p>result = greet(&quot;Alice&quot;)<\/p>\n<p>print(result)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001\u4f7f\u7528\u76f8\u5bf9\u5bfc\u5165<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u7684\u9879\u76ee\u7ed3\u6784\u66f4\u590d\u6742\uff0c\u5305\u542b\u591a\u4e2a\u5b50\u76ee\u5f55\uff0c\u4f60\u53ef\u80fd\u9700\u8981\u4f7f\u7528\u76f8\u5bf9\u5bfc\u5165\u3002\u4f8b\u5982\uff0c\u5047\u8bbe\u6211\u4eec\u6709\u4ee5\u4e0b\u76ee\u5f55\u7ed3\u6784\uff1a<\/p>\n<\/p>\n<p><pre><code>project\/<\/p>\n<p>\u251c\u2500\u2500 main.py<\/p>\n<p>\u2514\u2500\u2500 utils\/<\/p>\n<p>    \u2514\u2500\u2500 module.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728<code>main.py<\/code>\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u76f8\u5bf9\u5bfc\u5165\u5f15\u5165<code>module.py<\/code>\u4e2d\u7684\u51fd\u6570\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># main.py<\/p>\n<p>from utils.module import greet<\/p>\n<p>result = greet(&quot;Alice&quot;)<\/p>\n<p>print(result)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>4\u3001\u4f7f\u7528\u6a21\u5757\u8def\u5f84<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u76ee\u6807\u6587\u4ef6\u4f4d\u4e8e\u4e0d\u540c\u76ee\u5f55\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u6a21\u5757\u8def\u5f84\u5f15\u5165\u6587\u4ef6\u3002\u4f8b\u5982\uff0c\u5047\u8bbe\u6211\u4eec\u6709\u4ee5\u4e0b\u76ee\u5f55\u7ed3\u6784\uff1a<\/p>\n<\/p>\n<p><pre><code>project\/<\/p>\n<p>\u251c\u2500\u2500 main.py<\/p>\n<p>\u2514\u2500\u2500 utils\/<\/p>\n<p>    \u2514\u2500\u2500 module.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728<code>main.py<\/code>\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u6a21\u5757\u8def\u5f84\u5f15\u5165<code>module.py<\/code>\u4e2d\u7684\u51fd\u6570\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># main.py<\/p>\n<p>import sys<\/p>\n<p>sys.path.append(&quot;utils&quot;)<\/p>\n<p>import module<\/p>\n<p>result = module.greet(&quot;Alice&quot;)<\/p>\n<p>print(result)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u8c03\u7528\u5176\u4ed6\u6587\u4ef6\u7684Python\u51fd\u6570\u6709\u591a\u79cd\u65b9\u6cd5\uff0c\u5305\u62ec\u4f7f\u7528<code>import<\/code>\u8bed\u53e5\u3001<code>from...import<\/code>\u8bed\u53e5\u3001\u76f8\u5bf9\u5bfc\u5165\u548c\u6a21\u5757\u8def\u5f84\u7b49\u3002\u786e\u4fdd\u76ee\u6807\u6587\u4ef6\u5728Python\u8def\u5f84\u4e2d\u662f\u5173\u952e\u3002\u4e86\u89e3\u8fd9\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u5e2e\u52a9\u4f60\u66f4\u7075\u6d3b\u5730\u7ec4\u7ec7\u548c\u7ba1\u7406\u4ee3\u7801\uff0c\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u7ef4\u62a4\u6027\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u5176\u4ed6\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u9879\u76ee\u4e2d\uff0c\u8c03\u7528\u5176\u4ed6\u6587\u4ef6\u7684\u51fd\u6570\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n<\/p>\n<p><h4>1\u3001\u6a21\u5757\u547d\u540d<\/h4>\n<\/p>\n<p><p>\u786e\u4fdd\u6a21\u5757\u540d\u79f0\u4e0d\u4e0ePython\u5185\u7f6e\u6a21\u5757\u6216\u7b2c\u4e09\u65b9\u5e93\u7684\u540d\u79f0\u51b2\u7a81\uff0c\u4ee5\u907f\u514d\u547d\u540d\u51b2\u7a81\u548c\u6a21\u5757\u8986\u76d6\u7684\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u5faa\u73af\u5bfc\u5165<\/h4>\n<\/p>\n<p><p>\u907f\u514d\u5faa\u73af\u5bfc\u5165\uff0c\u5373\u4e24\u4e2a\u6a21\u5757\u76f8\u4e92\u5bfc\u5165\u5bf9\u65b9\u3002\u8fd9\u4f1a\u5bfc\u81f4\u5bfc\u5165\u9519\u8bef\u548c\u7a0b\u5e8f\u5d29\u6e83\u3002\u53ef\u4ee5\u901a\u8fc7\u91cd\u65b0\u7ec4\u7ec7\u4ee3\u7801\u6216\u4f7f\u7528\u5ef6\u8fdf\u5bfc\u5165\u6765\u89e3\u51b3\u6b64\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><h4>3\u3001\u6a21\u5757\u8def\u5f84<\/h4>\n<\/p>\n<p><p>\u5728\u5927\u578b\u9879\u76ee\u4e2d\uff0c\u5408\u7406\u7ec4\u7ec7\u76ee\u5f55\u7ed3\u6784\u548c\u6a21\u5757\u8def\u5f84\u6709\u52a9\u4e8e\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u7ef4\u62a4\u6027\u3002\u4f7f\u7528\u76f8\u5bf9\u5bfc\u5165\u548c\u6a21\u5757\u8def\u5f84\u7ba1\u7406\u53ef\u4ee5\u7b80\u5316\u5bfc\u5165\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h4>4\u3001\u4f9d\u8d56\u7ba1\u7406<\/h4>\n<\/p>\n<p><p>\u5728\u591a\u6a21\u5757\u9879\u76ee\u4e2d\uff0c\u4f7f\u7528\u4f9d\u8d56\u7ba1\u7406\u5de5\u5177\uff08\u5982pip\u3001poetry\u7b49\uff09\u6765\u7ba1\u7406\u9879\u76ee\u4f9d\u8d56\uff0c\u5e76\u786e\u4fdd\u6240\u6709\u4f9d\u8d56\u6a21\u5757\u5728\u5f00\u53d1\u548c\u751f\u4ea7\u73af\u5883\u4e2d\u90fd\u80fd\u6b63\u786e\u5bfc\u5165\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u638c\u63e1\u8fd9\u4e9b\u65b9\u6cd5\u548c\u6280\u5de7\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u8c03\u7528\u5176\u4ed6\u6587\u4ef6\u4e2d\u7684Python\u51fd\u6570\uff0c\u5e76\u63d0\u9ad8\u4ee3\u7801\u7684\u7ec4\u7ec7\u548c\u7ba1\u7406\u80fd\u529b\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5bfc\u5165\u5176\u4ed6\u6587\u4ef6\u4e2d\u7684\u51fd\u6570\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528<code>import<\/code>\u8bed\u53e5\u5bfc\u5165\u5176\u4ed6\u6587\u4ef6\u4e2d\u7684\u51fd\u6570\u3002\u9996\u5148\uff0c\u786e\u4fdd\u9700\u8981\u8c03\u7528\u7684\u51fd\u6570\u6240\u5728\u6587\u4ef6\u4e0e\u5f53\u524d\u6587\u4ef6\u5728\u540c\u4e00\u76ee\u5f55\u4e0b\u3002\u60a8\u53ea\u9700\u5728\u5f53\u524d\u6587\u4ef6\u4e2d\u4f7f\u7528<code>import \u6587\u4ef6\u540d<\/code>\uff0c\u7136\u540e\u4ee5<code>\u6587\u4ef6\u540d.\u51fd\u6570\u540d()<\/code>\u7684\u5f62\u5f0f\u8c03\u7528\u6240\u9700\u7684\u51fd\u6570\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u7684\u6587\u4ef6\u540d\u4e3a<code>my_functions.py<\/code>\uff0c\u800c\u51fd\u6570\u540d\u4e3a<code>my_function<\/code>\uff0c\u90a3\u4e48\u60a8\u53ef\u4ee5\u8fd9\u6837\u8c03\u7528\uff1a  <\/p>\n<pre><code class=\"language-python\">import my_functions  \nmy_functions.my_function()\n<\/code><\/pre>\n<p><strong>\u5982\u4f55\u5904\u7406\u5bfc\u5165\u51fd\u6570\u65f6\u7684\u547d\u540d\u51b2\u7a81\uff1f<\/strong><br \/>\u5f53\u60a8\u5bfc\u5165\u591a\u4e2a\u6587\u4ef6\u6216\u6a21\u5757\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u547d\u540d\u51b2\u7a81\u7684\u60c5\u51b5\u3002\u4e3a\u907f\u514d\u8fd9\u79cd\u60c5\u51b5\uff0c\u53ef\u4ee5\u4f7f\u7528<code>as<\/code>\u5173\u952e\u5b57\u4e3a\u6a21\u5757\u6216\u51fd\u6570\u6307\u5b9a\u522b\u540d\u3002\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">import my_functions as mf  \nmf.my_function()\n<\/code><\/pre>\n<p>\u8fd9\u6837\uff0c\u60a8\u5c31\u53ef\u4ee5\u4f7f\u7528<code>mf<\/code>\u4f5c\u4e3a<code>my_functions<\/code>\u7684\u522b\u540d\uff0c\u907f\u514d\u4e0e\u5176\u4ed6\u6a21\u5757\u4e2d\u7684\u51fd\u6570\u4ea7\u751f\u51b2\u7a81\u3002<\/p>\n<p><strong>\u5982\u4f55\u5bfc\u5165\u7279\u5b9a\u7684\u51fd\u6570\u800c\u4e0d\u662f\u6574\u4e2a\u6a21\u5757\uff1f<\/strong><br \/>\u5982\u679c\u60a8\u53ea\u60f3\u5bfc\u5165\u7279\u5b9a\u7684\u51fd\u6570\u800c\u4e0d\u9700\u8981\u6574\u4e2a\u6a21\u5757\uff0c\u53ef\u4ee5\u4f7f\u7528<code>from ... import ...<\/code>\u8bed\u6cd5\u3002\u8fd9\u6837\u53ef\u4ee5\u76f4\u63a5\u8c03\u7528\u8be5\u51fd\u6570\uff0c\u800c\u65e0\u9700\u524d\u7f00\u6a21\u5757\u540d\u79f0\u3002\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">from my_functions import my_function  \nmy_function()\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u4f7f\u4ee3\u7801\u66f4\u7b80\u6d01\uff0c\u5c24\u5176\u662f\u5728\u53ea\u9700\u8981\u5c11\u91cf\u51fd\u6570\u7684\u60c5\u51b5\u4e0b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8c03\u7528\u5176\u4ed6\u6587\u4ef6\u7684Python\u51fd\u6570\u53ef\u4ee5\u901a\u8fc7\u51e0\u79cd\u65b9\u5f0f\u5b9e\u73b0\uff0c\u5e38\u89c1\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528import\u8bed\u53e5\u3001\u4f7f\u7528\u76f8\u5bf9\u5bfc\u5165\u3001\u4f7f\u7528\u6a21\u5757 [&hellip;]","protected":false},"author":3,"featured_media":1065325,"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\/1065316"}],"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=1065316"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1065316\/revisions"}],"predecessor-version":[{"id":1065330,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1065316\/revisions\/1065330"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1065325"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1065316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1065316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1065316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}