{"blog_url":"https://www.little-cuckoo.jp/","url":"https://www.little-cuckoo.jp/entry/20110620/1308556606","width":"100%","blog_title":"\u9591\u53e4\u9ce5","height":"190","author_name":"wata_d","title":" Python\u30e1\u30e2","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.little-cuckoo.jp%2Fentry%2F20110620%2F1308556606\" title=\" Python\u30e1\u30e2 - \u9591\u53e4\u9ce5\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","type":"rich","categories":["Python"],"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/wata_d/","image_url":null,"description":"\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3092\u4f7f\u3044\u305f\u3044 global\u3092\u4f7f\u3046\u3002 global_variable = 'hello, world!' def func(): global global_variable # \u3053\u308c print global_variable \u7a7a\u306e\u30eb\u30fc\u30d7\u3092\u56de\u3057\u305f\u3044 \u30eb\u30fc\u30d7\u306b\u9650\u3089\u305a\u3001\u7a7a\u306e\u30d6\u30ed\u30c3\u30af\u3092\u4f5c\u308a\u305f\u3044\u3068\u304d\u306fpass\u6587\u3092\u4f7f\u3046\u3002 for _ in range(0, 100): pass # \u4f55\u3082\u3057\u306a\u3044 \u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u5f15\u6570\u304c\u307b\u3057\u3044 sys\u30e2\u30b8\u30e5\u30fc\u30eb\u306eargv\u304b\u3089\u53d6\u308c\u308b\u3002 import sys print sys.argv \u6761\u4ef6\u6f14\u7b97\u5b50\u3092\u4f7f\u3044\u305f\u3044 Python 2.5\u304b\u3089\u30b5\u30dd\u30fc\u30c8\u3002 \" if else \"\u2026","provider_url":"https://hatena.blog","published":"2011-06-20 16:56:46"}