{"id":2427,"date":"2022-12-07T09:31:37","date_gmt":"2022-12-07T00:31:37","guid":{"rendered":"https:\/\/maru.nagoya\/?p=2427"},"modified":"2023-01-28T15:28:23","modified_gmt":"2023-01-28T06:28:23","slug":"2427","status":"publish","type":"post","link":"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/","title":{"rendered":"\u3010Python\u3011\u6700\u8fd1\u4f7f\u3063\u305f\u30d5\u30a1\u30a4\u30eb\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u64cd\u4f5c\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u307e\u3068\u3081"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u3053\u3093\u306b\u3061\u306f\u3002AI-Tech-Lab\u611b\u77e5\u652f\u90e8\u3067\u5b66\u751f\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u3057\u3066\u3044\u308b\u677e\u7530\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4eca\u56de\u306f\u3001<strong><span class=\"keiko_yellow\">Python\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u7528\u3044\u3066\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\u30d5\u30a9\u30eb\u30c0\uff09\u3092\u64cd\u4f5c\u3059\u308b\u65b9\u6cd5<\/span><\/strong>\u3092\u307e\u3068\u3081\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<span class=\"keiko_yellow\">\u8a18\u4e8b\u306e\u524d\u534a\u304c\u30e2\u30b8\u30e5\u30fc\u30eb\u5225\u306e\u95a2\u6570\u307e\u3068\u3081\u3001\u5f8c\u534a\u304c\u5b9f\u969b\u306e\u4f7f\u7528\u4f8b<\/span>\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7d4c\u7def\u3068\u3057\u307e\u3057\u3066\u306f\u3001\u6700\u8fd1\u3001\u6a5f\u68b0\u5b66\u7fd2\u7528\u306b\u52d5\u304b\u3059\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u6307\u5b9a\u306b\u5bfe\u5fdc\u3057\u305f<strong>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u307e\u3068\u3081\u305f\u308a\u3001\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5fc5\u8981\u306a\u30c7\u30fc\u30bf\u3092\u66f8\u304d\u8fbc\u3093\u3060\u308a\u3059\u308b\u4f5c\u696d\u3092\u3059\u308b\u3053\u3068\u304c\u591a\u304b\u3063\u305f<\/strong>\u70ba\u3001\u305d\u306e\u969b\u306b\u3088\u304f\u4f7f\u7528\u3057\u305f\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u7d39\u4ecb\u3057\u3088\u3046\u3068\u601d\u3063\u305f\u6b21\u7b2c\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u50d5\u306e\u5099\u5fd8\u9332\u517c\u3001\u540c\u3058\u3088\u3046\u306a\u4f5c\u696d\u3092\u3055\u308c\u308b\u65b9\u306e\u624b\u52a9\u3051\u306b\u306a\u308c\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u3082\u304f\u3058<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a40386b7fbfb\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\" style='display:none' id=\"ez-toc-cssicon-toggle-item-6a40386b7fbfb\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/#%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%E5%88%A5%E3%81%AE%E9%96%A2%E6%95%B0%E3%81%BE%E3%81%A8%E3%82%81\" >\u30e2\u30b8\u30e5\u30fc\u30eb\u5225\u306e\u95a2\u6570\u307e\u3068\u3081<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/#os%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB\" >os\u30e2\u30b8\u30e5\u30fc\u30eb<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/#glob%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB\" >glob\u30e2\u30b8\u30e5\u30fc\u30eb<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/#shutil%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB\" >shutil\u30e2\u30b8\u30e5\u30fc\u30eb<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%81%8B%E3%82%89%E3%83%87%E3%83%BC%E3%82%BF%E3%82%92%E5%8F%96%E3%82%8A%E5%87%BA%E3%81%99%E9%9A%9B%E3%81%AB%E4%BE%BF%E5%88%A9%E3%81%AA%E9%96%A2%E6%95%B0\" >\u305d\u306e\u4ed6\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u51fa\u3059\u969b\u306b\u4fbf\u5229\u306a\u95a2\u6570<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/#os_shutil_glob%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%E3%81%AE%E4%BD%BF%E7%94%A8%E3%81%99%E3%82%8B%E5%A0%B4%E9%9D%A2\" >os \/ shutil \/ glob\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u4f7f\u7528\u3059\u308b\u5834\u9762<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/#%E3%81%BE%E3%81%A8%E3%82%81\" >\u307e\u3068\u3081<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-sgb-headings sgb-heading\" id=\"i-0\"><span class=\"ez-toc-section\" id=\"%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%E5%88%A5%E3%81%AE%E9%96%A2%E6%95%B0%E3%81%BE%E3%81%A8%E3%82%81\"><\/span><span class=\"sgb-heading__inner sgb-heading--type4\" style=\"background-color:#303440;border-color:#303440;font-size:1.2em\"><span class=\"sgb-heading__text\" style=\"color:#FFF\">\u30e2\u30b8\u30e5\u30fc\u30eb\u5225\u306e\u95a2\u6570\u307e\u3068\u3081<\/span><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-1\"><span class=\"ez-toc-section\" id=\"os%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB\"><\/span>os\u30e2\u30b8\u30e5\u30fc\u30eb<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span class=\"keiko_yellow\">\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u300c\u4f5c\u6210\u300d\u300c\u524a\u9664\u300d\u300c\u4e00\u89a7\u53d6\u5f97\u300d\u306a\u3069\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/span><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>import os<\/strong>\u3067\u30a4\u30f3\u30dd\u30fc\u30c8\u51fa\u6765\u307e\u3059\u3002\u4e3b\u306a\u95a2\u6570\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-sgb-codebox pre_tag\"><span><i class=\"fa fa-code\"><\/i>Python<\/span><pre><code>#\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4f5c\u6210\nos.mkdir(\"\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\")\n\n#\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u524a\u9664(\u4e2d\u8eab\u304c\u7a7a\u3067\u306a\u3044\u3068\u524a\u9664\u4e0d\u53ef)\nos.rmdir(\"\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\")\n\n#\u30d5\u30a1\u30a4\u30eb\u306e\u524a\u9664\nos.remove(\"\u30d5\u30a1\u30a4\u30eb\u540d\")\n\n#\u30d5\u30a1\u30a4\u30eb\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e00\u89a7\u3092\u30ea\u30b9\u30c8\u3067\u53d6\u5f97\nfilelist = os.listdir(\"\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\")<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-2\"><span class=\"ez-toc-section\" id=\"glob%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB\"><\/span>glob\u30e2\u30b8\u30e5\u30fc\u30eb<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span class=\"keiko_yellow\">\u300c\u7279\u5b9a\u306e\u6587\u5b57\u3092\u542b\u3080\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u3092\u53d6\u5f97\u300d\u307e\u305f\u306f\u300c\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e0b\u306e\u5404\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u3092\u53d6\u5f97\u300d\u306a\u3069\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/span><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>import glob<\/strong>\u3067\u30a4\u30f3\u30dd\u30fc\u30c8\u51fa\u6765\u307e\u3059\u3002\u4e3b\u306a\u95a2\u6570\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-sgb-codebox pre_tag\"><span><i class=\"fa fa-code\"><\/i>Python<\/span><pre><code>#\u62e1\u5f35\u5b50\u304c\".png\"\u306e\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u3092\u30ea\u30b9\u30c8\u3067\u53d6\u5f97\npathlist = glob.glob(\"*.png\")\n\n#\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e0b\u306e\u5404\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u3092\u30ea\u30b9\u30c8\u3067\u53d6\u5f97\npathlist = glob.glob(\"\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\" + \"\/*\")<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3061\u306a\u307f\u306b\u3001\u300c\uff0a\u300d\u306f\u4f55\u3067\u3082\u3088\u3044\u3068\u3044\u3046\u610f\u5473\u3067\u3059\u3002\u4f8b\u3048\u3070\u300c\u3007\u3007.png\u300d\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u6b32\u3057\u3044\u6642\u306f\u3007\u3007\u306e\u90e8\u5206\u306f\u4f55\u3067\u3082\u3088\u3044\u306e\u3067\u3001\u300c\uff0a.png\u300d\u3068\u3057\u3066\u3044\u308b\u308f\u3051\u3067\u3059\u3002\u5f93\u3063\u3066\u3001\u4f55\u3082\u6307\u5b9a\u3057\u306a\u3044\u5834\u5408\u3001\u3059\u306a\u308f\u3061\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u3092\u5168\u90e8\u53d6\u5f97\u3057\u305f\u3044\u5834\u5408\u306f\u300c\uff0a\u300d\u3068\u3060\u3051\u66f8\u3051\u3070\u3088\u3044\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-3\"><span class=\"ez-toc-section\" id=\"shutil%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB\"><\/span>shutil\u30e2\u30b8\u30e5\u30fc\u30eb<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span class=\"keiko_yellow\">\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u300c\u30b3\u30d4\u30fc\u300d\u300c\u79fb\u52d5\u300d\u300c\u524a\u9664\u300d\u306a\u3069\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/span><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>import shutil<\/strong>\u3067\u30a4\u30f3\u30dd\u30fc\u30c8\u51fa\u6765\u307e\u3059\u3002\u4e3b\u306a\u95a2\u6570\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-sgb-codebox pre_tag\"><span><i class=\"fa fa-code\"><\/i>Python<\/span><pre><code>#\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e0b\u3078\u30b3\u30d4\u30fc\nshutil.copy(\"\u30d5\u30a1\u30a4\u30eb\u540d(\u30b3\u30d4\u30fc\u5143)\", \"\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d(\u30b3\u30d4\u30fc\u5148)\")\n\n#\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4e38\u3054\u3068\u6307\u5b9a\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e0b\u3078\u30b3\u30d4\u30fc\nshutil.copytree(\"\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d(\u30b3\u30d4\u30fc\u5143)\", \"\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d(\u30b3\u30d4\u30fc\u5148)\")\n\n#\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4e38\u3054\u3068\u6307\u5b9a\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e0b\u3078\u79fb\u52d5\nshutil.move(\"\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d(\u30b3\u30d4\u30fc\u5143)\", \"\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d(\u30b3\u30d4\u30fc\u5148)\")\n\n#\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e0b\u3092\u4e38\u3054\u3068\u524a\u9664\nshutil.rmtree(\"\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\")<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-4\"><span class=\"ez-toc-section\" id=\"%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%81%8B%E3%82%89%E3%83%87%E3%83%BC%E3%82%BF%E3%82%92%E5%8F%96%E3%82%8A%E5%87%BA%E3%81%99%E9%9A%9B%E3%81%AB%E4%BE%BF%E5%88%A9%E3%81%AA%E9%96%A2%E6%95%B0\"><\/span>\u305d\u306e\u4ed6\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u51fa\u3059\u969b\u306b\u4fbf\u5229\u306a\u95a2\u6570<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>split\u95a2\u6570<\/strong>\uff1a\u4f8b\u3048\u3070\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u306e\u8a18\u53f7\u3067\u5206\u5272\u3059\u308b\u6642\u306b\u4f7f\u7528\u3002\u4ee5\u4e0b\u4f7f\u7528\u4f8b\u3002<\/p>\n\n\n\n<div class=\"wp-block-sgb-codebox pre_tag\"><span><i class=\"fa fa-code\"><\/i>Python<\/span><pre><code>filename = \"2022_11_11_picture1.png\"\n\n#\u30d4\u30ea\u30aa\u30c9\u3067\u5206\u5272\u3059\u308b\nnamelist = filename.split(\".\")\nprint(namelist[0])\nprint(namelist[1])\n\n&gt;&gt;2022_11_11_picture1\n&gt;&gt;png<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>open\u95a2\u6570<\/strong>\uff1a\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u6642\u306b\u4f7f\u7528\u3002\u4ee5\u4e0b\u4f7f\u7528\u4f8b\u3002<\/p>\n\n\n\n<div class=\"wp-block-sgb-codebox pre_tag\"><span><i class=\"fa fa-code\"><\/i>Python<\/span><pre><code>#\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u3002\u8aad\u307f\u8fbc\u307f\u306a\u3089'r' \u4e0a\u66f8\u304d\u306a\u3089'w' \u8ffd\u8a18\u306a\u3089'a'\nf = open(\"\u30d5\u30a1\u30a4\u30eb\u540d\", '\u30aa\u30d7\u30b7\u30e7\u30f3')\n\n#\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u64cd\u4f5c\u304c\u7d42\u308f\u3063\u305f\u3089\u9589\u3058\u308b\u3002\nf.close()<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>readlines\u95a2\u6570<\/strong>\uff1a\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u884c\u3054\u3068\u306b\u30ea\u30b9\u30c8\u3067\u8aad\u307f\u8fbc\u3080\u6642\u306b\u4f7f\u7528\u3002\u4ee5\u4e0b\u4f7f\u7528\u4f8b\u3002<\/p>\n\n\n\n<div class=\"wp-block-sgb-codebox pre_tag\"><span><i class=\"fa fa-code\"><\/i>HTML<\/span><pre><code>f = open(\"\u30d5\u30a1\u30a4\u30eb\u540d\", '\u30aa\u30d7\u30b7\u30e7\u30f3')\n\n#\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u884c\u3054\u3068\u306b\u30ea\u30b9\u30c8\u3067\u53d6\u5f97\ndatalist = f.leadlines()\n\n#1\u884c\u76ee\nline_1 = datalist[0]\n#2\u884c\u76ee\nline_2 = datalist[1]\n\nf.close()<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-sgb-headings sgb-heading\" id=\"i-5\"><span class=\"ez-toc-section\" id=\"os_shutil_glob%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%E3%81%AE%E4%BD%BF%E7%94%A8%E3%81%99%E3%82%8B%E5%A0%B4%E9%9D%A2\"><\/span><span class=\"sgb-heading__inner sgb-heading--type4\" style=\"background-color:#303440;border-color:#303440;font-size:1.2em\"><span class=\"sgb-heading__text\" style=\"color:#FFF\">os \/ shutil \/ glob\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u4f7f\u7528\u3059\u308b\u5834\u9762<\/span><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f8b\u3068\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u300csample\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f7f\u3063\u3066\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span class=\"keiko_yellow\"><strong>\u300ccopy_files.ipynb\u300d\u306f\u3001\u300ccopy_from\u300d\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u3092png, json, \u305d\u306e\u4ed6\u306e\u62e1\u5f35\u5b50\u5225\u306b\u305d\u308c\u305e\u308c\u300ccopy_to\u300d\u5185\u306e\u300cdirectory_A\u300d\u300cdirectory_B\u300d\u300cdirectory_C\u300d\u306b\u30b3\u30d4\u30fc\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0<\/strong>\u3068\u3057\u307e\u3059\u3002<\/span>\uff08jupyter notebook\u3092\u4f7f\u7528\u3057\u305f\u70ba\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u62e1\u5f35\u5b50\u306fipynb\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/11\/27202902\/e.png\" alt=\"\" class=\"wp-image-2451\" width=\"810\" height=\"159\" srcset=\"https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/11\/27202902\/e.png 838w, https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/11\/27202902\/e-300x59.png 300w, https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/11\/27202902\/e-768x151.png 768w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u307e\u305a\u3001\u300ccopy_form\u300d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u304b\u3089\u3001<strong>\u6307\u5b9a\u306e\u62e1\u5f35\u5b50\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u5206\u985e<\/strong>\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001<strong>glob\u30e2\u30b8\u30e5\u30fc\u30eb<\/strong>\u304c\u4fbf\u5229\u3067\u3059\u3002\u307e\u305f\u3001\u30ea\u30b9\u30c8\u540c\u58eb\u306e\u8981\u7d20\u306e\u5f15\u304d\u7b97\u3092\u884c\u3044\u305f\u3044\u6642\u306f\u3001set\u578b\u306b\u30ad\u30e3\u30b9\u30c8\u3059\u308b\u3053\u3068\u3067\u5f15\u304d\u7b97\u3092\u884c\u3046\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-sgb-codebox pre_tag\"><span><i class=\"fa fa-code\"><\/i>python<\/span><pre><code>import glob\npng_pathlist = glob.glob(\"copy_from\/*png\")\njson_pathlist = glob.glob(\"copy_from\/*json\")\nother_pathlist = set(glob.glob(\"copy_from\/*\")) - set(png_pathlist) - set(json_pathlist)\nother_pathlist = list(other_pathlist)<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u3067\u62e1\u5f35\u5b50\u5225\u306e\u30ea\u30b9\u30c8\u304c\u51fa\u6765\u305f\u306e\u3067\u3001\u5f8c\u306ffor\u6587\u306e\u4e2d\u3067<strong>shutil.copy<\/strong>\u306e\u95a2\u6570\u3092\u5b9f\u884c\u3059\u308c\u3070<strong>\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3078\u30b3\u30d4\u30fc<\/strong>\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-sgb-codebox pre_tag\"><span><i class=\"fa fa-code\"><\/i>Python<\/span><pre><code>import shutil\n\n#png\u30d5\u30a1\u30a4\u30eb\u3092directory_A\u3078\u30b3\u30d4\u30fc\nfor path in png_pathlist:\n  shutil.copy(path, \".\/copy_to\/directory_A\")\n\n#json\u30d5\u30a1\u30a4\u30eb\u3092directory_B\u3078\u30b3\u30d4\u30fc\nfor path in json_pathlist:\n  shutil.copy(path, \".\/copy_to\/directory_B\")\n\n#\u305d\u306e\u4ed6\u306e\u30d5\u30a1\u30a4\u30eb\u3092directory_C\u3078\u30b3\u30d4\u30fc\nfor path in other_pathlist:\n  shutil.copy(path, \".\/copy_to\/directory_C\")<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><span class=\"keiko_yellow\"><strong>glob<\/strong>\u306e\u5229\u70b9\u3068\u3057\u3066\u3001<strong>\u30d5\u30a1\u30a4\u30eb\u3078\u306e&#8221;\u30d1\u30b9&#8221;\u3068\u3057\u3066\u30ea\u30b9\u30c8\u304c\u4f5c\u6210\u3055\u308c\u308b<\/strong><\/span>\u3053\u3068\u3082\u6319\u3052\u3089\u308c\u307e\u3059\u3002\u4eca\u56de\u4f7f\u7528\u3057\u305fshutil\u30e2\u30b8\u30e5\u30fc\u30eb\u4ee5\u5916\u3067\u3082\u3001<span class=\"keiko_yellow\">\u30d5\u30a1\u30a4\u30eb\u3092\u89e6\u308b\u95a2\u6570\u306e\u307b\u3068\u3093\u3069\u306f\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u3092\u5f15\u6570\u3068\u3059\u308b\u306e\u3067\u3001\u5bfe\u8c61\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u3069\u3053\u306b\u3042\u308b\u304b\u3044\u3061\u3044\u3061\u8a73\u7d30\u306b\u8a18\u8ff0\u3059\u308b\u5fc5\u8981\u304c\u7121\u3044\u5206\u697d<\/span>\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9006\u306b\u3001\u305d\u306e\u8fba\u308a\u3092\u898b\u3084\u3059\u304f\u3057\u305f\u3044\u5834\u5408\u306f<span class=\"keiko_yellow\"><strong>os.listdir\u306e\u95a2\u6570\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30ea\u30b9\u30c8\u53d6\u5f97\u3057\u3001\u30d1\u30b9\u3092\u6307\u5b9a\u3059\u308b\u969b\u306b\u300c&#8221;\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d&#8221; + &#8220;\/&#8221; + &#8220;\u30d5\u30a1\u30a4\u30eb\u540d&#8221;\u300d\u306e\u3088\u3046\u306b\u3059\u308b<\/strong>\u65b9\u6cd5\u3082\u3042\u308a<\/span>\u3067\u3059\u3002png, json\u306e\u6587\u5b57\u5217\u304c\u30d5\u30a1\u30a4\u30eb\u540d\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u306f\u3001if\u6587\u3067\u5224\u5b9a\u3057\u3066\u632f\u308a\u5206\u3051\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-sgb-codebox pre_tag\"><span><i class=\"fa fa-code\"><\/i>Python<\/span><pre><code>import os\nPATH_COPY_FROM = \".\/copy_from\"\nfile_list = os.listdir(PATH_COPY_FROM)\nfor file in file_list:\n  #file\u306b\"png\"\u306e\u6587\u5b57\u5217\u304c\u542b\u307e\u308c\u308b\u304b\u5426\u304b\u306e\u5224\u5b9a\n  if('png' in file):\n    shutil.copy(PATH_COPY_FROM + \"\/\" + file, \".\/copy_to\/directory_A\")\n  elif('json' in file):\n    shutil.copy(PATH_COPY_FROM + \"\/\" + file, \".\/copy_to\/directory_B\")\n  else:\n    shutil.copy(PATH_COPY_FROM + \"\/\" + file, \".\/copy_to\/directory_C\")<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3055\u3066\u3001\u3053\u308c\u3067\u300ccopy_files.ipynb\u300d\u306f\u5b8c\u6210\u3067\u3059\u304c\u3001\u3053\u306e\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066\u4f55\u56de\u304b\u4f5c\u696d\u3092\u884c\u3046\u5834\u5408\u3092\u8003\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f5c\u696d\u3092\u3084\u308a\u76f4\u3059\u306a\u3089\u3070\u3001A,B,C\u3067\u5206\u304b\u308c\u3066\u3044\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u8eab\u3092\u305d\u308c\u305e\u308c\u524a\u9664\u3059\u308b\u3088\u308a\u3082\u3001\u300ccopy_to\u300d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3054\u3068\u524a\u9664\u51fa\u6765\u305f\u65b9\u304c\u697d\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u3053\u306e\u5834\u5408\u300ccopy_to\u300d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u3001\u305d\u306e\u4e2d\u306b\u3042\u308b\u300cdirectory_A\u300d\u300cdirectory_B\u300d\u300cdirectory_C\u300d\u3092\u518d\u3073\u4f5c\u308a\u76f4\u3055\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b8c\u6210\u3057\u305f\u300ccopy_to\u300d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u305d\u306e\u307e\u307e\u4fdd\u5b58\u3057\u3066\u304a\u304d\u3001\u5225\u306b\u65b0\u305f\u306a\u300ccopy_to\u300d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u305f\u3044\u5834\u5408\u3082\u3042\u308b\u3067\u3057\u3087\u3046\u3002\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u3082\u3001\u3084\u306f\u308a\u5fc5\u8981\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u308a\u76f4\u3059\u5fc5\u8981\u304c\u3042\u308a\u305d\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f55\u304c\u8a00\u3044\u305f\u3044\u304b\u3068\u8a00\u3046\u3068\u3001\u3064\u307e\u308a\u3001<span class=\"keiko_yellow\"><strong>\u5168\u3066\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4e00\u62ec\u4f5c\u6210\u3057\u3066\u304f\u308c\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3082\u30bb\u30c3\u30c8\u3067\u4f5c\u3063\u3066\u304a\u304f<\/strong>\u3068\u5f8c\u3005\u4fbf\u5229<\/span>\u3067\u3042\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\uff08\u4e0b\u56f3\u3067\u306f\u300cmake_directory.ipynb\u300d\u3068\u3057\u3066\u3044\u308b\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/11\/28130745\/dd-1024x229.png\" alt=\"\" class=\"wp-image-2458\" width=\"821\" height=\"183\" srcset=\"https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/11\/28130745\/dd-1024x229.png 1024w, https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/11\/28130745\/dd-300x67.png 300w, https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/11\/28130745\/dd-768x172.png 768w, https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/11\/28130745\/dd-1536x344.png 1536w, https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/11\/28130745\/dd-940x211.png 940w, https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/11\/28130745\/dd.png 2008w\" sizes=\"auto, (max-width: 821px) 100vw, 821px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u3068\u304d\u3001<strong>os.mkdir<\/strong>\u306e\u95a2\u6570\u304c\u5f79\u306b\u7acb\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-sgb-codebox pre_tag\"><span><i class=\"fa fa-code\"><\/i>Python<\/span><pre><code>import os\ndir_list = [\"directory_A\", \"directory_B\", \"directory_C\"]\n\n#\u4e0a\u5c64\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4f5c\u6210\nos.mkdir(\"copy_from\")\nos.mkdir(\"copy_to\")\n\n#copy_to\u4ee5\u4e0b\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306ffor\u30eb\u30fc\u30d7\u3067\u4f5c\u6210\nfor list in dir_list:\n    os.mkdir(\"copy_to\" + \"\/\" + list)<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u3067\u3001<span class=\"keiko_yellow\">\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u524a\u9664\u3057\u305f\u308a\u3001\u65b0\u898f\u306e\u4f5c\u696d\u306b\u53d6\u308a\u639b\u304b\u308b\u969b\u306b\u3082\u3001<strong>\u5fc5\u8981\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u3059\u3050\u306b\u7528\u610f\u51fa\u6765\u307e\u3059\u3002<\/strong><\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u81ea\u5206\u4ee5\u5916\u306e\u4eba\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5171\u6709\u3059\u308b\u969b\u306b\u3082\u3001\u3053\u3061\u3089\u306e\u65b9\u304c\u89aa\u5207\u3067\u3059\u3002<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f59\u8ac7\u3067\u3059\u304c\u3001<strong>zip\u5727\u7e2e\u3092\u3059\u308b\u5834\u5408\u306b\u3082\u3001\u3053\u306e\u65b9\u6cd5\u304c\u6709\u52b9\u306a\u5834\u9762\u304c\u3042\u308a\u307e\u3059\u3002<\/strong>\u4e00\u5ea6\u3001\u5168\u3066\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u7a7a\u306e\u72b6\u614b\u3067\u3001sample\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u8eab\u3092zip\u5727\u7e2e\u3057\u3088\u3046\u3068\u3059\u308c\u3070\u7406\u7531\u304c\u5206\u304b\u308a\u307e\u3059\u3002\uff08\u4e2d\u8eab\u3067\u306a\u304fsample\u81ea\u4f53\u3092zip\u5727\u7e2e\u3059\u308b\u3068\u3001\u89e3\u51cd\u6642\u306b\u7121\u99c4\u306a\u968e\u5c64\u304c\u51fa\u6765\u3066\u3057\u307e\u3046\u306e\u3067\u5fc5\u305a\u4e2d\u8eab\u3092\u5168\u9078\u629e\u3057\u3066zip\u5727\u7e2e\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/11\/28131844\/re-2-1024x411.png\" alt=\"\" class=\"wp-image-2459\" width=\"728\" height=\"293\" srcset=\"https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/11\/28131844\/re-2-1024x411.png 1024w, https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/11\/28131844\/re-2-300x120.png 300w, https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/11\/28131844\/re-2-768x308.png 768w, https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/11\/28131844\/re-2-1536x616.png 1536w, https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/11\/28131844\/re-2-940x377.png 940w, https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/11\/28131844\/re-2.png 1560w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u3088\u3046\u306b\u3001\u7a7a\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3001\u3059\u306a\u308f\u3061\u4eca\u56de\u3060\u3068\u300ccopy_from\u300d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306fzip\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u5f3e\u304b\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u3053\u3046\u306a\u308b\u304f\u3089\u3044\u306a\u3089\u3070\u3001\u59cb\u3081\u304b\u3089\u300ccopy_from\u300d\u3084\u300ccopy_to\u300d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u4f5c\u3063\u3066\u304a\u304b\u306a\u3044\u3067\u3001\u4ee3\u308f\u308a\u306b\u300cmake_directory.ipynb\u300d\u306e\u3088\u3046\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u540c\u5c01\u3057\u3066\u304a\u304f\u306e\u304c\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-sgb-headings sgb-heading\" id=\"i-6\"><span class=\"ez-toc-section\" id=\"%E3%81%BE%E3%81%A8%E3%82%81\"><\/span><span class=\"sgb-heading__inner sgb-heading--type4\" style=\"background-color:#303440;border-color:#303440;font-size:1.2em\"><span class=\"sgb-heading__text\" style=\"color:#FFF\">\u307e\u3068\u3081<\/span><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4eca\u56de\u306f<strong>Python\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u7528\u3044\u3066\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\u30d5\u30a9\u30eb\u30c0\uff09\u3092\u64cd\u4f5c\u3059\u308b\u65b9\u6cd5<\/strong>\u304b\u3089\u3001\u305d\u306e\u4f7f\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4f5c\u6210\u6642\u3001\u30c7\u30fc\u30bf\u6574\u7406\u306f\u4e0b\u6e96\u5099\u306e\u6bb5\u968e\u306b\u306a\u308b\u306e\u3067\u3001\u3053\u306e\u5de5\u7a0b\u304c\u30b9\u30c8\u30ec\u30b9\u306a\u304f\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u3001\u672c\u984c\u306b\u5272\u304f\u6642\u9593\u3092\u5897\u3084\u3059\u4e8b\u304c\u51fa\u6765\u307e\u3059\u306d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002AI-Tech-Lab\u611b\u77e5\u652f\u90e8\u3067\u5b66\u751f\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u3057\u3066\u3044\u308b\u677e\u7530\u3067\u3059\u3002 \u4eca\u56de\u306f\u3001Python\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u7528\u3044\u3066\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\u30d5\u30a9\u30eb\u30c0\uff09\u3092\u64cd\u4f5c\u3059\u308b\u65b9\u6cd5\u3092\u307e\u3068\u3081\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002\u8a18\u4e8b\u306e\u524d\u534a\u304c\u30e2\u30b8\u30e5\u30fc\u30eb\u5225 &#8230; <\/p>\n","protected":false},"author":6,"featured_media":2470,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[12],"tags":[32,46],"class_list":["post-2427","post","type-post","status-publish","format-standard","has-post-thumbnail","category-data-science","tag-python","tag-46"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u3053\u3093\u306b\u3061\u306f\u3002AI-Tech-Lab\u611b\u77e5\u652f\u90e8\u3067\u5b66\u751f\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u3057\u3066\u3044\u308b\u677e\u7530\u3067\u3059\u3002 \u4eca\u56de\u306f\u3001Python\u306e\u30e9\u30a4\u30d6\u30e9\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"\u677e\u7530\u65b0\u53f2\"\/>\n\t<meta name=\"google-site-verification\" content=\"JZLWZbIbJaUYj4Na1s8DPd53qVY093-O3GAxCzRck0A\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"maru - \u697d\u3057\u304f\u50cd\u304f | \u682a\u5f0f\u4f1a\u793e\u3007\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\u3010Python\u3011\u6700\u8fd1\u4f7f\u3063\u305f\u30d5\u30a1\u30a4\u30eb\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u64cd\u4f5c\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u307e\u3068\u3081 - maru\" \/>\n\t\t<meta property=\"og:description\" content=\"\u3053\u3093\u306b\u3061\u306f\u3002AI-Tech-Lab\u611b\u77e5\u652f\u90e8\u3067\u5b66\u751f\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u3057\u3066\u3044\u308b\u677e\u7530\u3067\u3059\u3002 \u4eca\u56de\u306f\u3001Python\u306e\u30e9\u30a4\u30d6\u30e9\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-12-07T00:31:37+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-01-28T06:28:23+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/maruaiiot\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u3010Python\u3011\u6700\u8fd1\u4f7f\u3063\u305f\u30d5\u30a1\u30a4\u30eb\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u64cd\u4f5c\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u307e\u3068\u3081 - maru\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u3053\u3093\u306b\u3061\u306f\u3002AI-Tech-Lab\u611b\u77e5\u652f\u90e8\u3067\u5b66\u751f\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u3057\u3066\u3044\u308b\u677e\u7530\u3067\u3059\u3002 \u4eca\u56de\u306f\u3001Python\u306e\u30e9\u30a4\u30d6\u30e9\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/2022\\\/12\\\/07\\\/2427\\\/#blogposting\",\"name\":\"\\u3010Python\\u3011\\u6700\\u8fd1\\u4f7f\\u3063\\u305f\\u30d5\\u30a1\\u30a4\\u30eb\\\/\\u30c7\\u30a3\\u30ec\\u30af\\u30c8\\u30ea\\u3092\\u64cd\\u4f5c\\u3059\\u308b\\u30e2\\u30b8\\u30e5\\u30fc\\u30eb\\u307e\\u3068\\u3081 - maru\",\"headline\":\"\\u3010Python\\u3011\\u6700\\u8fd1\\u4f7f\\u3063\\u305f\\u30d5\\u30a1\\u30a4\\u30eb\\\/\\u30c7\\u30a3\\u30ec\\u30af\\u30c8\\u30ea\\u3092\\u64cd\\u4f5c\\u3059\\u308b\\u30e2\\u30b8\\u30e5\\u30fc\\u30eb\\u307e\\u3068\\u3081\",\"author\":{\"@id\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/author\\\/shinji_matsuda\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/maru.nagoya\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/static.maru.nagoya\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/29114017\\\/%E3%82%B5%E3%83%A0%E3%83%8D_matsuda_2.png\",\"width\":799,\"height\":461},\"datePublished\":\"2022-12-07T09:31:37+09:00\",\"dateModified\":\"2023-01-28T15:28:23+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/2022\\\/12\\\/07\\\/2427\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/2022\\\/12\\\/07\\\/2427\\\/#webpage\"},\"articleSection\":\"\\u30c7\\u30fc\\u30bf\\u30b5\\u30a4\\u30a8\\u30f3\\u30b9, Python, \\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\\u5165\\u9580\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/2022\\\/12\\\/07\\\/2427\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/maru.nagoya#listItem\",\"position\":1,\"name\":\"\\u30db\\u30fc\\u30e0\",\"item\":\"https:\\\/\\\/maru.nagoya\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/category\\\/data-science\\\/#listItem\",\"name\":\"\\u30c7\\u30fc\\u30bf\\u30b5\\u30a4\\u30a8\\u30f3\\u30b9\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/category\\\/data-science\\\/#listItem\",\"position\":2,\"name\":\"\\u30c7\\u30fc\\u30bf\\u30b5\\u30a4\\u30a8\\u30f3\\u30b9\",\"item\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/category\\\/data-science\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/2022\\\/12\\\/07\\\/2427\\\/#listItem\",\"name\":\"\\u3010Python\\u3011\\u6700\\u8fd1\\u4f7f\\u3063\\u305f\\u30d5\\u30a1\\u30a4\\u30eb\\\/\\u30c7\\u30a3\\u30ec\\u30af\\u30c8\\u30ea\\u3092\\u64cd\\u4f5c\\u3059\\u308b\\u30e2\\u30b8\\u30e5\\u30fc\\u30eb\\u307e\\u3068\\u3081\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/maru.nagoya#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/2022\\\/12\\\/07\\\/2427\\\/#listItem\",\"position\":3,\"name\":\"\\u3010Python\\u3011\\u6700\\u8fd1\\u4f7f\\u3063\\u305f\\u30d5\\u30a1\\u30a4\\u30eb\\\/\\u30c7\\u30a3\\u30ec\\u30af\\u30c8\\u30ea\\u3092\\u64cd\\u4f5c\\u3059\\u308b\\u30e2\\u30b8\\u30e5\\u30fc\\u30eb\\u307e\\u3068\\u3081\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/category\\\/data-science\\\/#listItem\",\"name\":\"\\u30c7\\u30fc\\u30bf\\u30b5\\u30a4\\u30a8\\u30f3\\u30b9\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/maru.nagoya\\\/#organization\",\"name\":\"maru\",\"description\":\"\\u697d\\u3057\\u304f\\u50cd\\u304f | \\u682a\\u5f0f\\u4f1a\\u793e\\u3007\",\"url\":\"https:\\\/\\\/maru.nagoya\\\/\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/maruaiiot\",\"https:\\\/\\\/www.instagram.com\\\/maru.ai.tech\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/author\\\/shinji_matsuda\\\/#author\",\"url\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/author\\\/shinji_matsuda\\\/\",\"name\":\"\\u677e\\u7530\\u65b0\\u53f2\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/2022\\\/12\\\/07\\\/2427\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ca990380b67738ce1ec62395f89df8bfe28cdf4c9b47d3ca92b763b54a5ed43c?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"\\u677e\\u7530\\u65b0\\u53f2\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/2022\\\/12\\\/07\\\/2427\\\/#webpage\",\"url\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/2022\\\/12\\\/07\\\/2427\\\/\",\"name\":\"\\u3010Python\\u3011\\u6700\\u8fd1\\u4f7f\\u3063\\u305f\\u30d5\\u30a1\\u30a4\\u30eb\\\/\\u30c7\\u30a3\\u30ec\\u30af\\u30c8\\u30ea\\u3092\\u64cd\\u4f5c\\u3059\\u308b\\u30e2\\u30b8\\u30e5\\u30fc\\u30eb\\u307e\\u3068\\u3081 - maru\",\"description\":\"\\u3053\\u3093\\u306b\\u3061\\u306f\\u3002AI-Tech-Lab\\u611b\\u77e5\\u652f\\u90e8\\u3067\\u5b66\\u751f\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2\\u3092\\u3057\\u3066\\u3044\\u308b\\u677e\\u7530\\u3067\\u3059\\u3002 \\u4eca\\u56de\\u306f\\u3001Python\\u306e\\u30e9\\u30a4\\u30d6\\u30e9\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/maru.nagoya\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/2022\\\/12\\\/07\\\/2427\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/author\\\/shinji_matsuda\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/author\\\/shinji_matsuda\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/static.maru.nagoya\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/29114017\\\/%E3%82%B5%E3%83%A0%E3%83%8D_matsuda_2.png\",\"@id\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/2022\\\/12\\\/07\\\/2427\\\/#mainImage\",\"width\":799,\"height\":461},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/maru.nagoya\\\/index.php\\\/2022\\\/12\\\/07\\\/2427\\\/#mainImage\"},\"datePublished\":\"2022-12-07T09:31:37+09:00\",\"dateModified\":\"2023-01-28T15:28:23+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/maru.nagoya\\\/#website\",\"url\":\"https:\\\/\\\/maru.nagoya\\\/\",\"name\":\"maru\",\"description\":\"\\u697d\\u3057\\u304f\\u50cd\\u304f | \\u682a\\u5f0f\\u4f1a\\u793e\\u3007\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/maru.nagoya\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\u3010Python\u3011\u6700\u8fd1\u4f7f\u3063\u305f\u30d5\u30a1\u30a4\u30eb\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u64cd\u4f5c\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u307e\u3068\u3081 - maru","description":"\u3053\u3093\u306b\u3061\u306f\u3002AI-Tech-Lab\u611b\u77e5\u652f\u90e8\u3067\u5b66\u751f\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u3057\u3066\u3044\u308b\u677e\u7530\u3067\u3059\u3002 \u4eca\u56de\u306f\u3001Python\u306e\u30e9\u30a4\u30d6\u30e9","canonical_url":"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"JZLWZbIbJaUYj4Na1s8DPd53qVY093-O3GAxCzRck0A","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/#blogposting","name":"\u3010Python\u3011\u6700\u8fd1\u4f7f\u3063\u305f\u30d5\u30a1\u30a4\u30eb\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u64cd\u4f5c\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u307e\u3068\u3081 - maru","headline":"\u3010Python\u3011\u6700\u8fd1\u4f7f\u3063\u305f\u30d5\u30a1\u30a4\u30eb\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u64cd\u4f5c\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u307e\u3068\u3081","author":{"@id":"https:\/\/maru.nagoya\/index.php\/author\/shinji_matsuda\/#author"},"publisher":{"@id":"https:\/\/maru.nagoya\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/12\/29114017\/%E3%82%B5%E3%83%A0%E3%83%8D_matsuda_2.png","width":799,"height":461},"datePublished":"2022-12-07T09:31:37+09:00","dateModified":"2023-01-28T15:28:23+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/#webpage"},"isPartOf":{"@id":"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/#webpage"},"articleSection":"\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30b9, Python, \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u9580"},{"@type":"BreadcrumbList","@id":"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/maru.nagoya#listItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/maru.nagoya","nextItem":{"@type":"ListItem","@id":"https:\/\/maru.nagoya\/index.php\/category\/data-science\/#listItem","name":"\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30b9"}},{"@type":"ListItem","@id":"https:\/\/maru.nagoya\/index.php\/category\/data-science\/#listItem","position":2,"name":"\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30b9","item":"https:\/\/maru.nagoya\/index.php\/category\/data-science\/","nextItem":{"@type":"ListItem","@id":"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/#listItem","name":"\u3010Python\u3011\u6700\u8fd1\u4f7f\u3063\u305f\u30d5\u30a1\u30a4\u30eb\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u64cd\u4f5c\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u307e\u3068\u3081"},"previousItem":{"@type":"ListItem","@id":"https:\/\/maru.nagoya#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/#listItem","position":3,"name":"\u3010Python\u3011\u6700\u8fd1\u4f7f\u3063\u305f\u30d5\u30a1\u30a4\u30eb\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u64cd\u4f5c\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u307e\u3068\u3081","previousItem":{"@type":"ListItem","@id":"https:\/\/maru.nagoya\/index.php\/category\/data-science\/#listItem","name":"\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30b9"}}]},{"@type":"Organization","@id":"https:\/\/maru.nagoya\/#organization","name":"maru","description":"\u697d\u3057\u304f\u50cd\u304f | \u682a\u5f0f\u4f1a\u793e\u3007","url":"https:\/\/maru.nagoya\/","sameAs":["https:\/\/www.facebook.com\/maruaiiot","https:\/\/www.instagram.com\/maru.ai.tech\/"]},{"@type":"Person","@id":"https:\/\/maru.nagoya\/index.php\/author\/shinji_matsuda\/#author","url":"https:\/\/maru.nagoya\/index.php\/author\/shinji_matsuda\/","name":"\u677e\u7530\u65b0\u53f2","image":{"@type":"ImageObject","@id":"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/ca990380b67738ce1ec62395f89df8bfe28cdf4c9b47d3ca92b763b54a5ed43c?s=96&d=mm&r=g","width":96,"height":96,"caption":"\u677e\u7530\u65b0\u53f2"}},{"@type":"WebPage","@id":"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/#webpage","url":"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/","name":"\u3010Python\u3011\u6700\u8fd1\u4f7f\u3063\u305f\u30d5\u30a1\u30a4\u30eb\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u64cd\u4f5c\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u307e\u3068\u3081 - maru","description":"\u3053\u3093\u306b\u3061\u306f\u3002AI-Tech-Lab\u611b\u77e5\u652f\u90e8\u3067\u5b66\u751f\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u3057\u3066\u3044\u308b\u677e\u7530\u3067\u3059\u3002 \u4eca\u56de\u306f\u3001Python\u306e\u30e9\u30a4\u30d6\u30e9","inLanguage":"ja","isPartOf":{"@id":"https:\/\/maru.nagoya\/#website"},"breadcrumb":{"@id":"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/#breadcrumblist"},"author":{"@id":"https:\/\/maru.nagoya\/index.php\/author\/shinji_matsuda\/#author"},"creator":{"@id":"https:\/\/maru.nagoya\/index.php\/author\/shinji_matsuda\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/12\/29114017\/%E3%82%B5%E3%83%A0%E3%83%8D_matsuda_2.png","@id":"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/#mainImage","width":799,"height":461},"primaryImageOfPage":{"@id":"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/#mainImage"},"datePublished":"2022-12-07T09:31:37+09:00","dateModified":"2023-01-28T15:28:23+09:00"},{"@type":"WebSite","@id":"https:\/\/maru.nagoya\/#website","url":"https:\/\/maru.nagoya\/","name":"maru","description":"\u697d\u3057\u304f\u50cd\u304f | \u682a\u5f0f\u4f1a\u793e\u3007","inLanguage":"ja","publisher":{"@id":"https:\/\/maru.nagoya\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"maru - \u697d\u3057\u304f\u50cd\u304f | \u682a\u5f0f\u4f1a\u793e\u3007","og:type":"article","og:title":"\u3010Python\u3011\u6700\u8fd1\u4f7f\u3063\u305f\u30d5\u30a1\u30a4\u30eb\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u64cd\u4f5c\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u307e\u3068\u3081 - maru","og:description":"\u3053\u3093\u306b\u3061\u306f\u3002AI-Tech-Lab\u611b\u77e5\u652f\u90e8\u3067\u5b66\u751f\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u3057\u3066\u3044\u308b\u677e\u7530\u3067\u3059\u3002 \u4eca\u56de\u306f\u3001Python\u306e\u30e9\u30a4\u30d6\u30e9","og:url":"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/","article:published_time":"2022-12-07T00:31:37+00:00","article:modified_time":"2023-01-28T06:28:23+00:00","article:publisher":"https:\/\/www.facebook.com\/maruaiiot","twitter:card":"summary","twitter:title":"\u3010Python\u3011\u6700\u8fd1\u4f7f\u3063\u305f\u30d5\u30a1\u30a4\u30eb\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u64cd\u4f5c\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u307e\u3068\u3081 - maru","twitter:description":"\u3053\u3093\u306b\u3061\u306f\u3002AI-Tech-Lab\u611b\u77e5\u652f\u90e8\u3067\u5b66\u751f\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u3057\u3066\u3044\u308b\u677e\u7530\u3067\u3059\u3002 \u4eca\u56de\u306f\u3001Python\u306e\u30e9\u30a4\u30d6\u30e9"},"aioseo_meta_data":{"post_id":"2427","title":"#post_title #separator_sa #site_title","description":"#post_excerpt","keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","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":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","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":{"id":"#aioseo-article-643a2c22cfa0e","slug":"article","graphName":"Article","label":"\u8a18\u4e8b","properties":{"type":"BlogPosting","name":"#post_title","headline":"#post_title","description":"#post_excerpt","image":"","keywords":"","author":{"name":"#author_name","url":"#author_url"},"dates":{"include":true,"datePublished":"","dateModified":""}}},"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","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":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2022-11-27 05:42:34","updated":"2025-06-04 03:37:38","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/maru.nagoya\" title=\"\u30db\u30fc\u30e0\">\u30db\u30fc\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/maru.nagoya\/index.php\/category\/data-science\/\" title=\"\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30b9\">\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30b9<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t\u3010Python\u3011\u6700\u8fd1\u4f7f\u3063\u305f\u30d5\u30a1\u30a4\u30eb\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u64cd\u4f5c\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u307e\u3068\u3081\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u30db\u30fc\u30e0","link":"https:\/\/maru.nagoya"},{"label":"\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30b9","link":"https:\/\/maru.nagoya\/index.php\/category\/data-science\/"},{"label":"\u3010Python\u3011\u6700\u8fd1\u4f7f\u3063\u305f\u30d5\u30a1\u30a4\u30eb\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u64cd\u4f5c\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u307e\u3068\u3081","link":"https:\/\/maru.nagoya\/index.php\/2022\/12\/07\/2427\/"}],"jetpack_featured_media_url":"https:\/\/static.maru.nagoya\/wp-content\/uploads\/2022\/12\/29114017\/%E3%82%B5%E3%83%A0%E3%83%8D_matsuda_2.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/maru.nagoya\/index.php\/wp-json\/wp\/v2\/posts\/2427","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/maru.nagoya\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/maru.nagoya\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/maru.nagoya\/index.php\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/maru.nagoya\/index.php\/wp-json\/wp\/v2\/comments?post=2427"}],"version-history":[{"count":21,"href":"https:\/\/maru.nagoya\/index.php\/wp-json\/wp\/v2\/posts\/2427\/revisions"}],"predecessor-version":[{"id":2469,"href":"https:\/\/maru.nagoya\/index.php\/wp-json\/wp\/v2\/posts\/2427\/revisions\/2469"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/maru.nagoya\/index.php\/wp-json\/wp\/v2\/media\/2470"}],"wp:attachment":[{"href":"https:\/\/maru.nagoya\/index.php\/wp-json\/wp\/v2\/media?parent=2427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/maru.nagoya\/index.php\/wp-json\/wp\/v2\/categories?post=2427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/maru.nagoya\/index.php\/wp-json\/wp\/v2\/tags?post=2427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}