{"url":"https://akkt.hatenadiary.org/entry/20070406/1175885636","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakkt.hatenadiary.org%2Fentry%2F20070406%2F1175885636\" title=\"Python\u306e\u62e1\u5f35\u30e2\u30b8\u30e5\u30fc\u30eb\u52c9\u5f37\u30e1\u30e22 - rants\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://akkt.hatenadiary.org/","published":"2007-04-06 03:53:56","version":"1.0","title":"Python\u306e\u62e1\u5f35\u30e2\u30b8\u30e5\u30fc\u30eb\u52c9\u5f37\u30e1\u30e22","provider_url":"https://hatena.blog","width":"100%","height":"190","categories":["Python"],"image_url":null,"author_url":"https://blog.hatena.ne.jp/akkt/","provider_name":"Hatena Blog","author_name":"akkt","blog_title":"rants","description":"C\u306e\u95a2\u6570\u3068Python\u3092\u3064\u306a\u3052\u308b\u305f\u3081\u306e\u6e96\u5099\u3002 \u30e1\u30bd\u30c3\u30c9\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u308b\u3002 static PyMethodDef SpamMethods[] = { ... {\"system\", spam_system, METH_VARARGS, \"Execute a shell command.\"}, ... {NULL, NULL, 0, NULL} /* Sentinel */ }; PyMethodDef\u306f \u540d\u524d C\u95a2\u6570\u3078\u306e\u30dd\u30a4\u30f3\u30bf \u3069\u306e\u3088\u3046\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u304b\u6307\u5b9a\u3059\u308b\u30d5\u30e9\u30b0 docstring METH_VARARGS\u3060\u3068 spam_system(PyObject *self, PyObject *arg\u2026"}