{"id":1251,"date":"2019-04-02T00:39:17","date_gmt":"2019-04-01T15:39:17","guid":{"rendered":"https:\/\/blog.minatoproject.com\/?p=1251"},"modified":"2020-02-07T22:43:54","modified_gmt":"2020-02-07T13:43:54","slug":"python%e3%81%ae%e5%8d%98%e4%bd%93%e3%83%86%e3%82%b9%e3%83%88%e3%82%92%e6%9b%b8%e3%81%8f","status":"publish","type":"post","link":"https:\/\/blog.minatoproject.com\/?p=1251","title":{"rendered":"Python\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u66f8\u304f"},"content":{"rendered":"<div class=\"veu_autoEyeCatchBox\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/blog.minatoproject.com\/wp-content\/uploads\/2019\/04\/20190402_eyecatch-1024x576.png\" class=\"attachment-large size-large wp-post-image\" alt=\"\" srcset=\"https:\/\/blog.minatoproject.com\/wp-content\/uploads\/2019\/04\/20190402_eyecatch-1024x576.png 1024w, https:\/\/blog.minatoproject.com\/wp-content\/uploads\/2019\/04\/20190402_eyecatch-300x169.png 300w, https:\/\/blog.minatoproject.com\/wp-content\/uploads\/2019\/04\/20190402_eyecatch-768x432.png 768w, https:\/\/blog.minatoproject.com\/wp-content\/uploads\/2019\/04\/20190402_eyecatch-320x180.png 320w, https:\/\/blog.minatoproject.com\/wp-content\/uploads\/2019\/04\/20190402_eyecatch.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/div>\n<p class=\"wp-block-paragraph\">\u4e16\u9593\u306f\u65b0\u5143\u53f7\u304c\u767a\u8868\u3055\u308c\u307e\u3057\u305f\u304c\u305d\u308c\u306f\u305d\u3046\u3068\u3057\u3066\u4eca\u56de\u306f <code>unittest<\/code> \u3068\u3044\u3046Python\u6a19\u6e96\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u5229\u7528\u3057\u3066\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u66f8\u3044\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30c6\u30b9\u30c8\u5bfe\u8c61<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">FizzBuzz\u3068\u3044\u3046\u30d3\u30ae\u30ca\u30fc\u958b\u767a\u8005\u306b\u3042\u308a\u304c\u3061\u306a\u8ab2\u984c\u3092\u96d1\u306b\u66f8\u304d\u4e0b\u3057\u305f\u3082\u306e\u3067\u3059\u30023\u306e\u500d\u6570\u3067Fizz\u3092\u30015\u306e\u500d\u6570\u3067Buzz\u3092\u3001\u516c\u500d\u6570\u3067FizzBuzz\u3068\u3044\u3046\u6587\u5b57\u5217\u3092\u51fa\u529b\u3059\u308b\u3068\u3044\u3046\u30a2\u30ec\u3067\u3059\u306d\u3002\u30a4\u30e1\u30fc\u30b8\u6e67\u304b\u306a\u3044\u65b9\u306f\u30ca\u30d9\u30a2\u30c4\u306e3\u306e\u4ed8\u304f\u6570\u5b57\u30683\u306e\u500d\u6570\u3067\u30d0\u30ab\u306b\u306a\u308b\u30cd\u30bf\u3092\u601d\u3044\u6d6e\u304b\u3079\u3066\u3044\u305f\u3060\u3051\u308c\u3070\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-file=\"fizzbuzz.py\" data-lang=\"Python\"><code>def fizzbuzz(number):\n    &quot;&quot;&quot;\n    3\u306e\u500d\u6570\u306a\u3089Fizz\u30015\u306e\u500d\u6570\u306a\u3089Buzz\u300115\u306e\u500d\u6570\u306a\u3089FizzBuzz\u3092\u51fa\u529b\u3059\u308b\n    Parameters\n    ----------\n    number : int\n        \u6570\u5024\n    \n    Returns\n    -------\n    ret : str, int\n        \u500d\u6570\u306b\u5bfe\u5fdc\u3059\u308b\u6587\u5b57\u5217\u3001\u3082\u3057\u304f\u306f\u5165\u529b\u3055\u308c\u305f\u6570\u5024\u305d\u306e\u3082\u306e\n    &quot;&quot;&quot;\n    if type(number) != int:\n        raise TypeError\n    if number % 15 == 0:\n        return &quot;FizzBuzz&quot;\n    if number % 5 == 0:\n        return &quot;Buzz&quot;\n    if number % 3 == 0:\n        return &quot;Fizz&quot;\n\n    return number\n\n\nif __name__ == &quot;__main__&quot;:\n    for i in range(1, 101):\n        print(fizzbuzz(i))<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b7\u30f3\u30d7\u30eb\u306b\u901a\u5e38\u306e\u6570\u5024\u3092\u8fd4\u3059\u30b1\u30fc\u30b9\u3068Fizz\u3001Buzz\u3001FizzBuzz\u305d\u308c\u305e\u308c\u3092\u8fd4\u3059\u30b1\u30fc\u30b9\u3001\u3042\u3068\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u6570\u5024\u4ee5\u5916\u304c\u6e21\u3055\u308c\u305f\u4f8b\u5916\u30cf\u30f3\u30c9\u30eb\u306e\u30b1\u30fc\u30b9\u3082\u66f8\u3044\u3066\u307f\u307e\u3059\u3002 <code>exit=False<\/code> \u3068\u3057\u3066\u3044\u308b\u306e\u306fVSCode\u3067\u30c7\u30d0\u30c3\u30b0\u3057\u305f\u6642\u306b\u554f\u7b54\u7121\u7528\u3067\u7570\u5e38\u7d42\u4e86\u3059\u308b\u306e\u304c\u6c17\u6301\u3061\u60aa\u304b\u3063\u305f\u3068\u3044\u3046\u7cbe\u795e\u5b89\u5b9a\u5264\u7684\u306a\u610f\u5473\u5408\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-file=\"test_fizzbuzz.py\" data-lang=\"Python\"><code>import unittest\nfrom src.fizzbuzz import fizzbuzz\n\nclass FizzBuzzTest(unittest.TestCase):\n    &quot;&quot;&quot;\n    FizzBuzz\u306e\u30c6\u30b9\u30c8\u30af\u30e9\u30b9\n    &quot;&quot;&quot;\n    def setUp(self):\n        &quot;&quot;&quot;\n        \u30c6\u30b9\u30c8\u30d5\u30a3\u30af\u30b9\u30c1\u30e3\u306e\u6e96\u5099\u306e\u305f\u3081\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u30e1\u30bd\u30c3\u30c9\n        &quot;&quot;&quot;\n        return super().setUp()\n\n    def tearDown(self):\n        &quot;&quot;&quot;\n        \u30c6\u30b9\u30c8\u30e1\u30bd\u30c3\u30c9\u304c\u5b9f\u884c\u3055\u308c\u3001\u7d50\u679c\u304c\u8a18\u9332\u3055\u308c\u305f\u76f4\u5f8c\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u30e1\u30bd\u30c3\u30c9\n        &quot;&quot;&quot;\n        return super().tearDown()\n\n    def test_normal(self):\n        &quot;&quot;&quot;\n        \u6570\u5b57\u3092\u8fd4\u3059\u30b1\u30fc\u30b9\n        &quot;&quot;&quot;\n        self.assertEqual(1, fizzbuzz(1))\n\n    def test_fizz(self):\n        &quot;&quot;&quot;\n        Fizz\u3092\u8fd4\u3059\u30b1\u30fc\u30b9\n        &quot;&quot;&quot;\n        self.assertEqual(&quot;Fizz&quot;, fizzbuzz(3))\n\n    def test_buzz(self):\n        &quot;&quot;&quot;\n        Buzz\u3092\u8fd4\u3059\u30b1\u30fc\u30b9\n        &quot;&quot;&quot;\n        self.assertEqual(&quot;Buzz&quot;, fizzbuzz(5))\n\n    def test_fizzbuzz(self):\n        &quot;&quot;&quot;\n        FizzBuzz\u3092\u8fd4\u3059\u30b1\u30fc\u30b9\n        &quot;&quot;&quot;\n        self.assertEqual(&quot;FizzBuzz&quot;, fizzbuzz(15))\n\n    def test_typeerror(self):\n        &quot;&quot;&quot;\n        TypeError\u3092\u8fd4\u3059\u30b1\u30fc\u30b9\n        &quot;&quot;&quot;\n        with self.assertRaises(TypeError):\n            fizzbuzz(&quot;abc&quot;)\n\n\nif __name__ == &quot;__main__&quot;:\n    unittest.main(exit=False)<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3067\u3001\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism off-numbers lang-plane\"><code>$ python -m unittest discover tests --verbose\ntest_buzz (test_fizzbuzz.FizzBuzzTest) ... ok\ntest_fizz (test_fizzbuzz.FizzBuzzTest) ... ok\ntest_fizzbuzz (test_fizzbuzz.FizzBuzzTest) ... ok\ntest_normal (test_fizzbuzz.FizzBuzzTest) ... ok\ntest_typeerror (test_fizzbuzz.FizzBuzzTest) ... ok\n\n----------------------------------------------------------------------\nRan 5 tests in 0.000s\n\nOK<\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4e16\u9593\u306f\u65b0\u5143\u53f7\u304c\u767a\u8868\u3055\u308c\u307e\u3057\u305f\u304c\u305d\u308c\u306f\u305d\u3046\u3068\u3057\u3066\u4eca\u56de\u306f unittest \u3068\u3044\u3046Python\u6a19\u6e96\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u5229\u7528\u3057\u3066\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u66f8\u3044\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u30c6\u30b9\u30c8\u5bfe\u8c61 FizzBuzz\u3068\u3044\u3046\u30d3\u30ae\u30ca\u30fc\u958b\u767a\u8005\u306b\u3042\u308a\u304c\u3061\u306a\u8ab2\u984c\u3092 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1590,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","vkExUnit_EyeCatch_disable":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","_lightning_design_setting":[],"footnotes":""},"categories":[6],"tags":[],"class_list":["post-1251","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"minato\"\/>\n\t<meta name=\"google-site-verification\" content=\"UUjduCY_ZNcQEzPURjRy7yvqSwwNBwoD3aPYPW31TnM\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/blog.minatoproject.com\/?p=1251\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"minato project\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Python\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u66f8\u304f | minato project\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/blog.minatoproject.com\/?p=1251\" \/>\n\t\t<meta property=\"fb:app_id\" content=\"532831333820969\" \/>\n\t\t<meta property=\"fb:admins\" content=\"100023392422029\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/blog.minatoproject.com\/wp-content\/uploads\/2019\/04\/20190402_eyecatch.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/blog.minatoproject.com\/wp-content\/uploads\/2019\/04\/20190402_eyecatch.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-04-01T15:39:17+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-07T13:43:54+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@icecreamlegjob\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Python\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u66f8\u304f | minato project\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/blog.minatoproject.com\/wp-content\/uploads\/2019\/04\/20190402_eyecatch.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/?p=1251#article\",\"name\":\"Python\\u306e\\u5358\\u4f53\\u30c6\\u30b9\\u30c8\\u3092\\u66f8\\u304f | minato project\",\"headline\":\"Python\\u306e\\u5358\\u4f53\\u30c6\\u30b9\\u30c8\\u3092\\u66f8\\u304f\",\"author\":{\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/blog.minatoproject.com\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/20190402_eyecatch.png\",\"width\":1280,\"height\":720},\"datePublished\":\"2019-04-02T00:39:17+09:00\",\"dateModified\":\"2020-02-07T22:43:54+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/?p=1251#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/?p=1251#webpage\"},\"articleSection\":\"Python\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/?p=1251#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.minatoproject.com#listItem\",\"position\":1,\"name\":\"\\u30db\\u30fc\\u30e0\",\"item\":\"https:\\\/\\\/blog.minatoproject.com\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/?cat=6#listItem\",\"name\":\"Python\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/?cat=6#listItem\",\"position\":2,\"name\":\"Python\",\"item\":\"https:\\\/\\\/blog.minatoproject.com\\\/?cat=6\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/?p=1251#listItem\",\"name\":\"Python\\u306e\\u5358\\u4f53\\u30c6\\u30b9\\u30c8\\u3092\\u66f8\\u304f\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.minatoproject.com#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/?p=1251#listItem\",\"position\":3,\"name\":\"Python\\u306e\\u5358\\u4f53\\u30c6\\u30b9\\u30c8\\u3092\\u66f8\\u304f\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/?cat=6#listItem\",\"name\":\"Python\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/#person\",\"name\":\"minato\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/?p=1251#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2c7aa1ea41f01c286e646af94a932291edf8b30d48953e798bcf19dacefbf821?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"minato\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/?author=1#author\",\"url\":\"https:\\\/\\\/blog.minatoproject.com\\\/?author=1\",\"name\":\"minato\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/?p=1251#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2c7aa1ea41f01c286e646af94a932291edf8b30d48953e798bcf19dacefbf821?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"minato\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/?p=1251#webpage\",\"url\":\"https:\\\/\\\/blog.minatoproject.com\\\/?p=1251\",\"name\":\"Python\\u306e\\u5358\\u4f53\\u30c6\\u30b9\\u30c8\\u3092\\u66f8\\u304f | minato project\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/?p=1251#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/?author=1#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/blog.minatoproject.com\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/20190402_eyecatch.png\",\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/?p=1251\\\/#mainImage\",\"width\":1280,\"height\":720},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/?p=1251#mainImage\"},\"datePublished\":\"2019-04-02T00:39:17+09:00\",\"dateModified\":\"2020-02-07T22:43:54+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/#website\",\"url\":\"https:\\\/\\\/blog.minatoproject.com\\\/\",\"name\":\"minato project\",\"description\":\"\\u30a2\\u30cb\\u30e1\\u597d\\u304d\\u306e\\u30b7\\u30b9\\u30c6\\u30e0\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2\\u304c\\u5f92\\u7136\\u306a\\u308b\\u307e\\u307e\\u306b\\u81ea\\u5206\\u8a9e\\u308a\\u3059\\u308b\\u3060\\u3051\\u306e\\u30d6\\u30ed\\u30b0\\u3067\\u3059\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.minatoproject.com\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Python\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u66f8\u304f | minato project","description":"","canonical_url":"https:\/\/blog.minatoproject.com\/?p=1251","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"UUjduCY_ZNcQEzPURjRy7yvqSwwNBwoD3aPYPW31TnM","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.minatoproject.com\/?p=1251#article","name":"Python\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u66f8\u304f | minato project","headline":"Python\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u66f8\u304f","author":{"@id":"https:\/\/blog.minatoproject.com\/?author=1#author"},"publisher":{"@id":"https:\/\/blog.minatoproject.com\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/blog.minatoproject.com\/wp-content\/uploads\/2019\/04\/20190402_eyecatch.png","width":1280,"height":720},"datePublished":"2019-04-02T00:39:17+09:00","dateModified":"2020-02-07T22:43:54+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/blog.minatoproject.com\/?p=1251#webpage"},"isPartOf":{"@id":"https:\/\/blog.minatoproject.com\/?p=1251#webpage"},"articleSection":"Python"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.minatoproject.com\/?p=1251#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/blog.minatoproject.com#listItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/blog.minatoproject.com","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.minatoproject.com\/?cat=6#listItem","name":"Python"}},{"@type":"ListItem","@id":"https:\/\/blog.minatoproject.com\/?cat=6#listItem","position":2,"name":"Python","item":"https:\/\/blog.minatoproject.com\/?cat=6","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.minatoproject.com\/?p=1251#listItem","name":"Python\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u66f8\u304f"},"previousItem":{"@type":"ListItem","@id":"https:\/\/blog.minatoproject.com#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/blog.minatoproject.com\/?p=1251#listItem","position":3,"name":"Python\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u66f8\u304f","previousItem":{"@type":"ListItem","@id":"https:\/\/blog.minatoproject.com\/?cat=6#listItem","name":"Python"}}]},{"@type":"Person","@id":"https:\/\/blog.minatoproject.com\/#person","name":"minato","image":{"@type":"ImageObject","@id":"https:\/\/blog.minatoproject.com\/?p=1251#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/2c7aa1ea41f01c286e646af94a932291edf8b30d48953e798bcf19dacefbf821?s=96&d=mm&r=g","width":96,"height":96,"caption":"minato"}},{"@type":"Person","@id":"https:\/\/blog.minatoproject.com\/?author=1#author","url":"https:\/\/blog.minatoproject.com\/?author=1","name":"minato","image":{"@type":"ImageObject","@id":"https:\/\/blog.minatoproject.com\/?p=1251#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/2c7aa1ea41f01c286e646af94a932291edf8b30d48953e798bcf19dacefbf821?s=96&d=mm&r=g","width":96,"height":96,"caption":"minato"}},{"@type":"WebPage","@id":"https:\/\/blog.minatoproject.com\/?p=1251#webpage","url":"https:\/\/blog.minatoproject.com\/?p=1251","name":"Python\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u66f8\u304f | minato project","inLanguage":"ja","isPartOf":{"@id":"https:\/\/blog.minatoproject.com\/#website"},"breadcrumb":{"@id":"https:\/\/blog.minatoproject.com\/?p=1251#breadcrumblist"},"author":{"@id":"https:\/\/blog.minatoproject.com\/?author=1#author"},"creator":{"@id":"https:\/\/blog.minatoproject.com\/?author=1#author"},"image":{"@type":"ImageObject","url":"https:\/\/blog.minatoproject.com\/wp-content\/uploads\/2019\/04\/20190402_eyecatch.png","@id":"https:\/\/blog.minatoproject.com\/?p=1251\/#mainImage","width":1280,"height":720},"primaryImageOfPage":{"@id":"https:\/\/blog.minatoproject.com\/?p=1251#mainImage"},"datePublished":"2019-04-02T00:39:17+09:00","dateModified":"2020-02-07T22:43:54+09:00"},{"@type":"WebSite","@id":"https:\/\/blog.minatoproject.com\/#website","url":"https:\/\/blog.minatoproject.com\/","name":"minato project","description":"\u30a2\u30cb\u30e1\u597d\u304d\u306e\u30b7\u30b9\u30c6\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u5f92\u7136\u306a\u308b\u307e\u307e\u306b\u81ea\u5206\u8a9e\u308a\u3059\u308b\u3060\u3051\u306e\u30d6\u30ed\u30b0\u3067\u3059","inLanguage":"ja","publisher":{"@id":"https:\/\/blog.minatoproject.com\/#person"}}]},"og:locale":"ja_JP","og:site_name":"minato project","og:type":"article","og:title":"Python\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u66f8\u304f | minato project","og:url":"https:\/\/blog.minatoproject.com\/?p=1251","fb:app_id":"532831333820969","fb:admins":"100023392422029","og:image":"https:\/\/blog.minatoproject.com\/wp-content\/uploads\/2019\/04\/20190402_eyecatch.png","og:image:secure_url":"https:\/\/blog.minatoproject.com\/wp-content\/uploads\/2019\/04\/20190402_eyecatch.png","og:image:width":1280,"og:image:height":720,"article:published_time":"2019-04-01T15:39:17+00:00","article:modified_time":"2020-02-07T13:43:54+00:00","twitter:card":"summary","twitter:site":"@icecreamlegjob","twitter:title":"Python\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u66f8\u304f | minato project","twitter:image":"https:\/\/blog.minatoproject.com\/wp-content\/uploads\/2019\/04\/20190402_eyecatch.png"},"aioseo_meta_data":{"post_id":"1251","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"article","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-28 18:28:02","updated":"2022-10-19 00:01:27","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.minatoproject.com\" title=\"\u30db\u30fc\u30e0\">\u30db\u30fc\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\/<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.minatoproject.com\/?cat=6\" title=\"Python\">Python<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\/<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPython\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u66f8\u304f\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u30db\u30fc\u30e0","link":"https:\/\/blog.minatoproject.com"},{"label":"Python","link":"https:\/\/blog.minatoproject.com\/?cat=6"},{"label":"Python\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u66f8\u304f","link":"https:\/\/blog.minatoproject.com\/?p=1251"}],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=\/wp\/v2\/posts\/1251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1251"}],"version-history":[{"count":7,"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=\/wp\/v2\/posts\/1251\/revisions"}],"predecessor-version":[{"id":1788,"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=\/wp\/v2\/posts\/1251\/revisions\/1788"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=\/wp\/v2\/media\/1590"}],"wp:attachment":[{"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}