{"id":45,"date":"2018-09-15T13:25:26","date_gmt":"2018-09-15T04:25:26","guid":{"rendered":"https:\/\/shibaura-it.tokyo\/it-solution\/?p=45"},"modified":"2018-09-15T13:33:51","modified_gmt":"2018-09-15T04:33:51","slug":"%e6%8c%87%e5%ae%9a%e3%81%97%e3%81%9f%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e5%86%85%e3%81%ae%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e5%90%8d%e4%b8%80%e8%a6%a7%e4%bd%9c%e6%88%90","status":"publish","type":"post","link":"https:\/\/shibaura-it.tokyo\/it-solution\/%e6%8c%87%e5%ae%9a%e3%81%97%e3%81%9f%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e5%86%85%e3%81%ae%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e5%90%8d%e4%b8%80%e8%a6%a7%e4%bd%9c%e6%88%90\/","title":{"rendered":"\u6307\u5b9a\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\u4e00\u89a7\u4f5c\u6210"},"content":{"rendered":"<p>\u5b9f\u969b\u306b\u696d\u52d9\u3067\u5fc5\u8981\u306b\u306a\u308a\u4f5c\u6210\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u516c\u958b\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\u306e\u4e00\u89a7\u3092\u3001DirList.txt\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u306b\u51fa\u529b\u3059\u308b\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u904e\u53bb\u306b\u8a18\u9332\u3055\u308c\u305f\u5927\u91cf\u306e\u8a08\u6e2c\u30c7\u30fc\u30bf\u304c\u201d\uffe5\u8a66\u9a13\u6761\u4ef6\uffe5\u65e5\u4ed8\uff08\u7ba1\u7406\u756a\u53f7\uff09\u201d\u306a\u3069\u3068\u3044\u3046\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u4fdd\u7ba1\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u306e\u4e2d\u3067\u6307\u5b9a\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\u306e\u4e00\u89a7\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u3001\u30c7\u30fc\u30bf\u306e\u691c\u7d22\u5bfe\u8c61\u3068\u3059\u308b\u6e96\u5099\u4f5c\u696d\u3068\u3057\u3066\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\u4e00\u89a7\u306e\u4f5c\u6210\u3068\u3044\u3046\u306e\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"font-size:16 line-height:18 lang:python decode:true \" title=\"Gen_DirList.py\"># -*- coding: utf-8 -*-\r\n\r\n# OS\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\r\nimport os   \r\n\r\n# \u691c\u7d22\u5bfe\u8c61\u3068\u306a\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8a2d\u5b9a\r\npath = \"C:\\\\windows\\\\\"\r\n\r\n# \u5909\u6570\u306e\u521d\u671f\u5316\r\nfiles = []\r\n\r\n# \u30d1\u30b9\u306b\u53d6\u308a\u51fa\u3057\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8db3\u3057\u3066\u30d5\u30eb\u30d1\u30b9\u306b\r\nfor x in os.listdir(path):\r\n\tif os.path.isdir(path + x):\t\t\r\n\t\tfiles.append(x)\r\n\r\n# 'DirList.txt'\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u306b\u7d50\u679c\u3092\u66f8\u304d\u51fa\u3059\u70ba\u306e\u51e6\u7406\r\nf = open('DirList.txt','w')         \r\nfor file in files:\r\n    f.write (path + file +',\\n')\r\nf.close()\r\n<\/pre>\n<p>\u3068\u3066\u3082\u5358\u7d14\u306a\u77ed\u3044\u30b3\u30fc\u30c9\u3067\u3059\u304c\u3001\u4eba\u529b\u3067\u4e00\u89a7\u3092\u4f5c\u6210\u3059\u308b\u3088\u308a\u3001\u5727\u5012\u7684\u306b\u77ed\u6642\u9593\u3067\u629c\u3051\u6f0f\u308c\u306a\u304f\u3001\u4e00\u89a7\u306e\u4f5c\u6210\u304c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u540c\u69d8\u306e\u624b\u6cd5\u3067\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\u306e\u4e00\u89a7\u3067\u306f\u306a\u304f\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u4e00\u89a7\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u304c\u3001\u305d\u3061\u3089\u306f\u5225\u306e\u6a5f\u4f1a\u306b\u3054\u7d39\u4ecb\u3055\u305b\u3066\u9802\u304d\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b9f\u969b\u306b\u696d\u52d9\u3067\u5fc5\u8981\u306b\u306a\u308a\u4f5c\u6210\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u516c\u958b\u3057\u307e\u3059\u3002 \u3053\u308c\u306f\u3001\u6307\u5b9a&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/shibaura-it.tokyo\/it-solution\/wp-json\/wp\/v2\/posts\/45"}],"collection":[{"href":"https:\/\/shibaura-it.tokyo\/it-solution\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shibaura-it.tokyo\/it-solution\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shibaura-it.tokyo\/it-solution\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shibaura-it.tokyo\/it-solution\/wp-json\/wp\/v2\/comments?post=45"}],"version-history":[{"count":8,"href":"https:\/\/shibaura-it.tokyo\/it-solution\/wp-json\/wp\/v2\/posts\/45\/revisions"}],"predecessor-version":[{"id":54,"href":"https:\/\/shibaura-it.tokyo\/it-solution\/wp-json\/wp\/v2\/posts\/45\/revisions\/54"}],"wp:attachment":[{"href":"https:\/\/shibaura-it.tokyo\/it-solution\/wp-json\/wp\/v2\/media?parent=45"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shibaura-it.tokyo\/it-solution\/wp-json\/wp\/v2\/categories?post=45"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shibaura-it.tokyo\/it-solution\/wp-json\/wp\/v2\/tags?post=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}