<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nfnoface</author_name>
  <author_url>https://blog.hatena.ne.jp/nfnoface/</author_url>
  <blog_title>Webプログラムの技術メモ他</blog_title>
  <blog_url>https://nfnoface.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>codecs を使うと良い様子 # -*- conding: utf-8 -*- import codecs import os file = '.{}UTF8.txt'.format(os.path.sep) f = codecs.open(file, 'r', 'utf-8') for lineno, line in enumerate(f, start=1): print(lineno, ':', line.rstrip()) f.close() または # -*- conding: utf-8 -*- import codecs import os file = '.{}UTF8.tx…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnfnoface.hatenablog.com%2Fentry%2F2017%2F02%2F22%2F203000&quot; title=&quot;Python 3.5.1 で文字コード指定してテキストファイルを読み込んだ際のメモ - Webプログラムの技術メモ他&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>2017-02-22 20:30:00</published>
  <title>Python 3.5.1 で文字コード指定してテキストファイルを読み込んだ際のメモ</title>
  <type>rich</type>
  <url>https://nfnoface.hatenablog.com/entry/2017/02/22/203000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
