{"id":2769,"date":"2025-03-14T22:50:05","date_gmt":"2025-03-14T14:50:05","guid":{"rendered":"https:\/\/www.laixuexila.com\/?p=2769"},"modified":"2025-03-14T22:50:05","modified_gmt":"2025-03-14T14:50:05","slug":"python3-%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84","status":"publish","type":"post","link":"https:\/\/www.laixuexila.com\/index.php\/2025\/03\/14\/python3-%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84\/","title":{"rendered":"Python3 \u6570\u636e\u7ed3\u6784"},"content":{"rendered":"\n<p>Python \u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u5185\u7f6e\u6570\u636e\u7ed3\u6784\uff0c\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u6709\u6548\u5730\u5b58\u50a8\u3001\u64cd\u4f5c\u548c\u8bbf\u95ee\u6570\u636e\u3002\u5e38\u7528\u7684\u6570\u636e\u7ed3\u6784\u5305\u62ec\uff1a\u5217\u8868\uff08List\uff09\u3001\u5143\u7ec4\uff08Tuple\uff09\u3001\u5b57\u5178\uff08Dictionary\uff09\u3001\u96c6\u5408\uff08Set\uff09\u3002\u8fd9\u4e9b\u6570\u636e\u7ed3\u6784\u90fd\u6709\u81ea\u5df1\u7684\u7279\u70b9\u548c\u9002\u7528\u573a\u666f\u3002\u63a5\u4e0b\u6765\u8be6\u7ec6\u4ecb\u7ecd Python \u4e2d\u7684\u5e38\u7528\u6570\u636e\u7ed3\u6784\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>1. \u5217\u8868\uff08List\uff09<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u6982\u8ff0<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5217\u8868\u662f Python \u4e2d\u6700\u5e38\u89c1\u7684\u6570\u636e\u7ed3\u6784\u4e4b\u4e00\uff0c\u5b83\u662f\u4e00\u4e2a\u6709\u5e8f\u7684\u53ef\u53d8\u96c6\u5408\uff0c\u53ef\u4ee5\u5305\u542b\u91cd\u590d\u7684\u5143\u7d20\u3002<\/li>\n\n\n\n<li>\u5217\u8868\u662f\u52a8\u6001\u7684\uff0c\u53ef\u4ee5\u5728\u521b\u5efa\u540e\u8fdb\u884c\u4fee\u6539\u3001\u5220\u9664\u3001\u6dfb\u52a0\u5143\u7d20\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u7279\u70b9<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6709\u5e8f\uff1a\u5143\u7d20\u7684\u987a\u5e8f\u662f\u56fa\u5b9a\u7684\u3002<\/li>\n\n\n\n<li>\u53ef\u53d8\uff1a\u53ef\u4ee5\u5bf9\u5217\u8868\u4e2d\u7684\u5143\u7d20\u8fdb\u884c\u589e\u3001\u5220\u3001\u6539\u3002<\/li>\n\n\n\n<li>\u53ef\u4ee5\u5305\u542b\u4e0d\u540c\u7c7b\u578b\u7684\u5143\u7d20\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u5e38\u89c1\u64cd\u4f5c<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># \u521b\u5efa\u5217\u8868\nmy_list = &#91;1, 2, 3, 4]\n\n# \u8bbf\u95ee\u5143\u7d20\nprint(my_list&#91;0])  # \u8f93\u51fa 1\n\n# \u4fee\u6539\u5143\u7d20\nmy_list&#91;1] = 10\n\n# \u6dfb\u52a0\u5143\u7d20\nmy_list.append(5)\n\n# \u5220\u9664\u5143\u7d20\nmy_list.remove(3)  # \u5220\u9664\u503c\u4e3a 3 \u7684\u5143\u7d20\n\n# \u5217\u8868\u5207\u7247\nprint(my_list&#91;1:3])  # \u8f93\u51fa &#91;10, 4]\n\n# \u5217\u8868\u957f\u5ea6\nprint(len(my_list))  # \u8f93\u51fa 4<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2. \u5143\u7ec4\uff08Tuple\uff09<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u6982\u8ff0<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5143\u7ec4\u662f Python \u4e2d\u7684\u4e00\u4e2a\u6709\u5e8f\u96c6\u5408\uff0c\u4e0e\u5217\u8868\u7c7b\u4f3c\uff0c\u4f46\u5b83\u662f\u4e0d\u53ef\u53d8\u7684\uff08immutable\uff09\u3002\u4e00\u65e6\u521b\u5efa\uff0c\u5b83\u7684\u5185\u5bb9\u65e0\u6cd5\u4fee\u6539\u3002<\/li>\n\n\n\n<li>\u5143\u7ec4\u901a\u5e38\u7528\u4e8e\u5b58\u50a8\u4e00\u4e9b\u4e0d\u5e0c\u671b\u66f4\u6539\u7684\u6570\u636e\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u7279\u70b9<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6709\u5e8f\uff1a\u5143\u7d20\u7684\u987a\u5e8f\u662f\u56fa\u5b9a\u7684\u3002<\/li>\n\n\n\n<li>\u4e0d\u53ef\u53d8\uff1a\u5143\u7ec4\u4e2d\u7684\u5143\u7d20\u4e0d\u53ef\u4fee\u6539\u3002<\/li>\n\n\n\n<li>\u53ef\u4ee5\u5305\u542b\u4e0d\u540c\u7c7b\u578b\u7684\u5143\u7d20\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u5e38\u89c1\u64cd\u4f5c<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># \u521b\u5efa\u5143\u7ec4\nmy_tuple = (1, 2, 3, 4)\n\n# \u8bbf\u95ee\u5143\u7d20\nprint(my_tuple&#91;0])  # \u8f93\u51fa 1\n\n# \u5143\u7ec4\u5207\u7247\nprint(my_tuple&#91;1:3])  # \u8f93\u51fa (2, 3)\n\n# \u5143\u7ec4\u957f\u5ea6\nprint(len(my_tuple))  # \u8f93\u51fa 4<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>3. \u5b57\u5178\uff08Dictionary\uff09<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u6982\u8ff0<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5b57\u5178\u662f\u4e00\u79cd\u65e0\u5e8f\u7684\u952e\u503c\u5bf9\uff08key-value\uff09\u96c6\u5408\u3002\u5b83\u662f Python \u4e2d\u552f\u4e00\u7684\u6620\u5c04\u7c7b\u578b\u3002<\/li>\n\n\n\n<li>\u5b57\u5178\u4e2d\u7684\u5143\u7d20\u662f\u4ee5\u952e\u503c\u5bf9\u7684\u5f62\u5f0f\u5b58\u50a8\uff0c\u952e\u662f\u552f\u4e00\u7684\uff0c\u503c\u53ef\u4ee5\u662f\u4efb\u4f55\u7c7b\u578b\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u7279\u70b9<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u65e0\u5e8f\uff1a\u5b57\u5178\u4e2d\u7684\u5143\u7d20\u6ca1\u6709\u987a\u5e8f\u3002<\/li>\n\n\n\n<li>\u952e\u503c\u5bf9\uff1a\u6bcf\u4e2a\u5143\u7d20\u7531\u952e\u548c\u503c\u7ec4\u6210\u3002<\/li>\n\n\n\n<li>\u952e\u662f\u552f\u4e00\u7684\uff1a\u540c\u4e00\u4e2a\u5b57\u5178\u5185\u4e0d\u5141\u8bb8\u6709\u91cd\u590d\u7684\u952e\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u5e38\u89c1\u64cd\u4f5c<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># \u521b\u5efa\u5b57\u5178\nmy_dict = {'name': 'Alice', 'age': 25, 'city': 'New York'}\n\n# \u8bbf\u95ee\u5143\u7d20\nprint(my_dict&#91;'name'])  # \u8f93\u51fa Alice\n\n# \u4fee\u6539\u5143\u7d20\nmy_dict&#91;'age'] = 26\n\n# \u6dfb\u52a0\u5143\u7d20\nmy_dict&#91;'job'] = 'Engineer'\n\n# \u5220\u9664\u5143\u7d20\ndel my_dict&#91;'city']\n\n# \u83b7\u53d6\u6240\u6709\u952e\u6216\u503c\nkeys = my_dict.keys()  # \u83b7\u53d6\u5b57\u5178\u7684\u6240\u6709\u952e\nvalues = my_dict.values()  # \u83b7\u53d6\u5b57\u5178\u7684\u6240\u6709\u503c\nprint(keys)  # \u8f93\u51fa dict_keys(&#91;'name', 'age', 'job'])\nprint(values)  # \u8f93\u51fa dict_values(&#91;'Alice', 26, 'Engineer'])<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>4. \u96c6\u5408\uff08Set\uff09<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u6982\u8ff0<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u96c6\u5408\u662f Python \u4e2d\u7684\u4e00\u4e2a\u65e0\u5e8f\u3001\u4e0d\u91cd\u590d\u7684\u5143\u7d20\u96c6\u5408\u3002<\/li>\n\n\n\n<li>\u96c6\u5408\u7528\u4e8e\u5b58\u50a8\u552f\u4e00\u7684\u5143\u7d20\uff0c\u5e38\u5e38\u7528\u4e8e\u53bb\u91cd\u548c\u96c6\u5408\u64cd\u4f5c\uff08\u5982\u4ea4\u96c6\u3001\u5e76\u96c6\u3001\u5dee\u96c6\u7b49\uff09\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u7279\u70b9<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u65e0\u5e8f\uff1a\u96c6\u5408\u4e2d\u7684\u5143\u7d20\u6ca1\u6709\u987a\u5e8f\u3002<\/li>\n\n\n\n<li>\u552f\u4e00\uff1a\u96c6\u5408\u4e2d\u7684\u5143\u7d20\u662f\u552f\u4e00\u7684\uff0c\u4e0d\u5141\u8bb8\u91cd\u590d\u3002<\/li>\n\n\n\n<li>\u53ef\u53d8\uff1a\u96c6\u5408\u672c\u8eab\u662f\u53ef\u53d8\u7684\uff0c\u4f46\u96c6\u5408\u4e2d\u7684\u5143\u7d20\u5fc5\u987b\u662f\u4e0d\u53ef\u53d8\u7684\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u5e38\u89c1\u64cd\u4f5c<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># \u521b\u5efa\u96c6\u5408\nmy_set = {1, 2, 3, 4, 5}\n\n# \u6dfb\u52a0\u5143\u7d20\nmy_set.add(6)\n\n# \u5220\u9664\u5143\u7d20\nmy_set.remove(4)\n\n# \u96c6\u5408\u8fd0\u7b97\nset1 = {1, 2, 3}\nset2 = {3, 4, 5}\n\n# \u4ea4\u96c6\nprint(set1 &amp; set2)  # \u8f93\u51fa {3}\n\n# \u5e76\u96c6\nprint(set1 | set2)  # \u8f93\u51fa {1, 2, 3, 4, 5}\n\n# \u5dee\u96c6\nprint(set1 - set2)  # \u8f93\u51fa {1, 2}<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>5. \u961f\u5217\uff08Queue\uff09<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u6982\u8ff0<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u961f\u5217\u662f\u4e00\u79cd\u9075\u5faa\u5148\u8fdb\u5148\u51fa\uff08FIFO\uff0cFirst In First Out\uff09\u539f\u5219\u7684\u7ebf\u6027\u6570\u636e\u7ed3\u6784\u3002<\/li>\n\n\n\n<li>Python \u4e2d\u7684 <code>queue<\/code> \u6a21\u5757\u63d0\u4f9b\u4e86\u5b9e\u73b0\u961f\u5217\u7684\u529f\u80fd\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u5e38\u89c1\u64cd\u4f5c<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>from collections import deque\n\n# \u521b\u5efa\u961f\u5217\nqueue = deque()\n\n# \u5165\u961f\uff08\u6dfb\u52a0\u5143\u7d20\uff09\nqueue.append('a')\nqueue.append('b')\n\n# \u51fa\u961f\uff08\u79fb\u9664\u5143\u7d20\uff09\nprint(queue.popleft())  # \u8f93\u51fa 'a'\n\n# \u67e5\u770b\u961f\u5217\u5934\u90e8\u5143\u7d20\nprint(queue&#91;0])  # \u8f93\u51fa 'b'<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>6. \u6808\uff08Stack\uff09<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u6982\u8ff0<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6808\u662f\u4e00\u79cd\u9075\u5faa\u540e\u8fdb\u5148\u51fa\uff08LIFO\uff0cLast In First Out\uff09\u539f\u5219\u7684\u7ebf\u6027\u6570\u636e\u7ed3\u6784\u3002<\/li>\n\n\n\n<li>Python \u4e2d\u53ef\u4ee5\u901a\u8fc7\u5217\u8868\u6a21\u62df\u6808\uff0c\u4f7f\u7528 <code>append()<\/code> \u6dfb\u52a0\u5143\u7d20\uff0c\u4f7f\u7528 <code>pop()<\/code> \u79fb\u9664\u5143\u7d20\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u5e38\u89c1\u64cd\u4f5c<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># \u521b\u5efa\u6808\nstack = &#91;]\n\n# \u5165\u6808\uff08\u6dfb\u52a0\u5143\u7d20\uff09\nstack.append(1)\nstack.append(2)\n\n# \u51fa\u6808\uff08\u79fb\u9664\u5143\u7d20\uff09\nprint(stack.pop())  # \u8f93\u51fa 2\n\n# \u67e5\u770b\u6808\u9876\u5143\u7d20\nprint(stack&#91;-1])  # \u8f93\u51fa 1<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>7. \u53cc\u7aef\u961f\u5217\uff08Deque\uff09<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u6982\u8ff0<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u53cc\u7aef\u961f\u5217\uff08Deque\uff0cDouble-ended Queue\uff09\u662f\u53ef\u4ee5\u4ece\u4e24\u7aef\u63d2\u5165\u548c\u5220\u9664\u5143\u7d20\u7684\u961f\u5217\u3002<\/li>\n\n\n\n<li>Python \u4e2d\u7684 <code>collections.deque<\/code> \u63d0\u4f9b\u4e86\u53cc\u7aef\u961f\u5217\u7684\u5b9e\u73b0\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u5e38\u89c1\u64cd\u4f5c<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>from collections import deque\n\n# \u521b\u5efa\u53cc\u7aef\u961f\u5217\ndq = deque()\n\n# \u4ece\u53f3\u7aef\u6dfb\u52a0\u5143\u7d20\ndq.append(1)\ndq.append(2)\n\n# \u4ece\u5de6\u7aef\u6dfb\u52a0\u5143\u7d20\ndq.appendleft(0)\n\n# \u4ece\u53f3\u7aef\u5220\u9664\u5143\u7d20\ndq.pop()  # \u8f93\u51fa 2\n\n# \u4ece\u5de6\u7aef\u5220\u9664\u5143\u7d20\ndq.popleft()  # \u8f93\u51fa 0<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u603b\u7ed3<\/strong><\/h2>\n\n\n\n<p>Python \u4e2d\u7684\u5e38\u89c1\u6570\u636e\u7ed3\u6784\u5305\u62ec\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5217\u8868\uff08List\uff09<\/strong>\uff1a\u6709\u5e8f\u3001\u53ef\u53d8\uff0c\u53ef\u4ee5\u5b58\u50a8\u591a\u79cd\u7c7b\u578b\u7684\u6570\u636e\u3002<\/li>\n\n\n\n<li><strong>\u5143\u7ec4\uff08Tuple\uff09<\/strong>\uff1a\u6709\u5e8f\u3001\u4e0d\u53ef\u53d8\uff0c\u9002\u5408\u5b58\u50a8\u4e0d\u9700\u8981\u4fee\u6539\u7684\u6570\u636e\u3002<\/li>\n\n\n\n<li><strong>\u5b57\u5178\uff08Dictionary\uff09<\/strong>\uff1a\u65e0\u5e8f\u7684\u952e\u503c\u5bf9\u96c6\u5408\uff0c\u5e38\u7528\u4e8e\u5b58\u50a8\u5173\u8054\u6570\u636e\u3002<\/li>\n\n\n\n<li><strong>\u96c6\u5408\uff08Set\uff09<\/strong>\uff1a\u65e0\u5e8f\u3001\u4e0d\u91cd\u590d\u7684\u5143\u7d20\u96c6\u5408\uff0c\u9002\u5408\u53bb\u91cd\u548c\u96c6\u5408\u8fd0\u7b97\u3002<\/li>\n\n\n\n<li><strong>\u961f\u5217\uff08Queue\uff09<\/strong>\uff1a\u9075\u5faa\u5148\u8fdb\u5148\u51fa\uff08FIFO\uff09\u539f\u5219\u7684\u7ebf\u6027\u6570\u636e\u7ed3\u6784\u3002<\/li>\n\n\n\n<li><strong>\u6808\uff08Stack\uff09<\/strong>\uff1a\u9075\u5faa\u540e\u8fdb\u5148\u51fa\uff08LIFO\uff09\u539f\u5219\u7684\u7ebf\u6027\u6570\u636e\u7ed3\u6784\u3002<\/li>\n\n\n\n<li><strong>\u53cc\u7aef\u961f\u5217\uff08Deque\uff09<\/strong>\uff1a\u652f\u6301\u4ece\u4e24\u7aef\u63d2\u5165\u548c\u5220\u9664\u5143\u7d20\u7684\u961f\u5217\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u8fd9\u4e9b\u6570\u636e\u7ed3\u6784\u4e3a Python \u7f16\u7a0b\u63d0\u4f9b\u4e86\u7075\u6d3b\u3001\u9ad8\u6548\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u6570\u636e\u7ed3\u6784\u3002\u66f4\u591a\u8be6\u7ec6\u5185\u5bb9\u8bf7\u5173\u6ce8\u5176\u4ed6\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python \u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u5185\u7f6e\u6570\u636e\u7ed3\u6784\uff0c\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u6709\u6548\u5730\u5b58\u50a8\u3001\u64cd\u4f5c\u548c\u8bbf\u95ee\u6570\u636e\u3002\u5e38\u7528\u7684\u6570\u636e\u7ed3\u6784\u5305\u62ec\uff1a\u5217\u8868\uff08Li [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2770,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[79],"tags":[],"class_list":["post-2769","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python-3-"],"_links":{"self":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/2769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/comments?post=2769"}],"version-history":[{"count":1,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/2769\/revisions"}],"predecessor-version":[{"id":2771,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/2769\/revisions\/2771"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/media\/2770"}],"wp:attachment":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/media?parent=2769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/categories?post=2769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/tags?post=2769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}