<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gsf_zero1</author_name>
  <author_url>https://blog.hatena.ne.jp/gsf_zero1/</author_url>
  <blog_title>いろいろ備忘録日記</blog_title>
  <blog_url>https://devlights.hatenablog.com/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>概要 relogコマンド久しぶりに使ったので、忘れないうちにメモメモ。 特定のフォルダ配下にパフォーマンスカウンタで取得したデータが バイナリ(blg) で保存されてて それをcsvに変換したいって事がありました。 どの言語でやっても対して手間は変わらないかもしれませんが、こういうのはやっぱりスクリプト言語でサクッとやったほうが楽です。 使うモジュールとしては pathlibモジュール使って対象ファイルを再帰的に抽出 subprocessモジュール使ってコマンドの実行 です。この２つのモジュールは使い方覚えるとホント便利です。 あと、pathlib.Path.with_suffix()が何気に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F2018%2F05%2F17%2F144254&quot; title=&quot;Pythonメモ-78 (relogコマンドを再帰的に実行してblgをcsvに変換) (windows, relog, pathlib, subprocess, with_suffix) - いろいろ備忘録日記&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>2018-05-17 14:42:54</published>
  <title>Pythonメモ-78 (relogコマンドを再帰的に実行してblgをcsvに変換) (windows, relog, pathlib, subprocess, with_suffix)</title>
  <type>rich</type>
  <url>https://devlights.hatenablog.com/entry/2018/05/17/144254</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
