{"id":940507,"date":"2024-12-26T21:01:26","date_gmt":"2024-12-26T13:01:26","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/940507.html"},"modified":"2024-12-26T21:01:27","modified_gmt":"2024-12-26T13:01:27","slug":"macsublime%e5%a6%82%e4%bd%95%e9%85%8d%e7%bd%aepython","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/940507.html","title":{"rendered":"macsublime\u5982\u4f55\u914d\u7f6epython"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25075123\/ca903463-64d7-4dad-b2d5-14111addb8cf.webp\" alt=\"macsublime\u5982\u4f55\u914d\u7f6epython\" \/><\/p>\n<p><p> <strong>\u8981\u5728Mac\u4e0a\u914d\u7f6eSublime Text\u4ee5\u652f\u6301Python\u5f00\u53d1\uff0c\u53ef\u4ee5\u901a\u8fc7\u5b89\u88c5Package Control\u3001\u914d\u7f6ePython\u89e3\u91ca\u5668\u8def\u5f84\u3001\u4f7f\u7528\u76f8\u5173\u63d2\u4ef6\u6765\u589e\u5f3a\u529f\u80fd<\/strong>\u3002\u4e0b\u9762\u6211\u5c06\u8be6\u7ec6\u63cf\u8ff0\u5982\u4f55\u5b8c\u6210\u8fd9\u4e9b\u6b65\u9aa4\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u5b89\u88c5Package Control<\/p>\n<\/p>\n<p><p>Sublime Text\u7684Package Control\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u5e2e\u52a9\u60a8\u8f7b\u677e\u5b89\u88c5\u548c\u7ba1\u7406\u63d2\u4ef6\u3002\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u786e\u4fdd\u5b83\u5df2\u5b89\u88c5\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u68c0\u67e5\u662f\u5426\u5df2\u5b89\u88c5<\/strong>\uff1a\u6253\u5f00Sublime Text\uff0c\u6309\u4e0b <code>Cmd + Shift + P<\/code> \u8c03\u51fa\u547d\u4ee4\u9762\u677f\uff0c\u8f93\u5165\u201cPackage Control: Install Package\u201d\uff0c\u5982\u679c\u80fd\u770b\u5230\u8fd9\u4e2a\u9009\u9879\uff0c\u5219\u8868\u793a\u5df2\u5b89\u88c5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5Package Control<\/strong>\uff1a\u5982\u679c\u6ca1\u6709\u5b89\u88c5\uff0c\u6253\u5f00\u547d\u4ee4\u9762\u677f\uff0c\u8f93\u5165\u201cInstall Package Control\u201d\uff0c\u5e76\u6309\u4e0b\u56de\u8f66\u3002\u968f\u540eSublime Text\u5c06\u81ea\u52a8\u4e0b\u8f7d\u5e76\u5b89\u88c5Package Control\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u914d\u7f6ePython\u89e3\u91ca\u5668\u8def\u5f84<\/p>\n<\/p>\n<p><p>\u5728Mac\u4e0a\uff0cPython\u901a\u5e38\u5df2\u7ecf\u9884\u88c5\uff0c\u4f46\u6709\u65f6\u9700\u8981\u624b\u52a8\u914d\u7f6e\u89e3\u91ca\u5668\u8def\u5f84\u4ee5\u786e\u4fddSublime Text\u80fd\u591f\u6b63\u786e\u8c03\u7528Python\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u786e\u8ba4Python\u8def\u5f84<\/strong>\uff1a\u6253\u5f00\u7ec8\u7aef\uff0c\u8f93\u5165 <code>which python3<\/code> \u6216 <code>which python<\/code> \u6765\u83b7\u53d6Python\u7684\u8def\u5f84\u3002\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u8def\u5f84\u4f1a\u662f <code>\/usr\/bin\/python3<\/code> \u6216\u7c7b\u4f3c\u7684\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u914d\u7f6eSublime Text<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u6253\u5f00Sublime Text\uff0c\u8fdb\u5165\u83dc\u5355\u680f\u7684\u201cTools\u201d -&gt; \u201cBuild System\u201d -&gt; \u201cNew Build System\u201d\u3002<\/li>\n<li>\u5728\u6253\u5f00\u7684\u6587\u4ef6\u4e2d\uff0c\u8f93\u5165\u4ee5\u4e0b\u5185\u5bb9\uff1a\n<pre><code class=\"language-json\">{<\/p>\n<p>  &quot;cmd&quot;: [&quot;\/usr\/bin\/python3&quot;, &quot;-u&quot;, &quot;$file&quot;],<\/p>\n<p>  &quot;file_regex&quot;: &quot;^[ ]*File \\&quot;(...*?)\\&quot;, line ([0-9]*)&quot;,<\/p>\n<p>  &quot;selector&quot;: &quot;source.python&quot;<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u5c06 <code>\/usr\/bin\/python3<\/code> \u66ff\u6362\u4e3a\u60a8\u5728\u7ec8\u7aef\u4e2d\u83b7\u5f97\u7684Python\u8def\u5f84\u3002<\/li>\n<li>\u4fdd\u5b58\u6587\u4ef6\uff0c\u547d\u540d\u4e3a <code>Python3.sublime-build<\/code>\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u5b89\u88c5Python\u76f8\u5173\u63d2\u4ef6<\/p>\n<\/p>\n<p><p>Sublime Text\u672c\u8eab\u662f\u4e00\u6b3e\u8f7b\u91cf\u7ea7\u7f16\u8f91\u5668\uff0c\u901a\u8fc7\u5b89\u88c5\u63d2\u4ef6\u53ef\u4ee5\u4e3a\u5176\u6dfb\u52a0\u66f4\u591a\u529f\u80fd\uff0c\u5982\u8bed\u6cd5\u9ad8\u4eae\u3001\u4ee3\u7801\u8865\u5168\u7b49\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Anaconda\u63d2\u4ef6<\/strong>\uff1a\u8fd9\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u63d2\u4ef6\uff0c\u63d0\u4f9b\u4e86Python\u4ee3\u7801\u8865\u5168\u3001\u8bed\u6cd5\u68c0\u67e5\u3001Linting\u7b49\u529f\u80fd\u3002<\/p>\n<\/p>\n<ul>\n<li>\u6253\u5f00\u547d\u4ee4\u9762\u677f\uff0c\u8f93\u5165\u201cPackage Control: Install Package\u201d\uff0c\u7136\u540e\u8f93\u5165\u201cAnaconda\u201d\uff0c\u9009\u62e9\u5e76\u5b89\u88c5\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>SublimeLinter\u63d2\u4ef6<\/strong>\uff1a\u7528\u4e8e\u8bed\u6cd5\u548c\u4ee3\u7801\u98ce\u683c\u68c0\u67e5\u3002<\/p>\n<\/p>\n<ul>\n<li>\u540c\u6837\uff0c\u901a\u8fc7Package Control\u8fdb\u884c\u5b89\u88c5\uff0c\u641c\u7d22\u201cSublimeLinter\u201d\u3002<\/li>\n<li>\u5b89\u88c5\u540e\uff0c\u60a8\u53ef\u4ee5\u6839\u636e\u9700\u8981\u5b89\u88c5SublimeLinter\u7684Python\u63d2\u4ef6\uff0c\u4f8b\u5982\u201cSublimeLinter-flake8\u201d\u6216\u201cSublimeLinter-pylint\u201d\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u914d\u7f6eAnaconda\u63d2\u4ef6<\/p>\n<\/p>\n<p><p>Anaconda\u63d2\u4ef6\u63d0\u4f9b\u4e86\u8bb8\u591a\u5f3a\u5927\u7684\u529f\u80fd\uff0c\u4f46\u4e5f\u9700\u8981\u8fdb\u884c\u4e00\u4e9b\u914d\u7f6e\u4ee5\u4fbf\u66f4\u597d\u5730\u9002\u5e94\u60a8\u7684\u5f00\u53d1\u73af\u5883\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u914d\u7f6ePython\u89e3\u91ca\u5668<\/strong>\uff1aAnaconda\u63d2\u4ef6\u9700\u8981\u77e5\u9053Python\u89e3\u91ca\u5668\u7684\u4f4d\u7f6e\u3002<\/p>\n<\/p>\n<ul>\n<li>\u8fdb\u5165\u201cSublime Text\u201d -&gt; \u201cPreferences\u201d -&gt; \u201cPackage Settings\u201d -&gt; \u201cAnaconda\u201d -&gt; \u201cSettings \u2013 User\u201d\u3002<\/li>\n<li>\u6dfb\u52a0\u6216\u4fee\u6539\u5982\u4e0b\u914d\u7f6e\uff1a\n<pre><code class=\"language-json\">{<\/p>\n<p>  &quot;python_interpreter&quot;: &quot;\/usr\/bin\/python3&quot;<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u518d\u6b21\uff0c\u5c06\u89e3\u91ca\u5668\u8def\u5f84\u66ff\u6362\u4e3a\u60a8\u7684\u5b9e\u9645\u8def\u5f84\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u542f\u7528Linting\u548c\u81ea\u52a8\u8865\u5168<\/strong>\uff1a\u5728\u76f8\u540c\u7684\u8bbe\u7f6e\u6587\u4ef6\u4e2d\uff0c\u60a8\u53ef\u4ee5\u542f\u7528\u6216\u7981\u7528\u4e0d\u540c\u7684\u529f\u80fd\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-json\">{<\/p>\n<p>  &quot;anaconda_linting&quot;: true,<\/p>\n<p>  &quot;auto_formatting&quot;: true,<\/p>\n<p>  &quot;complete_parameters&quot;: true<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u4f7f\u7528Sublime Text\u8fdb\u884cPython\u5f00\u53d1<\/p>\n<\/p>\n<p><p>\u73b0\u5728\u60a8\u5df2\u7ecf\u914d\u7f6e\u597d\u4e86Sublime Text\uff0c\u53ef\u4ee5\u5f00\u59cb\u8fdb\u884cPython\u5f00\u53d1\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521b\u5efaPython\u6587\u4ef6<\/strong>\uff1a\u5728Sublime Text\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u6587\u4ef6\uff08<code>.py<\/code>\uff09\uff0c\u60a8\u5c06\u770b\u5230\u8bed\u6cd5\u9ad8\u4eae\u548c\u81ea\u52a8\u8865\u5168\u529f\u80fd\u5f00\u59cb\u5de5\u4f5c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884cPython\u4ee3\u7801<\/strong>\uff1a\u6253\u5f00\u60a8\u521b\u5efa\u7684Python\u6587\u4ef6\uff0c\u6309\u4e0b <code>Cmd + B<\/code>\uff0cSublime Text\u5c06\u4f1a\u8fd0\u884c\u60a8\u7684Python\u811a\u672c\uff0c\u5e76\u5728\u4e0b\u65b9\u663e\u793a\u8f93\u51fa\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528Linting\u529f\u80fd<\/strong>\uff1a\u5728\u60a8\u7f16\u5199\u4ee3\u7801\u65f6\uff0cAnaconda\u5c06\u81ea\u52a8\u68c0\u67e5\u60a8\u7684\u4ee3\u7801\u662f\u5426\u6709\u4efb\u4f55\u8bed\u6cd5\u9519\u8bef\u6216\u6f5c\u5728\u95ee\u9898\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u516d\u3001\u5176\u4ed6\u6709\u7528\u7684\u63d2\u4ef6<\/p>\n<\/p>\n<p><p>\u9664\u4e86Anaconda\u548cSublimeLinter\uff0c\u60a8\u8fd8\u53ef\u4ee5\u8003\u8651\u5b89\u88c5\u4ee5\u4e0b\u63d2\u4ef6\u4ee5\u589e\u5f3a\u60a8\u7684\u5f00\u53d1\u4f53\u9a8c\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>GitGutter<\/strong>\uff1a\u7528\u4e8e\u5b9e\u65f6\u663e\u793a\u6587\u4ef6\u4e2d\u672a\u63d0\u4ea4\u7684\u66f4\u6539\u3002<\/p>\n<\/p>\n<ul>\n<li>\u901a\u8fc7Package Control\u5b89\u88c5\u201cGitGutter\u201d\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>SideBarEnhancements<\/strong>\uff1a\u589e\u5f3aSublime Text\u7684\u4fa7\u8fb9\u680f\u529f\u80fd\uff0c\u5305\u62ec\u66f4\u591a\u6587\u4ef6\u64cd\u4f5c\u9009\u9879\u3002<\/p>\n<\/p>\n<ul>\n<li>\u901a\u8fc7Package Control\u5b89\u88c5\u201cSideBarEnhancements\u201d\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>BracketHighlighter<\/strong>\uff1a\u7528\u4e8e\u5339\u914d\u548c\u9ad8\u4eae\u4ee3\u7801\u4e2d\u7684\u62ec\u53f7\u3001\u6807\u7b7e\u7b49\u3002<\/p>\n<\/p>\n<ul>\n<li>\u901a\u8fc7Package Control\u5b89\u88c5\u201cBracketHighlighter\u201d\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>ColorPicker<\/strong>\uff1a\u63d0\u4f9b\u4e00\u4e2a\u7b80\u5355\u7684\u989c\u8272\u9009\u62e9\u5668\uff0c\u9002\u7528\u4e8e\u9700\u8981\u989c\u8272\u914d\u7f6e\u7684\u9879\u76ee\u3002<\/p>\n<\/p>\n<ul>\n<li>\u901a\u8fc7Package Control\u5b89\u88c5\u201cColorPicker\u201d\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><p>\u4e03\u3001\u5e38\u89c1\u95ee\u9898\u53ca\u89e3\u51b3\u65b9\u6848<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u63d2\u4ef6\u65e0\u6cd5\u6b63\u5e38\u5de5\u4f5c<\/strong>\uff1a\u786e\u4fdd\u6240\u6709\u63d2\u4ef6\u90fd\u5df2\u6210\u529f\u5b89\u88c5\uff0c\u5e76\u68c0\u67e5Sublime Text\u63a7\u5236\u53f0\uff08<code>View<\/code> -&gt; <code>Show Console<\/code>\uff09\u4e2d\u7684\u9519\u8bef\u4fe1\u606f\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Python\u8def\u5f84\u9519\u8bef<\/strong>\uff1a\u786e\u4fdd\u60a8\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u6307\u5b9a\u7684Python\u8def\u5f84\u662f\u6b63\u786e\u7684\uff0c\u53ef\u4ee5\u901a\u8fc7\u5728\u7ec8\u7aef\u4e2d\u8fd0\u884c <code>which python3<\/code> \u6765\u9a8c\u8bc1\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Anaconda\u81ea\u52a8\u8865\u5168\u4e0d\u5de5\u4f5c<\/strong>\uff1a\u68c0\u67e5Anaconda\u8bbe\u7f6e\u4e2d\u662f\u5426\u542f\u7528\u4e86\u81ea\u52a8\u8865\u5168\u529f\u80fd\uff0c\u5e76\u786e\u4fddPython\u89e3\u91ca\u5668\u8def\u5f84\u6b63\u786e\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u60a8\u53ef\u4ee5\u5728Mac\u4e0a\u6210\u529f\u914d\u7f6eSublime Text\u4ee5\u652f\u6301Python\u5f00\u53d1\uff0c\u8fd9\u5c06\u6781\u5927\u5730\u63d0\u9ad8\u60a8\u7684\u7f16\u7801\u6548\u7387\u548c\u8212\u9002\u5ea6\u3002\u795d\u60a8\u5f00\u53d1\u6109\u5feb\uff01<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728MacSublime\u4e2d\u5b89\u88c5Python\u652f\u6301\uff1f<\/strong><br \/>\u8981\u5728MacSublime\u4e2d\u5b89\u88c5Python\u652f\u6301\uff0c\u9996\u5148\u9700\u8981\u786e\u4fdd\u4f60\u7684\u8ba1\u7b97\u673a\u4e0a\u5df2\u7ecf\u5b89\u88c5\u4e86Python\u3002\u53ef\u4ee5\u901a\u8fc7\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165<code>python3 --version<\/code>\u6765\u68c0\u67e5\u3002\u5982\u679c\u5c1a\u672a\u5b89\u88c5\uff0c\u53ef\u4ee5\u4ecePython\u7684\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u5e76\u5b89\u88c5\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6253\u5f00MacSublime\uff0c\u4f7f\u7528<code>Preferences &gt; Package Control<\/code>\u6765\u641c\u7d22\u5e76\u5b89\u88c5\u201cAnaconda\u201d\u6216\u201cSublimeREPL\u201d\u7b49\u63d2\u4ef6\uff0c\u8fd9\u4e9b\u63d2\u4ef6\u53ef\u4ee5\u63d0\u4f9bPython\u8bed\u6cd5\u9ad8\u4eae\u548c\u5176\u4ed6\u529f\u80fd\u3002<\/p>\n<p><strong>\u5728MacSublime\u4e2d\u5982\u4f55\u8bbe\u7f6ePython\u865a\u62df\u73af\u5883\uff1f<\/strong><br \/>\u5728MacSublime\u4e2d\uff0c\u63a8\u8350\u4f7f\u7528\u865a\u62df\u73af\u5883\u6765\u7ba1\u7406Python\u9879\u76ee\u7684\u4f9d\u8d56\u3002\u5728\u7ec8\u7aef\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528<code>python3 -m venv myenv<\/code>\u547d\u4ee4\u6765\u521b\u5efa\u865a\u62df\u73af\u5883\u3002\u521b\u5efa\u5b8c\u6210\u540e\uff0c\u6fc0\u6d3b\u865a\u62df\u73af\u5883\uff08\u4f7f\u7528<code>source myenv\/bin\/activate<\/code>\uff09\uff0c\u7136\u540e\u5728MacSublime\u4e2d\u6253\u5f00\u9879\u76ee\u6587\u4ef6\u5939\uff0c\u786e\u4fdd\u5728\u7ec8\u7aef\u6fc0\u6d3b\u7684\u73af\u5883\u4e2d\u8fdb\u884c\u5f00\u53d1\u3002\u8fd9\u6837\uff0c\u6240\u6709\u7684\u4f9d\u8d56\u5c06\u4f1a\u5b89\u88c5\u5728\u8be5\u865a\u62df\u73af\u5883\u4e2d\uff0c\u907f\u514d\u4e0e\u7cfb\u7edf\u7684Python\u5e93\u51b2\u7a81\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728MacSublime\u4e2d\u8c03\u8bd5Python\u4ee3\u7801\uff1f<\/strong><br \/>\u5728MacSublime\u4e2d\u8c03\u8bd5Python\u4ee3\u7801\u53ef\u4ee5\u4f7f\u7528&quot;Anaconda&quot;\u63d2\u4ef6\u63d0\u4f9b\u7684\u8c03\u8bd5\u529f\u80fd\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u952e\u76d8\u5feb\u6377\u952e\u6216\u4f7f\u7528\u83dc\u5355\u6765\u542f\u52a8\u8c03\u8bd5\u3002\u786e\u4fdd\u5728\u4ee3\u7801\u4e2d\u8bbe\u7f6e\u65ad\u70b9\uff0c\u8c03\u8bd5\u5de5\u5177\u4f1a\u5728\u8fd0\u884c\u65f6\u6682\u505c\u4ee3\u7801\u6267\u884c\uff0c\u5141\u8bb8\u4f60\u68c0\u67e5\u53d8\u91cf\u503c\u548c\u7a0b\u5e8f\u6d41\u7a0b\u3002\u6b64\u5916\uff0cSublimeREPL\u63d2\u4ef6\u4e5f\u63d0\u4f9b\u4e86\u4e00\u4e2a\u4ea4\u4e92\u5f0f\u7684Python\u73af\u5883\uff0c\u53ef\u4ee5\u9010\u884c\u6267\u884c\u4ee3\u7801\uff0c\u975e\u5e38\u9002\u5408\u6d4b\u8bd5\u5c0f\u6bb5\u4ee3\u7801\u6216\u8c03\u8bd5\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5728Mac\u4e0a\u914d\u7f6eSublime Text\u4ee5\u652f\u6301Python\u5f00\u53d1\uff0c\u53ef\u4ee5\u901a\u8fc7\u5b89\u88c5Package Control\u3001\u914d [&hellip;]","protected":false},"author":3,"featured_media":940509,"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\/940507"}],"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=940507"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/940507\/revisions"}],"predecessor-version":[{"id":940512,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/940507\/revisions\/940512"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/940509"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=940507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=940507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=940507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}