<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ohshige</author_name>
  <author_url>https://blog.hatena.ne.jp/ohshige/</author_url>
  <blog_title>技術とかボドゲとかそんな話をしたい</blog_title>
  <blog_url>https://ohshige.hatenablog.com/</blog_url>
  <categories>
    <anon>NLP100</anon>
    <anon>Python</anon>
  </categories>
  <description>はじめに 今回は言語処理100本ノック 第2章: UNIXコマンドの基礎です。 これまでの ohshige.hatenablog.com 第2章: UNIXコマンドの基礎 Python 3.7.0でやっていきます。 問題の解釈違い、間違い等ありましたら、教えていただけると幸いです。 github.com 10. 行数のカウント 問題 行数をカウントせよ．確認にはwcコマンドを用いよ． 解答＆出力 with open(&quot;hightemp.txt&quot;) as f: n = 0 for line in f: n += 1 print(n) 24 ひとこと readlinesで全体を取得してlenでも良…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fohshige.hatenablog.com%2Fentry%2F2019%2F03%2F11%2F190000&quot; title=&quot;言語処理100本ノック 第2章: UNIXコマンドの基礎 - 技術とかボドゲとかそんな話をしたい&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>2019-03-11 19:00:00</published>
  <title>言語処理100本ノック 第2章: UNIXコマンドの基礎</title>
  <type>rich</type>
  <url>https://ohshige.hatenablog.com/entry/2019/03/11/190000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
