{"id":3638,"date":"2013-10-29T06:13:28","date_gmt":"2013-10-28T21:13:28","guid":{"rendered":"http:\/\/www.vincentina.net\/?p=3638"},"modified":"2017-09-08T03:44:39","modified_gmt":"2017-09-07T18:44:39","slug":"python%e5%85%a5%e9%96%80%e3%81%97%e3%81%a6%e3%81%bf%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.vincentina.net\/?p=3638","title":{"rendered":"Python\u5165\u9580\u3057\u3066\u307f\u308b"},"content":{"rendered":"<p><span style=\"font-size: x-large;\">\u203b<\/span>Python\u5165\u9580\u3063\u3066\u30bf\u30a4\u30c8\u30eb\u3067\u3059\u304c\u3001Python\u306eHowTo\u30da\u30fc\u30b8\u3067\u306f\u306a\u304f\u3001\u305f\u3051\u3051\u3093\u304cPython\u3092\u52c9\u5f37\u3059\u308b\u7121\u5e38\u306a\u65e5\u5e38\u3092\u305f\u3093\u305f\u3093\u3068\u66f8\u3044\u3066\u3044\u3053\u3046\u3068\u3044\u3046\u5185\u5bb9\u306a\u306e\u3067\u3001\u5206\u5c90\u306e\u4ed5\u65b9\u3001\u30eb\u30fc\u30d7\u306e\u4ed5\u65b9\u3060\u3063\u305f\u308a\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u898b\u305f\u3089\u3067\u304d\u308b\u30b0\u30eb\u30fc\u30d7\u306e\u4eba\u306b\u306f\u5411\u3044\u3066\u306a\u3044\u5185\u5bb9\u306b\u306a\u308b\u306e\u3067\u3042\u3057\u304b\u3089\u305a\u3002<\/p>\n<p>\u65e5\u8a18\u306e\u5185\u5bb9\u306f\u307e\u3044\u3069\u306e\u81ea\u5df1\u4e2d\u306a\u3082\u306e\u3060\u304c\u3001\u3053\u3053\u3092\u898b\u306a\u304c\u3089\u304a\u3044\u3089\u3082\u4e00\u7dd2\u306b\u3084\u308d\u3046\u3068\u601d\u3063\u3066\u3057\u307e\u3063\u305f\u4eba\u3082\u5c45\u308b\u3068\u601d\u3046\u306e\u3067\u3001\u305d\u308c\u306b\u305b\u3063\u304b\u304f\u30a2\u30c3\u30d7\u3059\u308b\u306e\u3060\u304b\u3089\u53c2\u8003\u306b\u306a\u308b\u4eba\u304c\u5c45\u308c\u3070\u5e78\u3044\u3060\u3002<\/p>\n<p>\u307e\u305a\u306fPython\u3092\u5229\u7528\u3067\u304d\u308b\u74b0\u5883\u306e\u4f5c\u308a\u304b\u305f\u304b\u3089\u3060\u3051\u3069\u3001\u30fb\u30fb\u30fb\u305f\u3051\u3051\u3093\u306f\u65e2\u306b\u74b0\u5883\u306f\u51fa\u6765\u4e0a\u304c\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u74b0\u5883\u3092\u4f5c\u308b\u305f\u3081\u306e\u30ea\u30f3\u30af\u3092\u8f09\u305b\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u3001\u3042\u306a\u305f\u304c\u4f7f\u3063\u3066\u3044\u308b\u30d1\u30bd\u30b3\u30f3\u304cWindows\u306a\u3089VMwarePlayer\u3068CentOS\u3092\u7528\u610f\u3057\u3088\u3046\u3002\u3068\u3001\u82f1\u8a9e\u306e\u30b5\u30a4\u30c8\u3092\u7ffb\u8a33\u3057\u305f\u98a8\u306b\u66f8\u3044\u3066\u307f\u308b\u3002\uff08Windows\u304b\u3089Python\u3092\u4f7f\u3044\u305f\u3044\u4eba\u306f\u8272\u3005\u306a\u610f\u5473\u3067\u5225\u306e\u30da\u30fc\u30b8\u304c\u3044\u3044\u304b\u3082\u3002\uff09<\/p>\n<p>VMware\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u53c2\u8003\u30b5\u30a4\u30c8<\/p>\n<p><a title=\"Groove Labo\" href=\"http:\/\/labo.opengroove.com\/blog\/\" rel=\"home\">Groove Labo<br \/>\n<\/a><a href=\"http:\/\/labo.opengroove.com\/blog\/2013\/09\/26\/vmware-player%E3%81%AE%E5%B0%8E%E5%85%A5%E3%81%8B%E3%82%89os%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%ABsysprep%E3%81%BE%E3%81%A7%E3%81%AE%E3%83%81%E3%83%A5%E3%83%BC%E3%83%88%E3%83%AA\/\" target=\"_blank\">VMware Player\u306e\u5c0e\u5165\u304b\u3089OS\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a><\/p>\n<p>VMware\u304c\u7528\u610f\u3067\u304d\u305f\u3089\u3001Linux\u3092\u6e96\u5099\u3057\u3088\u3046\u3002<br \/>\nCentOS\u3067\u3044\u3044\u304b\u306a\u3068\u601d\u3046\u3002<\/p>\n<p>CentOS\u3092\u7528\u610f\u3059\u308b\u53c2\u8003\u30b5\u30a4\u30c8<\/p>\n<p><a href=\"http:\/\/www.infraeye.com\/\" target=\"_blank\">\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a8\u30f3\u30b8\u30cb\u30a2\u3068\u3057\u3066\uff1a\u30d6\u30ed\u30b0\u7248<br \/>\n<\/a><a href=\"http:\/\/www.infraeye.com\/study\/linux3.html\" target=\"_blank\">CentOS Install to VMware Player<\/a><\/p>\n<p>\u30ea\u30f3\u30af\u5148\u306e\u30a2\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u78ba\u8a8d\u306f\u5168\u304f\u3084\u3063\u3066\u306a\u3044\u306e\u3067\u3061\u3087\u3063\u3068\u9055\u3046\u304b\u3063\u305f\u3089\u3054\u3081\u3093\u3002<br \/>\n\u3067\u3082\u3001\u305f\u3076\u3093\u3044\u3051\u308b\u304b\u306a\u3002<br \/>\n\u7d42\u308f\u3089\u305b\u308c\u305f\u3089\u4e0b\u6e96\u5099\u306f\u6574\u3063\u305f\u306f\u305a\u3002<\/p>\n<p>VMware\uff1eCentOS\u3068\u8d77\u52d5\u3057\u3066\u3001Windows\u307f\u305f\u3044\u306a\u753b\u9762\u304c\u51fa\u3066\u304d\u305f\u4eba\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\uff1e\u30a2\u30af\u30bb\u30b5\u30ea\uff1e\u7aef\u672b\u3068\u8d77\u52d5\u3057\u3088\u3046\u3002<br \/>\n\u8d77\u52d5\u304c\u7d42\u308f\u3063\u3066\u9ed2\u3044\u753b\u9762\u306e\u4eba\u306f\u305d\u306e\u307e\u307e\u9032\u3081\u3088\u3046\u3002<\/p>\n<p>\u306a\u3093\u3067\u307e\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3084\u308b\u3093\u3060\u3068\u304b\u3001\u56fa\u3044\u8a71\u306f\u629c\u304d\u306b\u3057\u3088\u3046\u3002<\/p>\n<p>\u3067\u306f\u3053\u3053\u304b\u3089\u306f\u3058\u307e\u308a\uff5e\u3002<\/p>\n<p>Python\u304c\u3069\u3093\u306a\u3082\u306e\u304b\u3092\u77e5\u308b\u70ba\u306b\u6b21\u306e\u30da\u30fc\u30b8\u3078\u884c\u3063\u305f\u3002<br \/>\n\u3042\u306a\u305f\u3082\u3068\u308a\u3042\u3048\u305a\u6b21\u306e\u30da\u30fc\u30b8\u3092\u5168\u90e8\u8aad\u3080\u3079\u3057\u3002<\/p>\n<p>\u53c2\u8003\u30b5\u30a4\u30c8<br \/>\n\u65e5\u672cPython\u30e6\u30fc\u30b6\u4f1a<br \/>\n<a href=\"http:\/\/www.python.jp\/Zope\/Zope\/intro\/instant_hacking_jp\" target=\"_blank\"><strong>Magnus Lie Hetland<\/strong>\u3000\u30a4\u30f3\u30b9\u30bf\u30f3\u30c8\u30cf\u30c3\u30ad\u30f3\u30b0<\/a><\/p>\n<p>\u305f\u3051\u3051\u3093\u306f\u76ee\u7684\u304c\u306a\u3044\u3068\u306a\u304b\u306a\u304b\u52d5\u3051\u306a\u3044\u6027\u8cea\u306a\u306e\u3067\u3001\u307e\u305a\u306f\u3053\u3053\u306e\u30b5\u30a4\u30c8\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30da\u3058\u3083\u306a\u304f\u3066\u624b\u6253\u3061\u3067\u66f8\u3044\u3066\u3001\u305d\u308c\u3092\u3068\u308a\u3042\u3048\u305a\u5b9f\u884c\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u3092\u3084\u3063\u305f\u3002<\/p>\n<p>\u3067\u306f\u3084\u3063\u305f\u3053\u3068\u304c\u306a\u3044\u4eba\u5411\u3051\u306b\u3069\u3046\u3084\u308c\u3070\u5b9f\u884c\u3067\u304d\u308b\u306e\u304b\u3060\u3051\u306f\u66f8\u3044\u3066\u307f\u308b\u3002<\/p>\n<pre>vi kadai01.py\ni \u30ad\u30fc\u3092\u62bc\u3057\u3066\nprint \"Hello, world!\"\nESC\u30ad\u30fc\u3092\u62bc\u3057\u3066 :wq \u3067\u4fdd\u5b58\u3057\u3066\u7d42\u4e86\u3002\npython kadai01.py<\/pre>\n<p>\u3053\u308c\u3067\u3046\u307e\u304f\u3044\u3063\u3066\u305f\u3089 Hello, world! \u3068\u8868\u793a\u3055\u308c\u305f\u306f\u305a\u3001\u3053\u3093\u306a\u611f\u3058\u306b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3069\u3093\u3069\u3093\u8aad\u307f\u9032\u3081\u3088\u3046\u3002<br \/>\n\u4f59\u8ac7\u3060\u3051\u3069\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3060\u3051\u3067\u5b9f\u884c\u3057\u305f\u3044\u3063\u3066\u4eba\u306f kadai01.py \u306e\u3042\u305f\u307e\u306b<\/p>\n<pre>#!\/usr\/bin\/python<\/pre>\n<p>\u3068\u66f8\u304f\u3002\u65e5\u672c\u8a9e\u3092\u8868\u793a\u3001\u307e\u305f\u306f\u4f7f\u3044\u305f\u304b\u3063\u305f\u3089<\/p>\n<pre># coding: utf-8<\/pre>\n<p>\u3068\u66f8\u304f\u3068\u30a8\u30e9\u30fc\u304c\u51fa\u306a\u3044\u3002<br \/>\n\u610f\u5473\u304c\u5206\u304b\u3089\u3093\u4eba\u306f\u3057\u306a\u304f\u3066\u3082\u3044\u3044\u3088\u3002<\/p>\n<p>\u3068\u3044\u3046\u4e8b\u3067\u3001\u53c2\u8003\u30b5\u30a4\u30c8\u306e\u8aac\u660e\u3092\u8aad\u307f\u306a\u304c\u3089\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u306a\u304c\u3089\u9032\u3081\u3066\u3044\u304f\u3068\u306a\u3093\u3068\u306a\u30fc\u304f\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3068\u3044\u3046\u3082\u306e\u306e\u8d85\u57fa\u672c\u7684\u306a\u3068\u3053\u308d\u306f\u5206\u304b\u3063\u3066\u304f\u308b\u3068\u601d\u3046\u3002<br \/>\n\u81ea\u5206\u306e\u5834\u5408\u306f\u601d\u3044\u51fa\u3057\u3066\u304f\u308b\u3063\u3066\u8a00\u3044\u65b9\u304c\u3044\u3044\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n<p>\u8aad\u307f\u9032\u3081\u3066\u3044\u304f\u3068\u7df4\u7fd2\u554f\u984c2\u500b\u307b\u3069\u304c\u51fa\u3066\u304f\u308b\u306e\u3067\u3001\u305d\u308c\u3092\u3084\u3063\u3066\u307f\u3088\u3046\u3002<br \/>\n\u305f\u3051\u3051\u3093\u3082\u3084\u3063\u3066\u307f\u305f\u3002<br \/>\n\u5f53\u305f\u308a\u524d\u3060\u3051\u3069\u3001\u307e\u305a\u306f\u81ea\u5206\u3067\u3084\u3063\u3066\u307f\u308b\u306e\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<br \/>\n\u4e0b\u306b\u9032\u3080\u3068\u30cd\u30bf\u30d0\u30ec\u306b\u306a\u308b\u306e\u3067\u6ce8\u610f\u3060\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>1\u554f\u76ee<br \/>\n\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u7d9a\u3051\u3066\u6570\u5b57\u306e\u5165\u529b\u3092\u53d7\u3051\u4ed8\u3051\u3001\u5408\u8a08\u304c100\u306b\u8fd1\u4ed8\u304f\u307e\u3067\u305d\u306e\u6570\u5b57 \u3092\u8db3\u3057\u7d9a\u3051\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304d\u306a\u3055\u3044\u3002\u305d\u308c\u3068\u306f\u5225\u306b\u3001\u30e6\u30fc\u30b6\u30fc\u304b\u3089100\u500b\u306e \u6570\u5b57\u3092\u53d7\u3051\u4ed8\u3051\u5408\u8a08\u3092\u8868\u793a\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304d\u306a\u3055\u3044\u3002<br \/>\n\u203b2\u500b\u76ee\u306f\u9577\u304f\u306a\u308b\u306e\u306710\u500b\u306e\u6570\u5b57\u306b\u3057\u305f\u3002<\/p>\n<pre>#!\/usr\/bin\/python\n# coding: utf-8\n\n# \u6570\u5b57\u3092\u5165\u308c\u308b\nkazu = input(\"\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; \")\n\nwhile kazu &lt; 100:\n\u00a0\u00a0\u00a0 kazu += input(\"\u3082\u3063\u3068\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; \")\n\nprint \"\u5165\u529b\u3057\u305f\u6570\u306e\u5408\u8a08\u306f\",kazu,\"\u3067\u3059\"<\/pre>\n<pre># kadai01.py \n\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; 10\n\u3082\u3063\u3068\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; 20\n\u3082\u3063\u3068\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; 30\n\u3082\u3063\u3068\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; 40\n\u5165\u529b\u3057\u305f\u6570\u306e\u5408\u8a08\u306f 100 \u3067\u3059<\/pre>\n<pre>#!\/usr\/bin\/python\n# coding: utf-8\n\nhako = 0\n\n# \u6570\u5b57\u3092\u5165\u308c\u308b\nkazu = input(\"\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; \")\n\nwhile hako &lt; 10:\n\u00a0\u00a0\u00a0 kazu += int(input(\"\u3082\u3063\u3068\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; \"))\n\u00a0\u00a0\u00a0 hako += 1\n\nprint \"\u5165\u529b\u3057\u305f\u6570\u306e\u5408\u8a08\u306f\",kazu,\"\u3067\u3059\"<\/pre>\n<pre># kadai02.py \n\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; 1\n\u3082\u3063\u3068\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; 2\n\u3082\u3063\u3068\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; 3\n\u3082\u3063\u3068\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; 4\n\u3082\u3063\u3068\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; 5\n\u3082\u3063\u3068\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; 6\n\u3082\u3063\u3068\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; 7\n\u3082\u3063\u3068\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; 8\n\u3082\u3063\u3068\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; 9\n\u3082\u3063\u3068\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; 10\n\u5165\u529b\u3057\u305f\u6570\u306e\u5408\u8a08\u306f 55 \u3067\u3059<\/pre>\n<p>\u3053\u308c\u3067\u3082\u5b8c\u5168\u3058\u3083\u306a\u304f\u3066\u3001\u89e3\u306f\u3067\u308b\u3093\u3060\u3051\u3069\u7a7a\u767d\u3092\u5165\u308c\u305f\u308a\u6570\u4ee5\u5916\u3092\u5165\u308c\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3061\u3083\u3046\u3068\u3053\u304c\u30af\u30ea\u30a2\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u3059\u3002<br \/>\n\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u3092\u5165\u308c\u308b\u3068<\/p>\n<pre># .\/kadai.py \n\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; a\nTraceback (most recent call last):\n\u00a0 File \".\/kadai.py\", line 5, in &lt;module&gt;\n\u00a0\u00a0\u00a0 kazu = input(\"\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; \") \n\u00a0 File \"&lt;string&gt;\", line 1, in &lt;module&gt;\nNameError: name 'a' is not defined<\/pre>\n<p>\u7a7a\u767d\u3092\u5165\u308c\u308b\u3068<\/p>\n<pre># .\/kadai.py \n\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; \nTraceback (most recent call last):\n\u00a0 File \".\/kadai.py\", line 5, in &lt;module&gt;\n\u00a0\u00a0\u00a0 kazu = input(\"\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u308c\u3066\u306d -&gt; \") \n\u00a0 File \"&lt;string&gt;\", line 0\n\n\u00a0\u00a0\u00a0 ^\nSyntaxError: unexpected EOF while parsing<\/pre>\n<p>\u3046\u30fc\u3093\u3002\u306a\u304b\u306a\u304b\u4e0a\u624b\u304f\u3044\u304b\u306a\u3044\u3082\u3093\u3060\u3002<\/p>\n<p>2\u554f\u76ee<br \/>\n\u30e6\u30fc\u30af\u30ea\u30c3\u30c9\u306e\u4e92\u9664\u6cd5\u306b\u3088\u3063\u30662\u500b\u306e\u6570\u306e\u6700\u5927\u516c\u7d04\u6570\u3092\u6c42\u3081\u308b\u95a2\u6570\u3092\u66f8\u304d\u306a\u3055 \u3044\u3002\u89e3\u306f\u6b21\u306e\u624b\u9806\u3067\u6c42\u3081\u307e\u3059\u3002<br \/>\n1\uff0e2\u500b\u306e\u6570\u3092\u7528\u610f\u3057\u3001\u305d\u308c\u3092a\u3068b\u3068\u3059\u308b\u3002a\u306fb\u3088\u308a\u5927\u304d\u3044\u3082\u306e\u3068\u3059\u308b\u3002<br \/>\n2.\u3000\u6b21\u306e\u64cd\u4f5c\u3092b\u304c0\u306b\u306a\u308b\u307e\u3067\u7e70\u308a\u8fd4\u3059\u3002<br \/>\n1\uff0ea\u306bb\u306e\u5024\u3092\u4ee3\u5165\u3059\u308b\u3002<br \/>\n2\uff0eb\u306b(1.\u3092\u3059\u308b\u524d\u306e)a\u3092b\u3067\u5272\u3063\u305f\u4f59\u308a\u306e\u5024\u3092\u4ee3\u5165\u3059\u308b\u3002<br \/>\n3\uff0e\u6700\u7d42\u7684\u306aa\u306e\u5024\u3092\u8fd4\u3059\u3002<\/p>\n<pre>#!\/usr\/bin\/python\n# coding: utf-8\n\ndef keisan(a,b):\n\u00a0 if a &gt; b:\n\u00a0\u00a0\u00a0 while b != 0:\n\u00a0\u00a0\u00a0\u00a0\u00a0 r = a\n\u00a0\u00a0\u00a0\u00a0\u00a0 a = b\n\u00a0\u00a0\u00a0\u00a0\u00a0 b = r % b\n\n\u00a0\u00a0\u00a0 return a\n\n\u00a0 else:\n\u00a0\u00a0\u00a0\u00a0\u00a0 print \"A\u306b\u306fB\u3088\u308a\u5927\u304d\u3044\u6570\u5b57\u3092\u5165\u308c\u3066\u4e0b\u3055\u3044\u3002\"\n\u00a0\u00a0\u00a0\u00a0\u00a0 exit()\n\na = input(\"a ? \")\nb = input(\"b ? \")\n\nc = keisan(a,b)\n\nprint a,\"\u3068\",b,\"\u306e\u6700\u5927\u516c\u7d04\u6570\u306f\",c,\"\u3067\u3059\u3002\"<\/pre>\n<pre># kadai03.py \na ? 180\nb ? 72\n180 \u3068 72 \u306e\u6700\u5927\u516c\u7d04\u6570\u306f 36 \u3067\u3059\u3002<\/pre>\n<p>\u3069\u3046\u3067\u3057\u305f\u304b\u3001\u96e3\u3057\u304b\u3063\u305f\u3067\u3059\u304b\uff1f<br \/>\n1\u884c\u3067\u3067\u304d\u305f\uff01\u3068\u304b\u3001\u3082\u3063\u3068\u77ed\u304f\u3067\u304d\u305f\u3063\u3066\u4eba\u306f\u30bb\u30f3\u30b9\u304c\u3042\u308b\u3068\u601d\u3046\u306e\u3067\u3082\u3063\u3068\u3082\u3063\u3068\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u304c\u3093\u3070\u3063\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\u305f\u3051\u3051\u3093\u3068\u540c\u3058\u304f\u51e1\u4eba\u306e\u4eba\u3082\u3082\u3063\u3068\u3082\u3063\u3068\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u4e00\u7dd2\u306b\u9811\u5f35\u308a\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u6b21\u56de\u304b\u3089\u306f\u6700\u521d\u304b\u3089\u554f\u984c\u3092\u3068\u3044\u3066\u3044\u304f\u611f\u3058\u3067\u9032\u3081\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<div class='wp_social_bookmarking_light'>        <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.vincentina.net\/?p=3638\" data-text=\"Python\u5165\u9580\u3057\u3066\u307f\u308b\" data-via=\"TakekenTw\" data-lang=\"ja\">Tweet<\/a><\/div><\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>\u203bPython\u5165\u9580\u3063\u3066\u30bf\u30a4\u30c8\u30eb\u3067\u3059\u304c\u3001Python\u306eHowTo\u30da\u30fc\u30b8\u3067\u306f\u306a\u304f\u3001\u305f\u3051\u3051\u3093\u304cPython\u3092\u52c9\u5f37\u3059\u308b\u7121\u5e38\u306a\u65e5\u5e38\u3092\u305f\u3093\u305f\u3093\u3068\u66f8\u3044\u3066\u3044\u3053\u3046\u3068\u3044\u3046\u5185\u5bb9\u306a\u306e\u3067\u3001\u5206\u5c90\u306e\u4ed5\u65b9\u3001\u30eb\u30fc\u30d7\u306e\u4ed5\u65b9\u3060\u3063\u305f\u308a\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u898b\u305f\u3089\u3067 &hellip; <a href=\"https:\/\/www.vincentina.net\/?p=3638\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Python\u5165\u9580\u3057\u3066\u307f\u308b&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[106],"tags":[],"class_list":["post-3638","post","type-post","status-publish","format-standard","hentry","category-programming"],"_links":{"self":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts\/3638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3638"}],"version-history":[{"count":0,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts\/3638\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3638"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}