{"categories":["Python"],"provider_name":"Hatena Blog","published":"2021-04-04 22:09:12","version":"1.0","height":"190","width":"100%","author_name":"derwind","image_url":null,"blog_url":"https://randommemory.hatenablog.com/","url":"https://randommemory.hatenablog.com/entry/2021/04/04/220912","provider_url":"https://hatena.blog","blog_title":"\u3089\u3093\u3060\u3080\u306a\u8a18\u61b6","author_url":"https://blog.hatena.ne.jp/derwind/","description":"Python \u306e\u95a2\u6570\u30b3\u30fc\u30eb - \u3089\u3093\u3060\u3080\u306a\u8a18\u61b6 \u306e\u7d9a\u304d\u3002Python 3.9.3 \u3092\u30d3\u30eb\u30c9\u3057\u3066\u52d5\u4f5c\u3092\u898b\u3066\u307f\u308b\u3002 # -*- coding: utf-8 -*- import os if __name__ == \"__main__\": os.system(\"ls\") \u307f\u305f\u3044\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u3044\u3066 test.py \u3068\u3057\u3066\u4fdd\u5b58\u3057\u3066\u304a\u304f\u3002 \u30d3\u30eb\u30c9\u3057\u305f Python 3.9.3 \u306b\u5bfe\u3057\u3001https://github.com/python/cpython/blob/v3.9.3/Modules/posixmodule.c#L4717 \u304c os.system \u306e\u5b9f\u88c5\u3067\u3057\u3087\u3046\u3068\u5f53\u305f\u308a\u3092\u3064\u3051\u3066\u304a\u3044\u3066\u3001 $ gdb\u2026","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2021%2F04%2F04%2F220912\" title=\"Python \u306e\u95a2\u6570\u30b3\u30fc\u30eb (2) - \u3089\u3093\u3060\u3080\u306a\u8a18\u61b6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Python \u306e\u95a2\u6570\u30b3\u30fc\u30eb (2)"}