{"id":125894,"date":"2024-03-24T20:36:16","date_gmt":"2024-03-24T11:36:16","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92python%e3%81%a7%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e3%81%ab%e3%82%b3%e3%83%94%e3%83%bc%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/"},"modified":"2024-04-04T23:49:20","modified_gmt":"2024-04-04T14:49:20","slug":"%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92python%e3%81%a7%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e3%81%ab%e3%82%b3%e3%83%94%e3%83%bc%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92python%e3%81%a7%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e3%81%ab%e3%82%b3%e3%83%94%e3%83%bc%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","title":{"rendered":"\u30d5\u30a1\u30a4\u30eb\u3092Python\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>shutil\u30e2\u30b8\u30e5\u30fc\u30eb\u306ecopy\u307e\u305f\u306fcopy2\u95a2\u6570\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306b\u4f8b\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-keyword\">import<\/span> shutil\r\n<span class=\"hljs-comment\"># \u62f7\u8d1d\u6587\u4ef6\u5230\u6587\u4ef6\u5939<\/span>\r\nsrc_file = <span class=\"hljs-string\">'path\/to\/source\/file.txt'<\/span>\r\ndst_folder = <span class=\"hljs-string\">'path\/to\/destination\/folder'<\/span>\r\nshutil.copy(src_file, dst_folder)\r\n<\/code><\/pre>\n<p>\u4e0a\u306e\u30b3\u30fc\u30c9\u306fsrc_file\u3092dst_folder\u306b\u30b3\u30d4\u30fc\u3059\u308b\u3002<\/p>\n<p>\u5143\u30c7\u30fc\u30bf\uff08\u66f4\u65b0\u65e5\u6642\u3084\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u306a\u3069\uff09\u3092\u4fdd\u6301\u3057\u305f\u3044\u5834\u5408\u306f\u3001copy \u95a2\u6570\u306e\u4ee3\u308f\u308a\u306b copy2 \u95a2\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>shutil.copy2(src_file, dst_folder)\r\n<\/code><\/pre>\n<p>\u305d\u3046\u3059\u308c\u3070\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u542b\u3081\u3066\u30d5\u30a1\u30a4\u30eb\u3092\u5b8c\u5168\u30b3\u30d4\u30fc\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>shutil\u30e2\u30b8\u30e5\u30fc\u30eb\u306ecopy\u307e\u305f\u306fcopy2\u95a2\u6570\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3067\u304d\u307e\u3059\u3002 \u4ee5\u4e0b\u306b\u4f8b\u3092\u793a\u3057\u307e\u3059\u3002 import shutil # \u62f7\u8d1d\u6587\u4ef6\u5230\u6587\u4ef6\u5939 src_file = &#8216;path\/to\/source\/f [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-125894","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u30d5\u30a1\u30a4\u30eb\u3092Python\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3059\u308b\u65b9\u6cd5 - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/\u30d5\u30a1\u30a4\u30eb\u3092python\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3059\u308b\u65b9\u6cd5\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u30d5\u30a1\u30a4\u30eb\u3092Python\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3059\u308b\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"shutil\u30e2\u30b8\u30e5\u30fc\u30eb\u306ecopy\u307e\u305f\u306fcopy2\u95a2\u6570\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3067\u304d\u307e\u3059\u3002 \u4ee5\u4e0b\u306b\u4f8b\u3092\u793a\u3057\u307e\u3059\u3002 import shutil # \u62f7\u8d1d\u6587\u4ef6\u5230\u6587\u4ef6\u5939 src_file = &#039;path\/to\/source\/f [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/\u30d5\u30a1\u30a4\u30eb\u3092python\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3059\u308b\u65b9\u6cd5\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-24T11:36:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-04T14:49:20+00:00\" \/>\n<meta name=\"author\" content=\"\u590f\u6a39, \u98a8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u590f\u6a39, \u98a8\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92python%e3%81%a7%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e3%81%ab%e3%82%b3%e3%83%94%e3%83%bc%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92python%e3%81%a7%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e3%81%ab%e3%82%b3%e3%83%94%e3%83%bc%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\",\"name\":\"\u30d5\u30a1\u30a4\u30eb\u3092Python\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3059\u308b\u65b9\u6cd5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2024-03-24T11:36:16+00:00\",\"dateModified\":\"2024-04-04T14:49:20+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92python%e3%81%a7%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e3%81%ab%e3%82%b3%e3%83%94%e3%83%bc%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92python%e3%81%a7%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e3%81%ab%e3%82%b3%e3%83%94%e3%83%bc%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92python%e3%81%a7%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e3%81%ab%e3%82%b3%e3%83%94%e3%83%bc%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30d5\u30a1\u30a4\u30eb\u3092Python\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3059\u308b\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d\",\"name\":\"\u590f\u6a39, \u98a8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g\",\"caption\":\"\u590f\u6a39, \u98a8\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/natsukikaze\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92python%e3%81%a7%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e3%81%ab%e3%82%b3%e3%83%94%e3%83%bc%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u30d5\u30a1\u30a4\u30eb\u3092Python\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3059\u308b\u65b9\u6cd5 - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/\u30d5\u30a1\u30a4\u30eb\u3092python\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3059\u308b\u65b9\u6cd5\/","og_locale":"ja_JP","og_type":"article","og_title":"\u30d5\u30a1\u30a4\u30eb\u3092Python\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3059\u308b\u65b9\u6cd5","og_description":"shutil\u30e2\u30b8\u30e5\u30fc\u30eb\u306ecopy\u307e\u305f\u306fcopy2\u95a2\u6570\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3067\u304d\u307e\u3059\u3002 \u4ee5\u4e0b\u306b\u4f8b\u3092\u793a\u3057\u307e\u3059\u3002 import shutil # \u62f7\u8d1d\u6587\u4ef6\u5230\u6587\u4ef6\u5939 src_file = 'path\/to\/source\/f [&hellip;]","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/\u30d5\u30a1\u30a4\u30eb\u3092python\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3059\u308b\u65b9\u6cd5\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-24T11:36:16+00:00","article_modified_time":"2024-04-04T14:49:20+00:00","author":"\u590f\u6a39, \u98a8","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u590f\u6a39, \u98a8"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92python%e3%81%a7%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e3%81%ab%e3%82%b3%e3%83%94%e3%83%bc%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92python%e3%81%a7%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e3%81%ab%e3%82%b3%e3%83%94%e3%83%bc%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","name":"\u30d5\u30a1\u30a4\u30eb\u3092Python\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3059\u308b\u65b9\u6cd5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2024-03-24T11:36:16+00:00","dateModified":"2024-04-04T14:49:20+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92python%e3%81%a7%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e3%81%ab%e3%82%b3%e3%83%94%e3%83%bc%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92python%e3%81%a7%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e3%81%ab%e3%82%b3%e3%83%94%e3%83%bc%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92python%e3%81%a7%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e3%81%ab%e3%82%b3%e3%83%94%e3%83%bc%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"\u30d5\u30a1\u30a4\u30eb\u3092Python\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3059\u308b\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d","name":"\u590f\u6a39, \u98a8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g","caption":"\u590f\u6a39, \u98a8"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/natsukikaze\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92python%e3%81%a7%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e3%81%ab%e3%82%b3%e3%83%94%e3%83%bc%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/125894","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=125894"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/125894\/revisions"}],"predecessor-version":[{"id":298666,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/125894\/revisions\/298666"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=125894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=125894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=125894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}