{"id":1170,"date":"2018-09-06T00:55:23","date_gmt":"2018-09-05T15:55:23","guid":{"rendered":"https:\/\/python-introduction.com\/?p=1170"},"modified":"2018-09-04T16:21:40","modified_gmt":"2018-09-04T07:21:40","slug":"%e3%80%90python%e5%85%a5%e9%96%80%e3%80%91csv%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%bf%e3%83%bb%e6%9b%b8%e3%81%8d%e8%be%bc%e3%81%bf%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/python-introduction.com\/?p=1170","title":{"rendered":"\u3010Python\u5165\u9580\u3011csv\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u30fb\u66f8\u304d\u8fbc\u307f\u65b9\u6cd5"},"content":{"rendered":"<p>\u524d\u56de\u306e\u8a18\u4e8b\u307e\u3067\u3067\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u3084\u66f8\u304d\u8fbc\u307f\u306b\u3064\u3044\u3066<br \/>\n\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u21d2<a href=\"https:\/\/python-introduction.com\/?p=1159\" target=\"blank\">\u3010Python\u3011with\u6587\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066as\u3068\u304b\u3089\u3081\u3066\u89e3\u8aac<\/a><br \/>\n\u21d2<a href=\"https:\/\/python-introduction.com\/?p=1149\" target=\"blank\">\u3010Python\u3011\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u65b9\u6cd5\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac<\/a><br \/>\n\u21d2<a href=\"https:\/\/python-introduction.com\/?p=1065\" target=\"blank\">\u3010Python\u3011\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u30fb\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u8fbc\u307f\u3059\u308b\u65b9\u6cd5<\/a><\/p>\n<p>\u4eca\u56de\u306e\u8a18\u4e8b\u306fCSV\u30d5\u30a1\u30a4\u30eb\u306b\u7126\u70b9\u3092\u5f53\u3066\u3066\u89e3\u8aac\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>\u3010Python\u5165\u9580\u3011CSV\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u8fbc\u307f\u3059\u308b\u65b9\u6cd5<\/h2>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/09\/psokondosei903.jpg\" alt=\"python csv \u66f8\u304d\u8fbc\u307f\" width=\"620\" height=\"414\" class=\"alignnone size-full wp-image-1172\" srcset=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/09\/psokondosei903.jpg 620w, https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/09\/psokondosei903-300x200.jpg 300w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><\/p>\n<p>CSV\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u8fbc\u307f\u3092\u3059\u308b\u305f\u3081\u306b\u3001<br \/>\n\u307e\u305a\u306fCSV\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u3068\u3053\u308d\u304b\u3089\u59cb\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u4f8b\u984c1\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">#\u4f8b\u984c1\r\nimport csv \r\n\r\na = [['dog',12], [&quot;cat&quot;, 30], [&quot;bird&quot;, 90]] \r\n\r\nwith open(&quot;cccsss.csv&quot;, &quot;w&quot;, encoding=&quot;Shift_jis&quot;) as b: \r\n    writer = csv.writer(b, lineterminator=&quot;\\n&quot;)\r\n    writer.writerows(a) <\/pre>\n<p>\u4f8b\u984c1\u3067\u306f\u307e\u305a\u3001<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">import csv <\/pre>\n<p>\u3068\u8a18\u8ff0\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306fCSV\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u3068\u3044\u3046\u610f\u5473\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3061\u306a\u307f\u306b\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u306f\u3001\u4eca\u8a18\u8ff0\u3057\u3066\u3044\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u4ee5\u5916\u306e\u3068\u3053\u308d\u304b\u3089<br \/>\n\u6301\u3063\u3066\u304d\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070A\u3068\u3044\u3046\u3068\u3053\u308d\u3067\u4f5c\u3063\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092<br \/>\nB\u3068\u3044\u3046\u3068\u3053\u308d\u3067\u518d\u5229\u7528\u3059\u308b\u306a\u3089\u3001\u305d\u308c\u306f\u7acb\u6d3e\u306a\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3059\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001CSV\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092<br \/>\n\u4ed6\u306e\u3068\u3053\u308d\u304b\u3089\u5f15\u3063\u5f35\u3063\u3066\u304d\u305f\u3063\u3066\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u3067\u3001\u8a71\u3092\u5143\u306b\u623b\u3057\u3066<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">import csv <\/pre>\n<p>\u3068\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3067\u3001\u30a8\u30af\u30bb\u30eb\u306a\u3093\u304b\u3067\u3082\u5229\u7528\u3067\u304d\u308b<br \/>\nCSC\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3093\u3060\u308a\u66f8\u304d\u8fbc\u3093\u3060\u308a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">a = [['dog',12], [&quot;cat&quot;, 30], [&quot;bird&quot;, 90]] <\/pre>\n<p> [[&#8216;dog&#8217;,12], [&#8220;cat&#8221;, 30], [&#8220;bird&#8221;, 90]] \u3092\u5909\u6570a\u306b\u4ee3\u5165\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u304b\u3089<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">with open(&quot;cccsss.csv&quot;, &quot;w&quot;, encoding=&quot;Shift_jis&quot;) as b: <\/pre>\n<p>with\u6587\u3092\u4f7f\u3063\u3066CSV\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3001\u66f8\u304d\u8fbc\u307f\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>CSV\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u306fcccsss.csv\u3068\u3057\u307e\u3057\u3087\u3046\u3002<br \/>\n&#8220;w&#8221;\u306f\u66f8\u304d\u8fbc\u307f\u3092\u610f\u5473\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001CSV\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u8fbc\u307f\u3092\u884c\u3046\u5834\u5408\u306b\u306f<br \/>\nencoding=&#8221;Shift_jis&#8221;\u3068\u8a18\u8ff0\u3057\u3066\u3001Shift_jis\u306b\u5909\u66f4\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u6587\u5b57\u5316\u3051\u9632\u6b62\u3067\u3059\u3002<\/p>\n<p>with\u6587\u306b\u3064\u3044\u3066\u306f\u524d\u56de\u306e\u8a18\u4e8b\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u306e\u3067<br \/>\n\u3053\u3061\u3089\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<br \/>\n\u21d2<a href=\"https:\/\/python-introduction.com\/?p=1159\" target=\"blank\">\u3010Python\u3011with\u6587\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066as\u3068\u304b\u3089\u3081\u3066\u89e3\u8aac<\/a><\/p>\n<p>\u6b21\u306b<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">    writer = csv.writer(b, lineterminator=&quot;\\n&quot;)<\/pre>\n<p>\u3068\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<p>#writer\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u308a\u3001<br \/>\n\u6539\u884c\u8a18\u53f7\u3067\u884c\u3092\u533a\u5207\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u304b\u3089<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">    writer.writerows(a)<\/pre>\n<p>\u306b\u3088\u3063\u3066\u3001\u5909\u6570a\u306b\u5165\u3063\u305f\u30c7\u30fc\u30bf\u3092CSV\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u969b\u306b\u5b9f\u884c\u3059\u308b\u3068<br \/>\n<img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/09\/csvsakuseii903.jpg\" alt=\"CSV\u30d5\u30a1\u30a4\u30eb\u66f8\u304d\u8fbc\u307f\" width=\"411\" height=\"108\" class=\"alignnone size-full wp-image-1177\" srcset=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/09\/csvsakuseii903.jpg 411w, https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/09\/csvsakuseii903-300x79.jpg 300w\" sizes=\"(max-width: 411px) 100vw, 411px\" \/><br \/>\n\u3068CSV\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3053\u306eCSV\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u3068<br \/>\n<img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/09\/csvii903.jpg\" alt=\"\u6539\u884c\" width=\"430\" height=\"181\" class=\"alignnone size-full wp-image-1178\" srcset=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/09\/csvii903.jpg 430w, https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/09\/csvii903-300x126.jpg 300w\" sizes=\"(max-width: 430px) 100vw, 430px\" \/><\/p>\n<p>\u5909\u6570a\u306b\u5165\u3063\u305f\u5024\u304c\u305d\u308c\u305e\u308c\u958b\u696d\u3055\u308c\u306a\u304c\u3089<br \/>\n\u66f8\u304d\u8fbc\u307f\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u306d\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306b\u4fdd\u5b58\u3059\u308c\u3070\u3001<br \/>\n\u30a8\u30af\u30bb\u30eb\u3067\u8aad\u3080\u8fbc\u3080\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u3010Python\u5165\u9580\u3011CSV\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u65b9\u6cd5<\/h2>\n<p>\u6b21\u306bCSV\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u65b9\u6cd5\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u984c2\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">#\u4f8b\u984c2 CSV\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\r\n\r\nwith open(&quot;cccsss.csv&quot;, &quot;r&quot;, encoding=&quot;Shift_jis&quot;) as b:\r\n    reader = csv.reader(b) \r\n    \r\n    for c in reader: \r\n        print(c)<\/pre>\n<p>\u307e\u305a<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">with open(&quot;cccsss.csv&quot;, &quot;r&quot;, encoding=&quot;Shift_jis&quot;) as b:<\/pre>\n<p>with\u6587\u3092\u4f7f\u3063\u3066\u5148\u307b\u3069\u4fdd\u5b58\u66f8\u304d\u8fbc\u307f\u3092\u3057\u305fcccsss.csv\u30d5\u30a1\u30a4\u30eb\u3092<br \/>\n\u8aad\u307f\u8fbc\u3093\u3067\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>&#8220;r&#8221;\u306fCSV\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u3092\u610f\u5473\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u6587\u5b57\u30b3\u30fc\u30c9\u306fShift_jis\u306b\u8a2d\u5b9a\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u6b21\u306b<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">    reader = csv.reader(b) <\/pre>\n<p>\u3053\u308c\u3067CSV\u3092\u8aad\u307f\u8fbc\u307e\u305b\u308b\u305f\u3081\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3063\u3066\u4f55\uff1f\u300d<br \/>\n\u3068\u6c17\u306b\u306a\u308b\u65b9\u306f\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<br \/>\n\u21d2<a href=\"https:\/\/python-introduction.com\/?p=1017\" target=\"blank\">\u3010Python\u5165\u9580\u3011\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u3068\u306f\uff1f\u4f8b\u984c\u3092\u6319\u3052\u306a\u304c\u3089\u89e3\u8aac<\/a><\/p>\n<p>\u305d\u308c\u304b\u3089<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">    for c in reader: <\/pre>\n<p>for\u6587\u3092\u4f7f\u3046\u3053\u3068\u3067\u4e00\u884c\u305a\u3064<br \/>\n\u5148\u307b\u3069\u66f8\u304d\u8fbc\u307f\u3092\u3057\u305fCSV\u30d5\u30a1\u30a4\u30eb\u306e\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u884c\u3059\u308b\u3068<br \/>\n[&#8216;dog&#8217;, &#8217;12&#8217;]<br \/>\n[&#8216;cat&#8217;, &#8217;30&#8217;]<br \/>\n[&#8216;bird&#8217;, &#8217;90&#8217;]<br \/>\n\u3068\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/09\/csvafa904.jpg\" alt=\"CSV\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\" width=\"432\" height=\"205\" class=\"alignnone size-full wp-image-1180\" srcset=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/09\/csvafa904.jpg 432w, https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/09\/csvafa904-300x142.jpg 300w\" sizes=\"(max-width: 432px) 100vw, 432px\" \/><\/p>\n<p>CSV\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u8fbc\u307e\u308c\u305f\u5024\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u306d\u3002<\/p>\n<p>\u307e\u305f\u8868\u793a\u3055\u308c\u305f\u5024\u306f\u30ea\u30b9\u30c8\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u30ea\u30b9\u30c8\u306f[]\u3067\u304b\u3053\u3080\u3053\u3068\u3067\u8868\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067CSV\u30d5\u30a1\u30a4\u30eb\u306f\u30ea\u30b9\u30c8\u5f62\u5f0f\u3067\u66f8\u304d\u8fbc\u307f\u3092\u3057\u305f\u308a<br \/>\n\u8aad\u307f\u8fbc\u307f\u3092\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3093\u3067\u3059\u3002<\/p>\n<div class=\"linkcard\"><table border=\"1\" cellspacing=\"0\" cellpadding=\"4\"><tbody><\/tr><tr><td>\u3053\u306e\u8a18\u4e8b\u3067\u306fPython\u3067\u30ea\u30b9\u30c8\u306e\u8981\u7d20\u6570\u3092\u53d6\u5f97\u3057\u305f\u308a\u62bd\u51fa\u3057\u305f\u308a\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002\u30ea\u30b9\u30c8\u3092\u8ffd\u52a0\u3057\u305f\u308a\u7d50\u5408\u3057\u305f\u308a\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002\u3067\u306f\u672c\u984c\u306b\u5165\u3063\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002\u3010Python\u3011\u30ea\u30b9\u30c8\u306e\u8981\u7d20\u6570\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5P...<br><a class=\"no_icon\" href=\"https:\/\/python-introduction.com\/?p=620\">\u3010Python\u3011\u30ea\u30b9\u30c8\u306e\u8981\u7d20\u6570\u3092\u53d6\u5f97\u3057\u305f\u308a\u62bd\u51fa\u3057\u305f\u308a\u3059\u308b\u65b9\u6cd5<\/a> - python\u5165\u9580\u30c9\u30c3\u30c8\u30b3\u30e0<\/td><\/tr><\/tbody><\/table><\/div>\n","protected":false},"excerpt":{"rendered":"\u524d\u56de\u306e\u8a18\u4e8b\u307e\u3067\u3067\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u3084\u66f8\u304d\u8fbc\u307f\u306b\u3064\u3044\u3066 \u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u304d\u307e\u3057\u305f\u3002 \u21d2\u3010Python\u3011with\u6587\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066as\u3068\u304b\u3089\u3081\u3066\u89e3\u8aac \u21d2\u3010Python\u3011\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u65b9\u6cd5\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac \u21d2\u3010Python [&hellip;]","protected":false},"author":1,"featured_media":848,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[120,16],"tags":[121,3,102,116],"_links":{"self":[{"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/posts\/1170"}],"collection":[{"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/python-introduction.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1170"}],"version-history":[{"count":7,"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/posts\/1170\/revisions"}],"predecessor-version":[{"id":1181,"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/posts\/1170\/revisions\/1181"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/media\/848"}],"wp:attachment":[{"href":"https:\/\/python-introduction.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/python-introduction.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/python-introduction.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}