<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tmg1998</author_name>
  <author_url>https://blog.hatena.ne.jp/tmg1998/</author_url>
  <blog_title>TIL</blog_title>
  <blog_url>https://tmg0525.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>Pythonでの文字列の一部を取得したいときにはスライスという機能を使う。 スライスは[start:end:step]となっている。また、startとendはオフセット(0から)となっていることに注意する。オフセットは先頭から右に向かって0, 1, ...となり、末尾から左に向かって-1, -2, ...となる。 例） &gt;&gt;&gt; s = 'abcdefghijklmnopqrstuvwxyz' 何も指定しない すべてを取り出すには[:]でできる。 &gt;&gt;&gt; s[:] 'abcdefghijklmnopqrstuvwxyz' startのみ [start:]とstartだけ指定すると、startオフ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftmg0525.hatenadiary.jp%2Fentry%2F2017%2F10%2F18%2F080329&quot; title=&quot;スライス - Python - TIL&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://images-fe.ssl-images-amazon.com/images/I/51%2Bxv65qdBL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-10-18 08:03:29</published>
  <title>スライス - Python</title>
  <type>rich</type>
  <url>https://tmg0525.hatenadiary.jp/entry/2017/10/18/080329</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
