{"id":133,"date":"2019-11-15T16:07:25","date_gmt":"2019-11-15T07:07:25","guid":{"rendered":"http:\/\/aiacademy.jp\/media\/?p=133"},"modified":"2024-08-08T15:51:52","modified_gmt":"2024-08-08T06:51:52","slug":"%e3%80%90%e5%88%9d%e5%bf%83%e8%80%85%e5%90%91%e3%81%91%e3%80%91%e4%be%8b%e5%a4%96%e5%87%a6%e7%90%86%e3%81%a8%e3%81%af%e4%bd%95%e3%81%8b%ef%bc%9fpython%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e4%be%8b","status":"publish","type":"post","link":"https:\/\/aiacademy.jp\/media\/?p=133","title":{"rendered":"\u3010\u521d\u5fc3\u8005\u5411\u3051\u3011\u4f8b\u5916\u51e6\u7406\u3068\u306f\u4f55\u304b\uff1fPython\u3092\u4f7f\u3063\u3066\u4f8b\u5916\u51e6\u7406\u3092\u8a18\u8ff0\u3057\u3088\u3046\uff01"},"content":{"rendered":"<div id=\"sgb-css-id-1\">\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-font-size is-style-fill has-medium-font-size\"><a class=\"wp-block-button__link has-vivid-green-cyan-background-color has-background wp-element-button\" href=\"https:\/\/lin.ee\/3E4GzWk\" rel=\"nofollow noopener\" target=\"_blank\">LINE\u53cb\u3060\u3061\u767b\u9332 \u25b6 Python\u30b3\u30fc\u30b9 \u25b6 \u53d7\u8b1b\u5272\u5f15\u30af\u30fc\u30dd\u30f3 \u7121\u6599\u52d5\u753b<\/a><\/div>\n<\/div>\n<\/div>\n\n\n<p><\/p>\n\n\n<div class=\"toc\">    <div id=\"toc_container\" class=\"sgb-toc--no-bullets js-smooth-scroll\" data-dialog-title=\"Table of Contents\">\n      <p class=\"toc_title\">\u76ee\u6b21 <\/p>\n      <ul class=\"toc_list\">  <li class=\"first\">    <a href=\"#i-0\">\u4f8b\u5916\u51e6\u7406<\/a>  <\/li>  <li>    <a href=\"#i-1\">\u4f8b\u5916\u51e6\u7406\u306e\u69cb\u6587<\/a>  <\/li>  <li>    <a href=\"#i-2\">\u4f8b\u5916\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6355\u6349\u3059\u308b<\/a>  <\/li>  <li>    <a href=\"#i-3\">\u8907\u6570\u306e\u4f8b\u5916\u3092\u6355\u6349\u3059\u308b<\/a>  <\/li>  <li>    <a href=\"#i-4\">else \/ finally<\/a>  <\/li>  <li class=\"last\">    <a href=\"#i-5\">\u307e\u3068\u3081<\/a>  <\/li><\/ul>\n      \n    <\/div><\/div><div class=\"toc\"><p><\/p>\n<\/div><h2 id=\"i-0\">\u4f8b\u5916\u51e6\u7406<\/h2>\n<p><strong>\u4f8b\u5916\u51e6\u7406\u3068\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u3042\u308b\u51e6\u7406\u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u9014\u4e2d\u3067\u3001\u306a\u3093\u3089\u304b\u306e\u7570\u5e38\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306b\u3001\u73fe\u5728\u306e\u51e6\u7406\u3092\u4e2d\u65ad\u3057\u3001\u5225\u306e\u51e6\u7406\u3092\u884c\u3046\u3053\u3068\u3067\u3059\u3002<\/strong><br><strong><em>\u4f8b\u5916\u51e6\u7406\u3092\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3067\u3001\u4e88\u671f\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u30a8\u30e9\u30fc\u306b\u5bfe\u5fdc\u3067\u304d\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/em><\/strong><\/p>\n<p>\u4e88\u671f\u3057\u3066\u3044\u306a\u3044\u30a8\u30e9\u30fc\u3068\u306f\u306a\u3093\u3067\u3057\u3087\u3046\u304b\uff1f<br>\u5b9f\u306f\u3001\u30a8\u30e9\u30fc\u306f\u5927\u304d\u304f\u5206\u3051\u3066<strong><em>2\u7a2e\u985e<\/em><\/strong>\u3042\u308a\u307e\u3059\u3002<br>1. \u69cb\u6587\u30a8\u30e9\u30fc(Syntax Error)<br>2. \u4f8b\u5916(Exception)<\/p>\n<p>\u307e\u305a\u306f\u30011. \u69cb\u6587\u30a8\u30e9\u30fc(Syntax Error)\u304b\u3089\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><code>if 10 &gt; 5\n<\/code><\/pre>\n<p>\u4e0a\u8a18\u30b3\u30fc\u30c9\u306f\u6b21\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3059\u3002<\/p>\n<pre><code class=\"shell\">File \"&lt;stdin&gt;\", line 1\nif 10 &gt; 5\n        ^\nSyntaxError: invalid syntax\n<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u3088\u3046\u306b\u3001<strong>\u69cb\u6587\u30a8\u30e9\u30fc: \u7121\u52b9\u306a\u69cb\u6587<\/strong>\u3068\u8a00\u3063\u305f\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u3066\u304a\u308a\u3001if\u6587\u306e:\u304c\u306a\u3044\u305f\u3081\u306b\u30a8\u30e9\u30fc\u304c\u8d77\u304d\u3066\u3044\u307e\u3059\u3002<br><em>\u69cb\u6587\u30a8\u30e9\u30fc\u306f\u81f4\u547d\u7684\u306a\u30a8\u30e9\u30fc\u3067\u3042\u308a\u3001\u69cb\u6587\u30a8\u30e9\u30fc\u304c\u3042\u308b\u5834\u5408\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u5b9f\u884c\u3067\u304d\u307e\u305b\u3093\u3002<\/em><br>\u30d5\u30a1\u30a4\u30eb\u540d\u53ca\u3073\u3001\u884c\u6570\u306a\u3069\u3092\u77e5\u3089\u305b\u3066\u304f\u308c\u308b\u305f\u3081\u306b\u30a8\u30e9\u30fc\u304c\u3069\u3053\u304b\u306f\u767a\u898b\u3057\u3084\u3059\u3044\u3067\u3059\u3002<\/p>\n<p>\u6b21\u306f\u30012. \u4f8b\u5916(Exception)\u306b\u95a2\u3057\u3066\u3067\u3059\u3002<br>\u4f8b\u5916\u51e6\u7406\u3092\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3067\u3001\u4e88\u671f\u305b\u306c\u30a8\u30e9\u30fc\u306b\u5bfe\u5fdc\u3067\u304d\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br><strong>\u4e88\u671f\u305b\u306c\u30a8\u30e9\u30fc\u3068\u3044\u3046\u306e\u306f\u3001\u3064\u307e\u308a\u60f3\u5b9a\u5916\u306e\u4e8b\u8c61\u306b\u3088\u308a\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u52d5\u4f5c\u3057\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u3067\u3059\u3002<\/strong><br>\u3053\u308c\u3092<strong><em>\u4f8b\u5916<\/em><\/strong>\u3068\u547c\u3073\u307e\u3059\u3002<br>\u4f8b\u5916\u306b\u306f\u3001IndexError\u3084TypeError\u3084NameError\u3084ZeroDivisionError\u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002<br><strong><em>\u3053\u308c\u3089\u306e\u4f8b\u5916\u30a8\u30e9\u30fc\u306f\u69cb\u6587\u30a8\u30e9\u30fc\u3068\u306f\u9055\u3063\u3066\u81f4\u547d\u7684\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u4f8b\u5916\u51e6\u7406\u3092\u8a18\u8ff0\u3057\u3066\u3044\u308c\u3070\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u5b9f\u884c\u3057\u7d9a\u3051\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/em><\/strong><\/p>\n<p>\u305d\u308c\u3067\u306f\u4e0b\u8a18\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u8aad\u3093\u3067\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"python\">i = input()\ninput_num = int(i) \n\nresult = 5 \/ input_num\nprint(result)\n<\/code><\/pre>\n<p>\u4f8b\u3048\u3070\u3082\u3057\u3001\u3053\u3053\u3067\u30e6\u30fc\u30b6\u30fc\u304c5\u3068\u304b\u5165\u529b\u3057\u305f\u5834\u5408\u3060\u3068\u554f\u984c\u306a\u3044\u3067\u3059\u304c\u3001\u30e6\u30fc\u30b6\u30fc\u304c0\u3092\u5165\u529b\u3057\u305f\u3089\u3069\u3046\u306a\u308b\u3067\u3057\u3087\u3046\u304b\uff1f<br><strong><em>Python\u3067\u306f0\u3067\u5272\u308b\u3068\u3001 ZeroDivisionError\u3068\u3044\u3046\u4f8b\u5916\u3092\u767a\u751f\u3057\u307e\u3059\u3002<\/em><\/strong><br>\u307e\u305a\u3053\u3053\u3067\u306f\u3001\u5148\u307b\u3069\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u4f8b\u5916\u51e6\u7406\u3092\u8a18\u8ff0\u3057\u3066\u30010\u3067\u5272\u3089\u308c\u305f\u6642\u306e\u4f8b\u5916\u51e6\u7406\u3092\u8a18\u8ff0\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br><strong>\u4f8b\u5916\u51e6\u7406\u306f\u3001\u4f8b\u5916\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u7b87\u6240\u3092try\u30d6\u30ed\u30c3\u30af\u5185\u306b\u8a18\u8ff0\u3057\u3001except\u3067\u4f8b\u5916\u3092\u6355\u6349\u3057\u307e\u3059\u3002<\/strong><\/p>\n<pre><code class=\"python\">try:\n    5\/0\nexcept ZeroDivisionError:\n    print('ZeroDivisionError!!')\n<\/code><\/pre>\n<p>\u4e0a\u306e\u4f8b\u306f\u3001\u30bc\u30ed\u9664\u7b97\u6642\u306bZeroDivisionError\u304c\u767a\u751f\u3057\u3001\u305d\u308c\u3092except\u7bc0\u3067\u6355\u6349\uff08\u30ad\u30e3\u30c3\u30c1\uff09\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a8\u30e9\u30fc\u3067\u5f85\u3061\u69cb\u3048\u3066\u3044\u308b\u5834\u5408\u306f\u610f\u5473\u304c\u306a\u3044\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<pre><code>try:\n    5\/0\nexcept IndexError:\n    print('indexError!!')\n\n# print(\"\u5024\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044: \")\ni = input()\ninput_num = int(i) \ntry:\n    result = 5 \/ input_num\n    print(result)\nexcept ZeroDivisionError:\n    print('ZeroDivisionError!!')\n<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u4f8b\u5916\u51e6\u7406\u3092\u65bd\u3059\u5834\u5408\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre><code>i = input()\ninput_num = int(i) \n\ntry:\n    result = 5 \/ input_num\n    print(result)\nexcept ZeroDivisionError:\n    print('ZeroDivisionError!!')\n<\/code><\/pre>\n<h2 id=\"i-1\">\u4f8b\u5916\u51e6\u7406\u306e\u69cb\u6587<\/h2>\n<p>\u3055\u3066\u3001\u4f8b\u5916\u306e\u30a4\u30e1\u30fc\u30b8\u304c\u3064\u3044\u305f\u3068\u3053\u308d\u3067\u3001\u4f8b\u5916\u51e6\u7406\u306e\u69cb\u6587\u3092\u898b\u3066\u307f\u307e\u3059\u3002<br>\u4e0b\u8a18\u306e\u3088\u3046\u306b\u3001<strong>\u4f8b\u5916\u51e6\u7406\u3092\u5229\u7528\u3059\u308b\u306b\u306f\u3001try except\u3092\u7528\u3044\u307e\u3059\u3002<\/strong><br><strong><em>try\u306e\u5185\u90e8\u306b\u306f\u3001\u4f8b\u5916\u304c\u767a\u751f\u3057\u305d\u3046\u306a\u30d7\u30ed\u30b0\u30e9\u30e0<\/em><\/strong>\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre><code># \u4f8b\u5916\u51e6\u7406\u306e\u69cb\u6587\n\ntry:\n    \u4f8b\u5916\u304c\u767a\u751f\u3057\u305d\u3046\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\nexcept:\n    \u4f8b\u5916\u304c\u8d77\u304d\u305f\u6642\u306e\u51e6\u7406\n<\/code><\/pre>\n<p><strong><em>except\u306b\u306f\u3001OSError\u3084ValueError,ZeroDivisionError, NameError, TypeError\u306a\u3069\u4f8b\u5916\u3092\u8a18\u8ff0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/em><\/strong><\/p>\n<h2 id=\"i-2\">\u4f8b\u5916\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6355\u6349\u3059\u308b<\/h2>\n<p>\u4f8b\u5916\u306b\u95a2\u3059\u308b\u60c5\u5831\u306f\u4ee5\u4e0b\u306e\u5f62\u5f0f\u3067\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<br><strong>as \u4e00\u6642\u5909\u6570\u540d<\/strong><br>\u3067\u306f\u3001\u30b5\u30f3\u30d7\u30eb\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><code>try:\n    # \u30d0\u30b01\n    i = input()\n    input_num = int(i)\n    result = 5 \/ input_num # 5 \/ 2 =&gt; 2.05\n    print(result)\n\n    # \u30d0\u30b02\n    a = \"a\"\n    b = 5\n    print(a+b)\n\nexcept (TypeError, ZeroDivisionError, KeyError) as e:\n    print(type(e))\n<\/code><\/pre>\n<h2 id=\"i-3\">\u8907\u6570\u306e\u4f8b\u5916\u3092\u6355\u6349\u3059\u308b<\/h2>\n<p>\u4f8b\u5916\u306f\u3001\u8907\u6570\u306eexcept\u7bc0\u3092\u7528\u3044\u3066\u767a\u751f\u3057\u305f\u4f8b\u5916\u306b\u5fdc\u3058\u305f\u51e6\u7406\u3092\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<br>\u307e\u305f\u3001\u4e0a\u8a18\u306e\u30b5\u30f3\u30d7\u30eb\u306e\u3088\u3046\u306b\u3001()\u306b\u8907\u6570\u306e\u7a2e\u985e\u30921\u304b\u6240\u3067\u6355\u6349\u3057\u3066\u66f8\u304f\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code>try:\n    print('\u51e6\u7406')\nexcept KeyError as e:\n    print('KeyError')\nexcept ZeroDivisionError as e:\n    print('ZeroDivisionError')\nexcept:\n    print('Error')\n<\/code><\/pre>\n<h2 id=\"i-4\">else \/ finally<\/h2>\n<p>for\u3084while\u6587\u540c\u69d8\u306b\u3001try\u30d6\u30ed\u30c3\u30af\u304c\u4f8b\u5916\u3092\u767a\u751f\u305b\u305a\u306b\u6700\u5f8c\u307e\u3067\u51e6\u7406\u304c\u9032\u3093\u3060\u5834\u5408\u3001else\u30d6\u30ed\u30c3\u30af\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<br>\u307e\u305f\u3001try\u30d6\u30ed\u30c3\u30af\u304c\u4f8b\u5916\u3092\u767a\u751f\u3057\u306a\u304f\u3066\u3082\u3001\u5b9f\u884c\u3055\u308c\u308bfinally\u3082\u5b9a\u7fa9\u3067\u304d\u307e\u3059\u3002<br><strong>finally\u306f\u300c\u4f8b\u5916\u306e\u767a\u751f\u306b\u95a2\u4fc2\u306a\u304f\u6700\u5f8c\u306b\u51e6\u7406\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/strong><br>\u307e\u305f\u3001finally\u306f\u4f8b\u5916\u304c\u767a\u751f\u3057\u3066\u3082\u4f8b\u5916\u51e6\u7406\u306e\u5f8c\u306b\u5fc5\u305a\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre><code>try:\n    print('\u51e6\u7406')\nexcept KeyError as e:\n    print('KeyError')\nexcept ZeroDivisionError as e:\n    print('ZeroDivisionError')\nelse:\n    print('\u554f\u984c\u306a\u304f\u51e6\u7406\u304c\u5b9f\u884c\u3055\u308c\u307e\u3057\u305f')\nfinally:\n    print('\u51e6\u74062')\n<\/code><\/pre>\n<h2 id=\"i-5\">\u307e\u3068\u3081<\/h2>\n<p><strong>\u4f8b\u5916\u51e6\u7406\u3092\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3067\u3001\u30d0\u30b0\u306e\u51fa\u306b\u304f\u3044\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/strong><br>\u500b\u4eba\u3067\u958b\u767a\u3057\u3066\u3044\u308b\u5206\u3067\u3059\u3068\u3001\u3042\u307e\u308a\u6c17\u306b\u3057\u306a\u304f\u3066\u826f\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u5b9f\u52d9\u306e\u5834\u5408\u306f\u57fa\u672c\uff11\u3064\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u8907\u6570\u4eba\u3067\u958b\u767a\u3059\u308b\u3082\u306e\u3067\u3059\u3002<br>\u3082\u3057\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u30d0\u30b0\u304c\u3042\u308b\u3068\u3001\u4f1a\u793e\u306e\u5229\u76ca\u3092\u640d\u306a\u3046\u53ef\u80fd\u6027\u3082\u3042\u308a\u307e\u3059\u3057\u3001\u533b\u7642\u30b7\u30b9\u30c6\u30e0\u7b49\u3067\u3042\u308c\u3070\u3001\u547d\u306b\u95a2\u308f\u3063\u3066\u304d\u307e\u3059\u3002<br>\u3067\u3059\u306e\u3067\u3001\u30d0\u30b0\u306e\u5c11\u306a\u3044\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304f\u305f\u3081\u306b\u306f\u3001\u4f8b\u5916\u51e6\u7406\u3092\u4f7f\u3046\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/aiacademy.jp\/bootcamp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"341\" src=\"https:\/\/aiacademy.jp\/media\/wp-content\/uploads\/2021\/12\/bootcamp_ad_72ppi-1024x341.png\" alt=\"\" class=\"wp-image-691\" srcset=\"https:\/\/aiacademy.jp\/media\/wp-content\/uploads\/2021\/12\/bootcamp_ad_72ppi-1024x341.png 1024w, https:\/\/aiacademy.jp\/media\/wp-content\/uploads\/2021\/12\/bootcamp_ad_72ppi-300x100.png 300w, https:\/\/aiacademy.jp\/media\/wp-content\/uploads\/2021\/12\/bootcamp_ad_72ppi-768x256.png 768w, https:\/\/aiacademy.jp\/media\/wp-content\/uploads\/2021\/12\/bootcamp_ad_72ppi-940x313.png 940w, https:\/\/aiacademy.jp\/media\/wp-content\/uploads\/2021\/12\/bootcamp_ad_72ppi.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u6b21 \u4f8b\u5916\u51e6\u7406 \u4f8b\u5916\u51e6\u7406\u306e\u69cb\u6587 \u4f8b\u5916\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6355\u6349\u3059\u308b \u8907\u6570\u306e\u4f8b\u5916\u3092\u6355\u6349\u3059\u308b else \/ finally \u307e\u3068\u3081 \u4f8b\u5916\u51e6\u7406 \u4f8b\u5916\u51e6\u7406\u3068\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u3042\u308b\u51e6\u7406\u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u9014\u4e2d\u3067\u3001\u306a\u3093\u3089\u304b\u306e\u7570\u5e38\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306b\u3001\u73fe &#8230; <\/p>\n","protected":false},"author":1,"featured_media":1642,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[85,165,90,174],"tags":[],"class_list":{"0":"post-133","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-python","8":"category-165","9":"category-90","10":"category-174"},"_links":{"self":[{"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=\/wp\/v2\/posts\/133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=133"}],"version-history":[{"count":7,"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=\/wp\/v2\/posts\/133\/revisions"}],"predecessor-version":[{"id":4847,"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=\/wp\/v2\/posts\/133\/revisions\/4847"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=\/wp\/v2\/media\/1642"}],"wp:attachment":[{"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}