{"image_url":null,"title":"Python \u30e1\u30e2\u3002\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u81ea\u8eab\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5f97\u308b\u3002","provider_name":"Hatena Blog","author_name":"ino46","author_url":"https://blog.hatena.ne.jp/ino46/","blog_url":"https://ino46.hatenadiary.org/","type":"rich","width":"100%","published":"2010-09-07 14:31:22","url":"https://ino46.hatenadiary.org/entry/20100907/1283837482","provider_url":"https://hatena.blog","description":"Python 2.6.5 \u5b66\u7fd2\u30e1\u30e2 \u4e9b\u7d30\u306a\u3053\u3068\u3067\u3082\u8a18\u9332\u3057\u3066\u3044\u304f\u3088\u3002 \u3053\u3093\u306a\u611f\u3058\u3067\u53d6\u5f97\u3057\u3066\u3044\u305f\u3002\u3069\u3072\u3083\u30fc \u306f\u305a\u304b\u3057\u3044 (/home/hoge/Work/test.py) #!/usr/bin/python #coding: utf-8 from sys import argv print argv[0] \u5b9f\u884c\u7d50\u679c $ python test.py test.py \u3053\u308c\u3060\u3051\u3067 OK \u3067\u3057\u305f\u3002 #!/usr/bin/python #coding: utf-8 print __file__ \u5b9f\u884c\u7d50\u679c $ python test.py test.py \u5f04\u308b #!/usr/bin/python #codi\u2026","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fino46.hatenadiary.org%2Fentry%2F20100907%2F1283837482\" title=\"Python \u30e1\u30e2\u3002\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u81ea\u8eab\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5f97\u308b\u3002 - \u4f55\u306b\u3057\u3066\u3082\u751f\u3063\u304b\u3058\u308a\u306e\u6734\u5ff5\u4ec1\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","blog_title":"\u4f55\u306b\u3057\u3066\u3082\u751f\u3063\u304b\u3058\u308a\u306e\u6734\u5ff5\u4ec1","categories":["Python"]}