<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takeshi0406</author_name>
  <author_url>https://blog.hatena.ne.jp/takeshi0406/</author_url>
  <blog_title>歩いたら休め</blog_title>
  <blog_url>https://kiito.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>Windows</anon>
  </categories>
  <description>windowsの共有フォルダの中身を、ファイルに書き出すスクリプトです。 バイト先でフォルダ構成を整理するため、共有フォルダの中身をExcelファイルに書き出してほしいと言われ、Pythonのosモジュールを使って楽しました。 # -*- coding: utf-8 -*-import osexportfile = &quot;file.txt&quot;searchdir = &quot;.&quot; #current directory#def ls(directory):# tmp = os.listdir(directory)# list = []# for x in tmp:# if os.path.isfile(dir…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkiito.hatenablog.com%2Fentry%2F2014%2F10%2F11%2F114758&quot; title=&quot;【メモ】Pythonのosモジュールででtreeコマンドっぽい出力 - 歩いたら休め&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-10-11 11:47:58</published>
  <title>【メモ】Pythonのosモジュールででtreeコマンドっぽい出力</title>
  <type>rich</type>
  <url>https://kiito.hatenablog.com/entry/2014/10/11/114758</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
