<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>guccyon</author_name>
  <author_url>https://blog.hatena.ne.jp/guccyon/</author_url>
  <blog_title>guccyonikki</blog_title>
  <blog_url>https://guccyon-2.hatenadiary.org/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>『みんなのPython』を使っての読書会の５回目。４回目が抜けたけどまとめて一気にいってみる。 ４回目の範囲がP.128〜P.167で５回目がP.168〜P.202。 組み込みのデータ型 数値から文字列への変換 整数から16進数表記の文字列への変換にはhex関数を使う。 整数から10進数表記の文字列への変換にはstr関数を使う。 整数から 8進数表記の文字列への変換にはoct関数を使う。 文字列から整数への変換 int関数を使う。第２引数で基数を指定できる。 # 2進数として変換 &gt;int(&quot;10101&quot;,2) 21 # 16進数として変換 &gt;int(&quot;FFF&quot;,16) 4095 # 20進数…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fguccyon-2.hatenadiary.org%2Fentry%2F20080602%2Fp1&quot; title=&quot;Pythonのお勉強５回目 - guccyonikki&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>http://www.assoc-amazon.jp/e/ir?t=depeonthewind-22&amp;l=ur2&amp;o=9</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-06-02 00:00:00</published>
  <title>Pythonのお勉強５回目</title>
  <type>rich</type>
  <url>https://guccyon-2.hatenadiary.org/entry/20080602/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
