<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>podhmo</author_name>
  <author_url>https://blog.hatena.ne.jp/podhmo/</author_url>
  <blog_title>podhmo's diary</blog_title>
  <blog_url>https://pod.hatenablog.com/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>csv</anon>
  </categories>
  <description>twitterでCSVに色を付けてみるととても見やすいという話があった。実際どうなんだろうと思ったのでテキトウに色を付けて出力してみることにした。 たしかに見やすいかもしれない。 (CSVのサンプルはこの記事から拝借) code import typing as t import sys import csv import itertools CSI = '\033[' RESET = f&quot;{CSI}39m&quot; class ColorfulWriter(csv.DictWriter): def _dict_to_list(self, rowdict: t.Dict[str, str]) -&gt; t…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpod.hatenablog.com%2Fentry%2F2018%2F09%2F22%2F160902&quot; title=&quot;CSVに色を付けてみるととても見やすいという話 - podhmo&amp;#39;s diary&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>https://cdn-ak.f.st-hatena.com/images/fotolife/p/podhmo/20180922/20180922160857.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-09-22 16:09:02</published>
  <title>CSVに色を付けてみるととても見やすいという話</title>
  <type>rich</type>
  <url>https://pod.hatenablog.com/entry/2018/09/22/160902</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
