{"id":578,"date":"2025-10-23T15:20:47","date_gmt":"2025-10-23T07:20:47","guid":{"rendered":"http:\/\/www.pyteam.cn\/?p=578"},"modified":"2025-10-23T15:20:48","modified_gmt":"2025-10-23T07:20:48","slug":"python3-%e5%85%83%e7%bb%84","status":"publish","type":"post","link":"http:\/\/www.pyteam.cn\/index.php\/2025\/10\/23\/python3-%e5%85%83%e7%bb%84\/","title":{"rendered":"Python3\u00a0\u5143\u7ec4"},"content":{"rendered":"\n<p>Python \u7684\u5143\u7ec4\u4e0e\u5217\u8868\u7c7b\u4f3c\uff0c\u4e0d\u540c\u4e4b\u5904\u5728\u4e8e\u5143\u7ec4\u7684\u5143\u7d20\u4e0d\u80fd\u4fee\u6539\u3002<\/p>\n\n\n\n<p>\u5143\u7ec4\u4f7f\u7528\u5c0f\u62ec\u53f7&nbsp;<strong>( )<\/strong>\uff0c\u5217\u8868\u4f7f\u7528\u65b9\u62ec\u53f7&nbsp;<strong>[ ]<\/strong>\u3002<\/p>\n\n\n\n<p>\u5143\u7ec4\u521b\u5efa\u5f88\u7b80\u5355\uff0c\u53ea\u9700\u8981\u5728\u62ec\u53f7\u4e2d\u6dfb\u52a0\u5143\u7d20\uff0c\u5e76\u4f7f\u7528\u9017\u53f7\u9694\u5f00\u5373\u53ef\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.runoob.com\/wp-content\/uploads\/2016\/04\/tup-2020-10-27-10-26-2.png\" alt=\"\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b9e\u4f8b(Python 3.0+)<\/h2>\n\n\n\n<p>&gt;&gt;&gt;&nbsp;tup1&nbsp;=&nbsp;(&#8216;Google&#8217;,&nbsp;&#8216;Runoob&#8217;,&nbsp;1997,&nbsp;2000)<br>&gt;&gt;&gt;&nbsp;tup2&nbsp;=&nbsp;(1,&nbsp;2,&nbsp;3,&nbsp;4,&nbsp;5&nbsp;)<br>&gt;&gt;&gt;&nbsp;tup3&nbsp;=&nbsp;&#8220;a&#8221;,&nbsp;&#8220;b&#8221;,&nbsp;&#8220;c&#8221;,&nbsp;&#8220;d&#8221;&nbsp;&nbsp;# &nbsp;\u4e0d\u9700\u8981\u62ec\u53f7\u4e5f\u53ef\u4ee5<br>&gt;&gt;&gt;&nbsp;type(tup3)<br>&lt;<strong>class<\/strong>&nbsp;&#8216;tuple&#8217;&gt;<\/p>\n\n\n\n<p>\u521b\u5efa\u7a7a\u5143\u7ec4<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tup1 = ()<\/pre>\n\n\n\n<p>\u5143\u7ec4\u4e2d\u53ea\u5305\u542b\u4e00\u4e2a\u5143\u7d20\u65f6\uff0c\u9700\u8981\u5728\u5143\u7d20\u540e\u9762\u6dfb\u52a0\u9017\u53f7&nbsp;<strong>,<\/strong>&nbsp;\uff0c\u5426\u5219\u62ec\u53f7\u4f1a\u88ab\u5f53\u4f5c\u8fd0\u7b97\u7b26\u4f7f\u7528\uff1a<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b9e\u4f8b(Python 3.0+)<\/h2>\n\n\n\n<p>&gt;&gt;&gt;&nbsp;tup1&nbsp;=&nbsp;(50)<br>&gt;&gt;&gt;&nbsp;type(tup1)&nbsp;&nbsp;# \u4e0d\u52a0\u9017\u53f7\uff0c\u7c7b\u578b\u4e3a\u6574\u578b<br>&lt;<strong>class<\/strong>&nbsp;&#8216;int&#8217;&gt;<\/p>\n\n\n\n<p>&gt;&gt;&gt;&nbsp;tup1&nbsp;=&nbsp;(50,)<br>&gt;&gt;&gt;&nbsp;type(tup1)&nbsp;&nbsp;# \u52a0\u4e0a\u9017\u53f7\uff0c\u7c7b\u578b\u4e3a\u5143\u7ec4<br>&lt;<strong>class<\/strong>&nbsp;&#8216;tuple&#8217;&gt;<\/p>\n\n\n\n<p>\u5143\u7ec4\u4e0e\u5b57\u7b26\u4e32\u7c7b\u4f3c\uff0c\u4e0b\u6807\u7d22\u5f15\u4ece 0 \u5f00\u59cb\uff0c\u53ef\u4ee5\u8fdb\u884c\u622a\u53d6\uff0c\u7ec4\u5408\u7b49\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.runoob.com\/wp-content\/uploads\/2016\/04\/py-tup-10-26.png\" alt=\"\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u8bbf\u95ee\u5143\u7ec4<\/h2>\n\n\n\n<p>\u5143\u7ec4\u53ef\u4ee5\u4f7f\u7528\u4e0b\u6807\u7d22\u5f15\u6765\u8bbf\u95ee\u5143\u7ec4\u4e2d\u7684\u503c\uff0c\u5982\u4e0b\u5b9e\u4f8b:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b9e\u4f8b(Python 3.0+)<\/h2>\n\n\n\n<p>#!\/usr\/bin\/python3 tup1 = (&#8216;Google&#8217;, &#8216;Runoob&#8217;, 1997, 2000) tup2 = (1, 2, 3, 4, 5, 6, 7 ) print (&#8220;tup1[0]: &#8220;, tup1[0]) print (&#8220;tup2[1:5]: &#8220;, tup2[1:5])<\/p>\n\n\n\n<p>\u4ee5\u4e0a\u5b9e\u4f8b\u8f93\u51fa\u7ed3\u679c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tup1[0]:  Google\ntup2[1:5]:  (2, 3, 4, 5)<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4fee\u6539\u5143\u7ec4<\/h2>\n\n\n\n<p>\u5143\u7ec4\u4e2d\u7684\u5143\u7d20\u503c\u662f\u4e0d\u5141\u8bb8\u4fee\u6539\u7684\uff0c\u4f46\u6211\u4eec\u53ef\u4ee5\u5bf9\u5143\u7ec4\u8fdb\u884c\u8fde\u63a5\u7ec4\u5408\uff0c\u5982\u4e0b\u5b9e\u4f8b:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b9e\u4f8b(Python 3.0+)<\/h2>\n\n\n\n<p>#!\/usr\/bin\/python3 tup1 = (12, 34.56) tup2 = (&#8216;abc&#8217;, &#8216;xyz&#8217;) # \u4ee5\u4e0b\u4fee\u6539\u5143\u7ec4\u5143\u7d20\u64cd\u4f5c\u662f\u975e\u6cd5\u7684\u3002 # tup1[0] = 100 # \u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5143\u7ec4 tup3 = tup1 + tup2 print (tup3)<\/p>\n\n\n\n<p>\u4ee5\u4e0a\u5b9e\u4f8b\u8f93\u51fa\u7ed3\u679c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">(12, 34.56, 'abc', 'xyz')<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u5220\u9664\u5143\u7ec4<\/h2>\n\n\n\n<p>\u5143\u7ec4\u4e2d\u7684\u5143\u7d20\u503c\u662f\u4e0d\u5141\u8bb8\u5220\u9664\u7684\uff0c\u4f46\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528del\u8bed\u53e5\u6765\u5220\u9664\u6574\u4e2a\u5143\u7ec4\uff0c\u5982\u4e0b\u5b9e\u4f8b:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b9e\u4f8b(Python 3.0+)<\/h2>\n\n\n\n<p>#!\/usr\/bin\/python3 tup = (&#8216;Google&#8217;, &#8216;Runoob&#8217;, 1997, 2000) print (tup) del tup print (&#8220;\u5220\u9664\u540e\u7684\u5143\u7ec4 tup : &#8220;) print (tup)<\/p>\n\n\n\n<p>\u4ee5\u4e0a\u5b9e\u4f8b\u5143\u7ec4\u88ab\u5220\u9664\u540e\uff0c\u8f93\u51fa\u53d8\u91cf\u4f1a\u6709\u5f02\u5e38\u4fe1\u606f\uff0c\u8f93\u51fa\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u5220\u9664\u540e\u7684\u5143\u7ec4 tup : \nTraceback (most recent call last):\n  File \"test.py\", line 8, in &lt;module&gt;\n    print (tup)\nNameError: name 'tup' is not defined<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u5143\u7ec4\u8fd0\u7b97\u7b26<\/h2>\n\n\n\n<p>\u4e0e\u5b57\u7b26\u4e32\u4e00\u6837\uff0c\u5143\u7ec4\u4e4b\u95f4\u53ef\u4ee5\u4f7f\u7528&nbsp;<strong>+<\/strong>\u3001<strong>+=<\/strong>\u548c&nbsp;<strong>*<\/strong>&nbsp;\u53f7\u8fdb\u884c\u8fd0\u7b97\u3002\u8fd9\u5c31\u610f\u5473\u7740\u4ed6\u4eec\u53ef\u4ee5\u7ec4\u5408\u548c\u590d\u5236\uff0c\u8fd0\u7b97\u540e\u4f1a\u751f\u6210\u4e00\u4e2a\u65b0\u7684\u5143\u7ec4\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th>Python \u8868\u8fbe\u5f0f<\/th><th>\u7ed3\u679c<\/th><th>\u63cf\u8ff0<\/th><\/tr><tr><td>len((1, 2, 3))<\/td><td>3<\/td><td>\u8ba1\u7b97\u5143\u7d20\u4e2a\u6570<\/td><\/tr><tr><td>&gt;&gt;&gt; a = (1, 2, 3) &gt;&gt;&gt; b = (4, 5, 6) &gt;&gt;&gt; c = a+b &gt;&gt;&gt; c (1, 2, 3, 4, 5, 6)<\/td><td>(1, 2, 3, 4, 5, 6)<\/td><td>\u8fde\u63a5\uff0cc \u5c31\u662f\u4e00\u4e2a\u65b0\u7684\u5143\u7ec4\uff0c\u5b83\u5305\u542b\u4e86 a \u548c b \u4e2d\u7684\u6240\u6709\u5143\u7d20\u3002<\/td><\/tr><tr><td>&gt;&gt;&gt; a = (1, 2, 3) &gt;&gt;&gt; b = (4, 5, 6) &gt;&gt;&gt; a += b &gt;&gt;&gt; a (1, 2, 3, 4, 5, 6)<\/td><td>(1, 2, 3, 4, 5, 6)<\/td><td>\u8fde\u63a5\uff0ca \u5c31\u53d8\u6210\u4e86\u4e00\u4e2a\u65b0\u7684\u5143\u7ec4\uff0c\u5b83\u5305\u542b\u4e86 a \u548c b \u4e2d\u7684\u6240\u6709\u5143\u7d20\u3002<\/td><\/tr><tr><td>(&#8216;Hi!&#8217;,) * 4<\/td><td>(&#8216;Hi!&#8217;, &#8216;Hi!&#8217;, &#8216;Hi!&#8217;, &#8216;Hi!&#8217;)<\/td><td>\u590d\u5236<\/td><\/tr><tr><td>3 in (1, 2, 3)<\/td><td>True<\/td><td>\u5143\u7d20\u662f\u5426\u5b58\u5728<\/td><\/tr><tr><td>for x in (1, 2, 3): print (x, end=&#8221; &#8220;)<\/td><td>1 2 3<\/td><td>\u8fed\u4ee3<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u5143\u7ec4\u7d22\u5f15\uff0c\u622a\u53d6<\/h2>\n\n\n\n<p>\u56e0\u4e3a\u5143\u7ec4\u4e5f\u662f\u4e00\u4e2a\u5e8f\u5217\uff0c\u6240\u4ee5\u6211\u4eec\u53ef\u4ee5\u8bbf\u95ee\u5143\u7ec4\u4e2d\u7684\u6307\u5b9a\u4f4d\u7f6e\u7684\u5143\u7d20\uff0c\u4e5f\u53ef\u4ee5\u622a\u53d6\u7d22\u5f15\u4e2d\u7684\u4e00\u6bb5\u5143\u7d20\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n\n\n\n<p>\u5143\u7ec4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tup = ('Google', 'Runoob', 'Taobao', 'Wiki', 'Weibo','Weixin')<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.runoob.com\/wp-content\/uploads\/2016\/04\/py-tup-7.png\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Python \u8868\u8fbe\u5f0f<\/th><th>\u7ed3\u679c<\/th><th>\u63cf\u8ff0<\/th><\/tr><tr><td>tup[1]<\/td><td>&#8216;Runoob&#8217;<\/td><td>\u8bfb\u53d6\u7b2c\u4e8c\u4e2a\u5143\u7d20<\/td><\/tr><tr><td>tup[-2]<\/td><td>&#8216;Weibo&#8217;<\/td><td>\u53cd\u5411\u8bfb\u53d6\uff0c\u8bfb\u53d6\u5012\u6570\u7b2c\u4e8c\u4e2a\u5143\u7d20<\/td><\/tr><tr><td>tup[1:]<\/td><td>(&#8216;Runoob&#8217;, &#8216;Taobao&#8217;, &#8216;Wiki&#8217;, &#8216;Weibo&#8217;, &#8216;Weixin&#8217;)<\/td><td>\u622a\u53d6\u5143\u7d20\uff0c\u4ece\u7b2c\u4e8c\u4e2a\u5f00\u59cb\u540e\u7684\u6240\u6709\u5143\u7d20\u3002<\/td><\/tr><tr><td>tup[1:4]<\/td><td>(&#8216;Runoob&#8217;, &#8216;Taobao&#8217;, &#8216;Wiki&#8217;)<\/td><td>\u622a\u53d6\u5143\u7d20\uff0c\u4ece\u7b2c\u4e8c\u4e2a\u5f00\u59cb\u5230\u7b2c\u56db\u4e2a\u5143\u7d20\uff08\u7d22\u5f15\u4e3a 3\uff09\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u8fd0\u884c\u5b9e\u4f8b\u5982\u4e0b\uff1a<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b9e\u4f8b<\/h2>\n\n\n\n<p>&gt;&gt;&gt;&nbsp;tup&nbsp;=&nbsp;(&#8216;Google&#8217;,&nbsp;&#8216;Runoob&#8217;,&nbsp;&#8216;Taobao&#8217;,&nbsp;&#8216;Wiki&#8217;,&nbsp;&#8216;Weibo&#8217;,&#8217;Weixin&#8217;)<br>&gt;&gt;&gt;&nbsp;tup[1]<br>&#8216;Runoob&#8217;<br>&gt;&gt;&gt;&nbsp;tup[-2]<br>&#8216;Weibo&#8217;<br>&gt;&gt;&gt;&nbsp;tup[1:]<br>(&#8216;Runoob&#8217;,&nbsp;&#8216;Taobao&#8217;,&nbsp;&#8216;Wiki&#8217;,&nbsp;&#8216;Weibo&#8217;,&nbsp;&#8216;Weixin&#8217;)<br>&gt;&gt;&gt;&nbsp;tup[1:4]<br>(&#8216;Runoob&#8217;,&nbsp;&#8216;Taobao&#8217;,&nbsp;&#8216;Wiki&#8217;)<br>&gt;&gt;&gt;<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u5143\u7ec4\u5185\u7f6e\u51fd\u6570<\/h2>\n\n\n\n<p>Python\u5143\u7ec4\u5305\u542b\u4e86\u4ee5\u4e0b\u5185\u7f6e\u51fd\u6570<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>\u5e8f\u53f7<\/th><th>\u65b9\u6cd5\u53ca\u63cf\u8ff0<\/th><th>\u5b9e\u4f8b<\/th><\/tr><tr><td>1<\/td><td>len(tuple)<br>\u8ba1\u7b97\u5143\u7ec4\u5143\u7d20\u4e2a\u6570\u3002<\/td><td>&gt;&gt;&gt; tuple1 = (&#8216;Google&#8217;, &#8216;Runoob&#8217;, &#8216;Taobao&#8217;) &gt;&gt;&gt; len(tuple1) 3 &gt;&gt;&gt;<\/td><\/tr><tr><td>2<\/td><td>max(tuple)<br>\u8fd4\u56de\u5143\u7ec4\u4e2d\u5143\u7d20\u6700\u5927\u503c\u3002<\/td><td>&gt;&gt;&gt; tuple2 = (&#8216;5&#8217;, &#8216;4&#8217;, &#8216;8&#8217;) &gt;&gt;&gt; max(tuple2) &#8216;8&#8217; &gt;&gt;&gt;<\/td><\/tr><tr><td>3<\/td><td>min(tuple)<br>\u8fd4\u56de\u5143\u7ec4\u4e2d\u5143\u7d20\u6700\u5c0f\u503c\u3002<\/td><td>&gt;&gt;&gt; tuple2 = (&#8216;5&#8217;, &#8216;4&#8217;, &#8216;8&#8217;) &gt;&gt;&gt; min(tuple2) &#8216;4&#8217; &gt;&gt;&gt;<\/td><\/tr><tr><td>4<\/td><td>tuple(iterable)<br>\u5c06\u53ef\u8fed\u4ee3\u7cfb\u5217\u8f6c\u6362\u4e3a\u5143\u7ec4\u3002<\/td><td>&gt;&gt;&gt; list1= [&#8216;Google&#8217;, &#8216;Taobao&#8217;, &#8216;Runoob&#8217;, &#8216;Baidu&#8217;] &gt;&gt;&gt; tuple1=tuple(list1) &gt;&gt;&gt; tuple1 (&#8216;Google&#8217;, &#8216;Taobao&#8217;, &#8216;Runoob&#8217;, &#8216;Baidu&#8217;)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u5173\u4e8e\u5143\u7ec4\u662f\u4e0d\u53ef\u53d8\u7684<\/h3>\n\n\n\n<p>\u6240\u8c13\u5143\u7ec4\u7684\u4e0d\u53ef\u53d8\u6307\u7684\u662f\u5143\u7ec4\u6240\u6307\u5411\u7684\u5185\u5b58\u4e2d\u7684\u5185\u5bb9\u4e0d\u53ef\u53d8\u3002<\/p>\n\n\n\n<p>&gt;&gt;&gt;&nbsp;tup&nbsp;=&nbsp;(&#8216;r&#8217;,&nbsp;&#8216;u&#8217;,&nbsp;&#8216;n&#8217;,&nbsp;&#8216;o&#8217;,&nbsp;&#8216;o&#8217;,&nbsp;&#8216;b&#8217;)<br>&gt;&gt;&gt;&nbsp;tup[0]&nbsp;=&nbsp;&#8216;g&#8217;&nbsp;&nbsp;# \u4e0d\u652f\u6301\u4fee\u6539\u5143\u7d20<br>Traceback&nbsp;(most recent call last):<br>&nbsp; File&nbsp;&#8220;&lt;stdin&gt;&#8221;,&nbsp;line&nbsp;1,&nbsp;<strong>in<\/strong>&nbsp;&lt;module&gt;<br>TypeError:&nbsp;&#8216;tuple&#8217;&nbsp;object&nbsp;does&nbsp;<strong>not<\/strong>&nbsp;support item assignment<br>&gt;&gt;&gt;&nbsp;id(tup)&nbsp;&nbsp;# \u67e5\u770b\u5185\u5b58\u5730\u5740<br>4440687904<br>&gt;&gt;&gt;&nbsp;tup&nbsp;=&nbsp;(1,2,3)<br>&gt;&gt;&gt;&nbsp;id(tup)<br>4441088800&nbsp;# \u5185\u5b58\u5730\u5740\u4e0d\u4e00\u6837\u4e86<\/p>\n\n\n\n<p>\u4ece\u4ee5\u4e0a\u5b9e\u4f8b\u53ef\u4ee5\u770b\u51fa\uff0c\u91cd\u65b0\u8d4b\u503c\u7684\u5143\u7ec4 tup\uff0c\u7ed1\u5b9a\u5230\u65b0\u7684\u5bf9\u8c61\u4e86\uff0c\u4e0d\u662f\u4fee\u6539\u4e86\u539f\u6765\u7684\u5bf9\u8c61\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python \u7684\u5143\u7ec4\u4e0e\u5217\u8868\u7c7b\u4f3c\uff0c\u4e0d\u540c\u4e4b\u5904\u5728\u4e8e\u5143\u7ec4\u7684\u5143\u7d20\u4e0d\u80fd\u4fee\u6539\u3002 \u5143&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":482,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-578","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1"],"views":740,"_links":{"self":[{"href":"http:\/\/www.pyteam.cn\/index.php\/wp-json\/wp\/v2\/posts\/578","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.pyteam.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.pyteam.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.pyteam.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.pyteam.cn\/index.php\/wp-json\/wp\/v2\/comments?post=578"}],"version-history":[{"count":1,"href":"http:\/\/www.pyteam.cn\/index.php\/wp-json\/wp\/v2\/posts\/578\/revisions"}],"predecessor-version":[{"id":579,"href":"http:\/\/www.pyteam.cn\/index.php\/wp-json\/wp\/v2\/posts\/578\/revisions\/579"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.pyteam.cn\/index.php\/wp-json\/wp\/v2\/media\/482"}],"wp:attachment":[{"href":"http:\/\/www.pyteam.cn\/index.php\/wp-json\/wp\/v2\/media?parent=578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.pyteam.cn\/index.php\/wp-json\/wp\/v2\/categories?post=578"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.pyteam.cn\/index.php\/wp-json\/wp\/v2\/tags?post=578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}