<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>twx</author_name>
  <author_url>https://blog.hatena.ne.jp/twx/</author_url>
  <blog_title>ひろこま Hack Log</blog_title>
  <blog_url>https://hacker.hatenadiary.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>色付きの出力をしよう ここでは、pythonで色付きの出力をする方法をご紹介します。 以下のような色付きprint関数cprintを作りました。 class PrintColor: END = '\033[0m' BLACK = '\033[30m' RED = '\033[31m' GREEN = '\033[32m' YELLOW = '\033[33m' BLUE = '\033[34m' PURPLE = '\033[35m' CYAN = '\033[36m' WHITE = '\033[37m' DEFAULT = '\033[39m' def cprint(*args, colo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhacker.hatenadiary.com%2Fentry%2F2019%2F03%2F22%2F005211&quot; title=&quot;pythonで色付きのprintをする方法 - ひろこま Hack Log&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/t/twx/20190322/20190322004925.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-03-22 00:52:11</published>
  <title>pythonで色付きのprintをする方法</title>
  <type>rich</type>
  <url>https://hacker.hatenadiary.com/entry/2019/03/22/005211</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
