{"height":"190","author_url":"https://blog.hatena.ne.jp/pidekazu/","description":"python\u3067\u7ba1\u7406\u8005\u6a29\u9650\u304b\u3069\u3046\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u306b\u306f\u3001ctypes\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3066win32API\u3092\u76f4\u63a5\u53e9\u304f\u3057\u304b\u306a\u3044\u3088\u3046\u3060\u3002 import ctypes is_admin = ctypes.windll.shell32.IsUserAnAdmin() UAC\u3067\u7ba1\u7406\u8005\u6a29\u9650\u306b\u6607\u683c\u3055\u305b\u308b\u306b\u306f\u3061\u3087\u3063\u3068\u5927\u5909\u305d\u3046\u3002How to run python script with elevated privilage on windows Request UAC elevation from within a Python script?","image_url":null,"width":"100%","url":"https://pdkz.hateblo.jp/entry/20140929/1411968951","categories":["Python"],"blog_title":"Style","published":"2014-09-29 14:35:51","author_name":"pidekazu","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpdkz.hateblo.jp%2Fentry%2F20140929%2F1411968951\" title=\"\u7ba1\u7406\u8005\u6a29\u9650\u306e\u30c1\u30a7\u30c3\u30af - Style\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"\u7ba1\u7406\u8005\u6a29\u9650\u306e\u30c1\u30a7\u30c3\u30af","blog_url":"https://pdkz.hateblo.jp/","version":"1.0","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","type":"rich"}