{"id":940801,"date":"2024-12-26T21:11:41","date_gmt":"2024-12-26T13:11:41","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/940801.html"},"modified":"2024-12-26T21:11:43","modified_gmt":"2024-12-26T13:11:43","slug":"net%e5%a6%82%e4%bd%95%e7%94%a8python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/940801.html","title":{"rendered":".net\u5982\u4f55\u7528python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25075309\/18014776-4eca-4c29-865f-cd7cd855fa3b.webp\" alt=\".net\u5982\u4f55\u7528python\" \/><\/p>\n<p><p> \u5f00\u5934\u6bb5\u843d:<br \/><strong>\u5728.NET\u4e2d\u4f7f\u7528Python\uff0c\u53ef\u4ee5\u901a\u8fc7\u51e0\u79cd\u65b9\u5f0f\u5b9e\u73b0\uff0c\u4e3b\u8981\u5305\u62ec\uff1a\u4f7f\u7528Python for .NET\u5e93\u3001\u901a\u8fc7IronPython\u8fd0\u884cPython\u4ee3\u7801\u3001\u4f7f\u7528Python\u811a\u672c\u4e0e.NET\u8fdb\u884c\u4ea4\u4e92\u3002<\/strong> \u5176\u4e2d\uff0cPython for .NET\u5e93\uff08PythonNet\uff09\u662f\u4e00\u79cd\u6d41\u884c\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u5b83\u5141\u8bb8Python\u4ee3\u7801\u8c03\u7528.NET\u7a0b\u5e8f\u96c6\uff0c\u5e76\u5c06.NET\u5bf9\u8c61\u5d4c\u5165\u5230Python\u4e2d\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5728Python\u4e2d\u8bbf\u95ee\u548c\u4f7f\u7528.NET\u6846\u67b6\u7684\u7c7b\u548c\u65b9\u6cd5\uff0c\u800c\u4e0d\u9700\u8981\u8fdb\u884c\u5927\u91cf\u7684\u4ee3\u7801\u4fee\u6539\u6216\u91cd\u5199\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728.NET\u73af\u5883\u4e2d\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\u4f7f\u7528Python\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528Python for .NET\uff08PythonNet\uff09<\/p>\n<\/p>\n<p><p>Python for .NET\uff08PythonNet\uff09\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u65e8\u5728\u5c06Python\u548c.NET\u7ed3\u5408\u5728\u4e00\u8d77\uff0c\u4f7fPython\u4ee3\u7801\u80fd\u591f\u4e0e.NET\u6846\u67b6\u8fdb\u884c\u4ea4\u4e92\u3002\u5b83\u5141\u8bb8\u76f4\u63a5\u8c03\u7528.NET\u7a0b\u5e8f\u96c6\u4e2d\u7684\u7c7b\u548c\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<ol>\n<li>\u5b89\u88c5PythonNet<\/li>\n<\/ol>\n<p><p>\u8981\u4f7f\u7528PythonNet\uff0c\u9996\u5148\u9700\u8981\u5b89\u88c5\u8be5\u5e93\u3002\u53ef\u4ee5\u901a\u8fc7pip\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pythonnet<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u60a8\u5c31\u53ef\u4ee5\u5728Python\u811a\u672c\u4e2d\u4f7f\u7528.NET\u529f\u80fd\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u8c03\u7528.NET\u7a0b\u5e8f\u96c6<\/li>\n<\/ol>\n<p><p>\u5b89\u88c5PythonNet\u540e\uff0c\u60a8\u53ef\u4ee5\u5728Python\u4e2d\u5bfc\u5165clr\u6a21\u5757\u6765\u5f15\u7528.NET\u7a0b\u5e8f\u96c6\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import clr<\/p>\n<p>clr.AddReference(&#39;System.Windows.Forms&#39;)<\/p>\n<p>from System.Windows.Forms import MessageBox<\/p>\n<p>MessageBox.Show(&#39;Hello from Python!&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4ee5\u4e0a\u4ee3\u7801\u5c55\u793a\u4e86\u5982\u4f55\u4f7f\u7528PythonNet\u8c03\u7528.NET\u7684Windows\u7a97\u4f53\u5e93\uff0c\u5e76\u663e\u793a\u4e00\u4e2a\u6d88\u606f\u6846\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528IronPython<\/p>\n<\/p>\n<p><p>IronPython\u662f\u4e00\u4e2a\u7528C#\u5b9e\u73b0\u7684Python\u89e3\u91ca\u5668\uff0c\u5b83\u4e13\u95e8\u4e3a.NET\u6846\u67b6\u800c\u8bbe\u8ba1\uff0c\u4f7f\u5f97Python\u4ee3\u7801\u53ef\u4ee5\u65e0\u7f1d\u96c6\u6210\u5230.NET\u5e94\u7528\u7a0b\u5e8f\u4e2d\u3002<\/p>\n<\/p>\n<ol>\n<li>\u5b89\u88c5IronPython<\/li>\n<\/ol>\n<p><p>\u53ef\u4ee5\u4eceIronPython\u7684\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u5e76\u5b89\u88c5\u76f8\u5e94\u7248\u672c\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u60a8\u53ef\u4ee5\u5728.NET\u9879\u76ee\u4e2d\u5f15\u7528IronPython\u5e93\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u5728.NET\u4e2d\u8fd0\u884cPython\u4ee3\u7801<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7IronPython\uff0c\u60a8\u53ef\u4ee5\u5728C#\u6216\u5176\u4ed6.NET\u8bed\u8a00\u4e2d\u8fd0\u884cPython\u811a\u672c\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-csharp\">using IronPython.Hosting;<\/p>\n<p>using Microsoft.Scripting.Hosting;<\/p>\n<p>class Program<\/p>\n<p>{<\/p>\n<p>    static void M<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n(string[] args)<\/p>\n<p>    {<\/p>\n<p>        ScriptEngine engine = Python.CreateEngine();<\/p>\n<p>        engine.Execute(&quot;print(&#39;Hello from IronPython&#39;)&quot;);<\/p>\n<p>    }<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6b64\u4ee3\u7801\u901a\u8fc7IronPython\u5f15\u64ce\u6267\u884c\u4e86\u4e00\u6bb5\u7b80\u5355\u7684Python\u4ee3\u7801\uff0c\u8f93\u51fa\u7ed3\u679c\u5230\u63a7\u5236\u53f0\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528Python\u811a\u672c\u4e0e.NET\u8fdb\u884c\u4ea4\u4e92<\/p>\n<\/p>\n<p><p>\u9664\u4e86\u76f4\u63a5\u5728.NET\u4e2d\u8fd0\u884cPython\u4ee3\u7801\u5916\uff0c\u8fd8\u53ef\u4ee5\u901a\u8fc7\u5916\u90e8\u811a\u672c\u6216\u670d\u52a1\u4e0e.NET\u8fdb\u884c\u4ea4\u4e92\u3002<\/p>\n<\/p>\n<ol>\n<li>\u4f7f\u7528Python\u811a\u672c<\/li>\n<\/ol>\n<p><p>\u53ef\u4ee5\u7f16\u5199Python\u811a\u672c\uff0c\u901a\u8fc7\u547d\u4ee4\u884c\u6216\u5176\u4ed6\u65b9\u5f0f\u8c03\u7528\uff0c\u5e76\u5c06\u5176\u8f93\u51fa\u6216\u7ed3\u679c\u8fd4\u56de\u7ed9.NET\u5e94\u7528\u7a0b\u5e8f\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528Python\u8fdb\u884c\u6570\u636e\u5904\u7406\uff0c\u7136\u540e\u901a\u8fc7\u6587\u4ef6\u3001\u6570\u636e\u5e93\u6216\u7f51\u7edc\u63a5\u53e3\u4e0e.NET\u7a0b\u5e8f\u901a\u4fe1\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u4f7f\u7528RESTful\u670d\u52a1<\/li>\n<\/ol>\n<p><p>\u53e6\u4e00\u79cd\u65b9\u6cd5\u662f\u5c06Python\u4ee3\u7801\u5c01\u88c5\u6210RESTful\u670d\u52a1\uff0c.NET\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u901a\u8fc7HTTP\u8bf7\u6c42\u4e0e\u8fd9\u4e9b\u670d\u52a1\u8fdb\u884c\u4ea4\u4e92\u3002\u8fd9\u79cd\u65b9\u5f0f\u7279\u522b\u9002\u5408\u4e8e\u5206\u5e03\u5f0f\u7cfb\u7edf\u6216\u9700\u8981\u8de8\u5e73\u53f0\u517c\u5bb9\u7684\u573a\u666f\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u5728\u6df7\u5408\u9879\u76ee\u4e2d\u7ba1\u7406\u4f9d\u8d56\u548c\u7248\u672c<\/p>\n<\/p>\n<p><p>\u5728\u4e00\u4e2a\u9879\u76ee\u4e2d\u540c\u65f6\u4f7f\u7528Python\u548c.NET\u53ef\u80fd\u4f1a\u5e26\u6765\u4f9d\u8d56\u7ba1\u7406\u548c\u7248\u672c\u63a7\u5236\u7684\u6311\u6218\u3002<\/p>\n<\/p>\n<ol>\n<li>\u7ba1\u7406Python\u5305<\/li>\n<\/ol>\n<p><p>\u5728Python\u90e8\u5206\uff0c\u53ef\u4ee5\u4f7f\u7528pipenv\u6216conda\u7b49\u5de5\u5177\u6765\u7ba1\u7406\u5305\u4f9d\u8d56\uff0c\u786e\u4fdd\u6240\u6709\u9700\u8981\u7684\u5e93\u90fd\u80fd\u5728\u5f00\u53d1\u548c\u751f\u4ea7\u73af\u5883\u4e2d\u6b63\u786e\u5b89\u88c5\u548c\u8fd0\u884c\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u7ba1\u7406.NET\u7a0b\u5e8f\u96c6<\/li>\n<\/ol>\n<p><p>\u5728.NET\u90e8\u5206\uff0c\u53ef\u4ee5\u4f7f\u7528NuGet\u5305\u7ba1\u7406\u5668\u6765\u7ba1\u7406\u7a0b\u5e8f\u96c6\u7684\u7248\u672c\u548c\u4f9d\u8d56\uff0c\u786e\u4fdd\u9879\u76ee\u4e2d\u5f15\u7528\u7684\u6240\u6709\u5e93\u90fd\u662f\u517c\u5bb9\u4e14\u6700\u65b0\u7684\u7248\u672c\u3002<\/p>\n<\/p>\n<ol start=\"3\">\n<li>\u7248\u672c\u63a7\u5236<\/li>\n<\/ol>\n<p><p>\u5bf9\u4e8e\u6df7\u5408\u9879\u76ee\uff0c\u4f7f\u7528\u7248\u672c\u63a7\u5236\u7cfb\u7edf\uff08\u5982Git\uff09\u662f\u81f3\u5173\u91cd\u8981\u7684\u3002\u786e\u4fdd\u5728\u9879\u76ee\u4e2d\u660e\u786e\u533a\u5206Python\u548c.NET\u4ee3\u7801\uff0c\u5e76\u4e3a\u6bcf\u90e8\u5206\u7684\u4f9d\u8d56\u548c\u914d\u7f6e\u6587\u4ef6\u63d0\u4f9b\u6e05\u6670\u7684\u6587\u6863\u548c\u7248\u672c\u8bb0\u5f55\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u6027\u80fd\u548c\u4f18\u5316<\/p>\n<\/p>\n<p><p>\u5728\u6df7\u5408\u4f7f\u7528Python\u548c.NET\u65f6\uff0c\u6027\u80fd\u53ef\u80fd\u4f1a\u6210\u4e3a\u4e00\u4e2a\u9700\u8981\u5173\u6ce8\u7684\u95ee\u9898\u3002<\/p>\n<\/p>\n<ol>\n<li>\u4f18\u5316Python\u4ee3\u7801<\/li>\n<\/ol>\n<p><p>\u5728Python\u4e2d\uff0c\u5c3d\u91cf\u4f7f\u7528\u9ad8\u6548\u7684\u6570\u636e\u7ed3\u6784\u548c\u7b97\u6cd5\uff0c\u907f\u514d\u4e0d\u5fc5\u8981\u7684\u5faa\u73af\u548c\u8ba1\u7b97\u3002\u540c\u65f6\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528Cython\u6216Numba\u7b49\u5de5\u5177\u5bf9\u6027\u80fd\u5173\u952e\u90e8\u5206\u8fdb\u884c\u52a0\u901f\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u4f18\u5316.NET\u4ee3\u7801<\/li>\n<\/ol>\n<p><p>\u5728.NET\u4e2d\uff0c\u6ce8\u610f\u5185\u5b58\u7ba1\u7406\u548c\u591a\u7ebf\u7a0b\u7f16\u7a0b\uff0c\u901a\u8fc7\u5f02\u6b65\u64cd\u4f5c\u548c\u7f13\u5b58\u673a\u5236\u6765\u63d0\u9ad8\u7a0b\u5e8f\u7684\u54cd\u5e94\u901f\u5ea6\u548c\u6548\u7387\u3002<\/p>\n<\/p>\n<ol start=\"3\">\n<li>\u76d1\u63a7\u548c\u5206\u6790\u6027\u80fd<\/li>\n<\/ol>\n<p><p>\u4f7f\u7528\u6027\u80fd\u5206\u6790\u5de5\u5177\uff0c\u5982dotTrace\u3001Py-Spy\u7b49\uff0c\u5b9a\u671f\u76d1\u63a7\u548c\u5206\u6790\u7a0b\u5e8f\u7684\u6027\u80fd\u74f6\u9888\uff0c\u5e76\u6839\u636e\u5206\u6790\u7ed3\u679c\u8fdb\u884c\u76f8\u5e94\u7684\u4f18\u5316\u3002<\/p>\n<\/p>\n<p><p>\u516d\u3001\u5e38\u89c1\u95ee\u9898\u548c\u89e3\u51b3\u65b9\u6848<\/p>\n<\/p>\n<p><p>\u5728.NET\u4e2d\u4f7f\u7528Python\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u5e38\u89c1\u95ee\u9898\uff0c\u5982\u517c\u5bb9\u6027\u95ee\u9898\u3001\u6570\u636e\u7c7b\u578b\u8f6c\u6362\u95ee\u9898\u7b49\u3002<\/p>\n<\/p>\n<ol>\n<li>\u517c\u5bb9\u6027\u95ee\u9898<\/li>\n<\/ol>\n<p><p>\u786e\u4fdd\u4f7f\u7528\u7684Python\u7248\u672c\u548c.NET\u7248\u672c\u662f\u4e92\u76f8\u517c\u5bb9\u7684\uff0c\u5b9a\u671f\u68c0\u67e5\u5de5\u5177\u548c\u5e93\u7684\u66f4\u65b0\u548c\u517c\u5bb9\u6027\u8bf4\u660e\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u6570\u636e\u7c7b\u578b\u8f6c\u6362<\/li>\n<\/ol>\n<p><p>\u5728Python\u548c.NET\u4e4b\u95f4\u4f20\u9012\u6570\u636e\u65f6\uff0c\u6ce8\u610f\u4e0d\u540c\u8bed\u8a00\u7684\u6570\u636e\u7c7b\u578b\u4e4b\u95f4\u7684\u8f6c\u6362\uff0c\u53ef\u80fd\u9700\u8981\u8fdb\u884c\u663e\u5f0f\u7684\u7c7b\u578b\u8f6c\u6362\u6216\u5e8f\u5217\u5316\u5904\u7406\u3002<\/p>\n<\/p>\n<ol start=\"3\">\n<li>\u8c03\u8bd5\u548c\u65e5\u5fd7<\/li>\n<\/ol>\n<p><p>\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u4f7f\u7528\u8c03\u8bd5\u5de5\u5177\u548c\u65e5\u5fd7\u8bb0\u5f55\u6765\u5b9a\u4f4d\u548c\u89e3\u51b3\u95ee\u9898\uff0c\u786e\u4fdd\u7a0b\u5e8f\u5728\u4e0d\u540c\u73af\u5883\u4e2d\u90fd\u80fd\u7a33\u5b9a\u8fd0\u884c\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u65b9\u6cd5\u548c\u5efa\u8bae\uff0c\u60a8\u53ef\u4ee5\u5728.NET\u9879\u76ee\u4e2d\u6709\u6548\u5730\u4f7f\u7528Python\uff0c\u5b9e\u73b0\u4e24\u8005\u7684\u4f18\u52bf\u4e92\u8865\uff0c\u63d0\u5347\u5f00\u53d1\u6548\u7387\u548c\u7a0b\u5e8f\u6027\u80fd\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u8c03\u7528.NET\u5e93\uff1f<\/strong><br \/>\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528Python.NET\u8fd9\u4e2a\u5e93\u6765\u5b9e\u73b0Python\u4e0e.NET\u7684\u4e92\u64cd\u4f5c\u6027\u3002\u9996\u5148\uff0c\u60a8\u9700\u8981\u5b89\u88c5Python.NET\u5e93\uff0c\u53ef\u4ee5\u4f7f\u7528pip\u547d\u4ee4\uff1a<code>pip install pythonnet<\/code>\u3002\u7136\u540e\uff0c\u60a8\u53ef\u4ee5\u5728Python\u4ee3\u7801\u4e2d\u5bfc\u5165.NET\u7a0b\u5e8f\u96c6\uff0c\u5e76\u4f7f\u7528\u5176\u4e2d\u7684\u7c7b\u548c\u65b9\u6cd5\u3002\u5177\u4f53\u7684\u4f7f\u7528\u6b65\u9aa4\u53ef\u4ee5\u53c2\u8003Python.NET\u7684\u5b98\u65b9\u6587\u6863\uff0c\u4ee5\u83b7\u53d6\u8be6\u7ec6\u7684\u793a\u4f8b\u548c\u8bf4\u660e\u3002<\/p>\n<p><strong>\u4f7f\u7528Python\u4e0e.NET\u8fdb\u884c\u6570\u636e\u4ea4\u4e92\u7684\u6700\u4f73\u5b9e\u8df5\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u5728Python\u4e0e.NET\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4ea4\u4e92\u65f6\uff0c\u5efa\u8bae\u4f7f\u7528JSON\u683c\u5f0f\u8fdb\u884c\u6570\u636e\u4f20\u8f93\uff0c\u56e0\u4e3a\u5b83\u662f\u4e00\u79cd\u8f7b\u91cf\u7ea7\u7684\u6570\u636e\u4ea4\u6362\u683c\u5f0f\uff0c\u6613\u4e8e\u89e3\u6790\u548c\u751f\u6210\u3002\u6b64\u5916\uff0c\u786e\u4fdd\u5728\u6570\u636e\u7ed3\u6784\u8bbe\u8ba1\u65f6\u8003\u8651\u5230\u4e24\u8005\u4e4b\u95f4\u7684\u517c\u5bb9\u6027\uff0c\u907f\u514d\u4f7f\u7528\u590d\u6742\u7684\u6570\u636e\u7c7b\u578b\uff0c\u8fd9\u6837\u53ef\u4ee5\u63d0\u9ad8\u6570\u636e\u4f20\u8f93\u7684\u6548\u7387\u548c\u51c6\u786e\u6027\u3002<\/p>\n<p><strong>\u6211\u53ef\u4ee5\u7528Python\u5f00\u53d1.NET\u5e94\u7528\u7a0b\u5e8f\u5417\uff1f<\/strong><br \/>\u662f\u7684\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528Python\u4e0e.NET\u6846\u67b6\u7ed3\u5408\u5f00\u53d1\u5e94\u7528\u7a0b\u5e8f\u3002\u901a\u8fc7\u4f7f\u7528IronPython\u7b49\u5de5\u5177\uff0c\u60a8\u53ef\u4ee5\u5728.NET\u73af\u5883\u4e2d\u8fd0\u884cPython\u4ee3\u7801\uff0c\u6216\u8005\u5c06Python\u811a\u672c\u5d4c\u5165\u5230.NET\u5e94\u7528\u7a0b\u5e8f\u4e2d\u3002\u4f7f\u7528\u8fd9\u79cd\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5145\u5206\u5229\u7528.NET\u7684\u5f3a\u5927\u529f\u80fd\uff0c\u540c\u65f6\u4eab\u53d7Python\u7684\u7b80\u4fbf\u6027\u548c\u7075\u6d3b\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5f00\u5934\u6bb5\u843d:\u5728.NET\u4e2d\u4f7f\u7528Python\uff0c\u53ef\u4ee5\u901a\u8fc7\u51e0\u79cd\u65b9\u5f0f\u5b9e\u73b0\uff0c\u4e3b\u8981\u5305\u62ec\uff1a\u4f7f\u7528Python for .NET\u5e93\u3001 [&hellip;]","protected":false},"author":3,"featured_media":940804,"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\/940801"}],"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=940801"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/940801\/revisions"}],"predecessor-version":[{"id":940805,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/940801\/revisions\/940805"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/940804"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=940801"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=940801"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=940801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}