{"id":4297,"date":"2019-04-24T16:05:42","date_gmt":"2019-04-24T07:05:42","guid":{"rendered":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/?p=4297"},"modified":"2024-05-30T14:57:05","modified_gmt":"2024-05-30T05:57:05","slug":"%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%abpython%e3%82%92%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/?p=4297","title":{"rendered":"\u30b5\u30fc\u30d0\u30fc\u306bPython\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<div class=\"attention\">\n<p>\u672c\u30ca\u30ec\u30c3\u30b8\u306f\u3001\u672c\u793e\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u8a18\u4e8b\u3092\u7ffb\u8a33\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u6700\u65b0\u60c5\u5831\u306b\u95a2\u3057\u307e\u3057\u3066\u306f\u3001<a href=\"https:\/\/pitstop.manageengine.com\/portal\/en\/kb\/articles\/how-to-setup-python-on-the-server\">\u3053\u3061\u3089<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div>\n<p>\u672c\u8a18\u4e8b\u306fServiceDesk Plus\u30b5\u30fc\u30d0\u30fc\u3067Python\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u00a0\u307e\u305a\u59cb\u3081\u306b\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b5\u30fc\u30d0\u30fc\u4e0a\u306bPython\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\uff08<a href=\"https:\/\/www.python.org\/downloads\/\">\u3053\u3061\u3089\u306e\u5916\u90e8\u30b5\u30a4\u30c8<\/a>\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u53ef\u80fd\u3067\u3059\uff09\u3002\n<div class=\"point\">\u203b\u30d0\u30fc\u30b8\u30e7\u30f33.4.1\u4ee5\u4e0a\u3067\u3042\u308c\u3070\u3069\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3082\u554f\u984c\u306a\u304f\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/div>\n<\/li>\n<li>\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u5b9f\u884c\u3057\u3001\u753b\u9762\u4e0a\u306e\u6307\u793a\u306b\u5f93\u3063\u3066Python\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u5b8c\u4e86\u3057\u307e\u3059\u3002<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u306f\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u4e2d\u306b\u6307\u5b9a\u53ef\u80fd\u3067\u3059\u304c\u3001\u30a2\u30af\u30bb\u30b9\u3057\u3084\u3059\u3044\u30d1\u30b9\u306b\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/li>\n<li>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u5f8c\u3001\u300c\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3057\u3066\u5b9f\u884c\u300d\u307e\u305f\u306f\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3078<br \/>\n\u300cPython\u300d\u307e\u305f\u306f\u300cPy\u300d\u3068\u5165\u529b\u3059\u308b\u3053\u3068\u3067\u3001Python\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf\u3078\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<li>\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u591a\u304f\u306f\u3001API\u30b3\u30fc\u30eb\u3092\u884c\u3063\u3066\u3055\u307e\u3056\u307e\u306a\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\/\u51e6\u7406\u3059\u308b\u305f\u3081\u306b\u300crequests\u300d\u3068\u547c\u3070\u308c\u308b Python \u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<br \/>\n\u3053\u308c\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306ePython\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u306f\u30d0\u30f3\u30c9\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u500b\u5225\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u7ba1\u7406\u8005\u6a29\u9650\u3067\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u958b\u304d\u3001\u300c<strong>py -m pip install requests<\/strong>\u300d\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001requests\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002<\/p>\n<div class=\"point\">\u30ea\u30af\u30a8\u30b9\u30c8\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/pypi.org\/project\/requests\/\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/li>\n<li>xls\u306e\u30a4\u30f3\u30d7\u30c3\u30c8\u3092\u8aad\u307f\u53d6\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u591a\u304f\u306f\u3001\u3055\u307e\u3056\u307e\u306a\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\/\u51e6\u7406\u3059\u308b\u305f\u3081\u306b\u300cxlrd\u300d\u3068\u547c\u3070\u308c\u308bPython\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<br \/>\n\u540c\u69d8\u306b\u30c7\u30d5\u30a9\u30eb\u30c8\u306ePython\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u306f\u30d0\u30f3\u30c9\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u500b\u5225\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u7ba1\u7406\u8005\u6a29\u9650\u3067\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u958b\u304d\u3001\u300c<strong>py -m pip install xlrd<\/strong>\u300d\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001xlrd \u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002<\/p>\n<div class=\"point\">xlrd\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/pypi.org\/project\/xlrd\/\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u30ca\u30ec\u30c3\u30b8\u306f\u3001\u672c\u793e\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u8a18\u4e8b\u3092\u7ffb\u8a33\u3057\u3066\u3044\u307e\u3059\u3002 \u6700\u65b0\u60c5\u5831\u306b\u95a2\u3057\u307e\u3057\u3066\u306f\u3001\u3053\u3061\u3089\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002 \u672c\u8a18\u4e8b\u306fServiceDesk Plus\u30b5\u30fc\u2026 <a href=\"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/?p=4297\" class=\"more\">\uff3b\u7d9a\u304d\u3092\u8aad\u3080\uff3d<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"yes","_lmt_disable":"","footnotes":""},"categories":[7,380],"tags":[2087205,3612150,3612153,3612152,3612151],"class_list":["post-4297","post","type-post","status-publish","format-standard","hentry","category-config-sdp","category-maintenance-sdp","tag-python","tag-3612150","tag-3612153","tag-3612152","tag-3612151"],"modified_by":"yuka","_links":{"self":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/index.php?rest_route=\/wp\/v2\/posts\/4297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4297"}],"version-history":[{"count":10,"href":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/index.php?rest_route=\/wp\/v2\/posts\/4297\/revisions"}],"predecessor-version":[{"id":9681,"href":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/index.php?rest_route=\/wp\/v2\/posts\/4297\/revisions\/9681"}],"wp:attachment":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}