<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dplusplus</author_name>
  <author_url>https://blog.hatena.ne.jp/dplusplus/</author_url>
  <blog_title>LazyLife@Diary</blog_title>
  <blog_url>https://dplusplus.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>pythonには標準でcursesモジュールがあるものの、windowsでは使えない。 windowsで使える端末制御ライブラリは無いかなーと探してみたところ、Consoleモジュールというものが見つかった。*1 なかなかお手軽に使えるようで面白い。(テスト環境はWin2k + Python2.5.2)文字色を変えて表示。(もちろん背景色も変えられる) unicode文字列を渡せば日本語表示も楽々。 画像では分かりにくいが、キー入力によってカーソル移動。 やっぱりこういうときの現在位置表示は'@'が一番だよね！ とりあえず、しばらくいろいろ試してみることにした。 *1:よりcursesのインタ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdplusplus.hatenablog.com%2Fentry%2F20080330%2Fp1&quot; title=&quot;PythonでCUIをやってみる(windows編) その1 - LazyLife@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/d/dplusplus/20080330/20080330201059.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-03-30 00:00:00</published>
  <title>PythonでCUIをやってみる(windows編) その1</title>
  <type>rich</type>
  <url>https://dplusplus.hatenablog.com/entry/20080330/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
