<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wata_d</author_name>
  <author_url>https://blog.hatena.ne.jp/wata_d/</author_url>
  <blog_title>閑古鳥</blog_title>
  <blog_url>https://www.little-cuckoo.jp/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>グローバル変数を使いたい globalを使う。 global_variable = 'hello, world!' def func(): global global_variable # これ print global_variable 空のループを回したい ループに限らず、空のブロックを作りたいときはpass文を使う。 for _ in range(0, 100): pass # 何もしない コマンドライン引数がほしい sysモジュールのargvから取れる。 import sys print sys.argv 条件演算子を使いたい Python 2.5からサポート。 &quot; if else &quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.little-cuckoo.jp%2Fentry%2F20110620%2F1308556606&quot; title=&quot; Pythonメモ - 閑古鳥&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>2011-06-20 16:56:46</published>
  <title> Pythonメモ</title>
  <type>rich</type>
  <url>https://www.little-cuckoo.jp/entry/20110620/1308556606</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
