{"id":20105,"date":"2021-11-02T21:00:00","date_gmt":"2021-11-02T12:00:00","guid":{"rendered":"https:\/\/www.hiro345.net\/blogs\/hiro345\/?p=20105"},"modified":"2021-11-03T01:12:16","modified_gmt":"2021-11-02T16:12:16","slug":"%e6%9c%80%e5%bc%b7%e3%81%ae-python-%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e7%9f%a5%e3%82%8a%e3%81%9f%e3%81%84%e3%81%aa%e3%82%89%e3%83%a9%e3%82%ba%e3%83%91%e3%82%a4","status":"publish","type":"post","link":"https:\/\/www.hiro345.net\/blogs\/hiro345\/archives\/20105.html","title":{"rendered":"\u6700\u5f37\u306e Python \u958b\u767a\u74b0\u5883\u306b\u3064\u3044\u3066\u77e5\u308a\u305f\u3044\u306a\u3089\u30e9\u30ba\u30d1\u30a4\u30de\u30ac\u30b8\u30f3 2021\u5e74\u51ac\u53f7\u3092\u8aad\u3082\u3046\uff01"},"content":{"rendered":"<p>\u7de8\u96c6\u90e8\u3088\u308a\u300c<a type=\"amzn\" asin=\"B09K6YT3XH\">\u30e9\u30ba\u30d1\u30a4\u30de\u30ac\u30b8\u30f3 2021\u5e74\u51ac\u53f7 (\u65e5\u7d4cBP\u30d1\u30bd\u30b3\u30f3\u30d9\u30b9\u30c8\u30e0\u30c3\u30af) <\/a>\u300d\u3092\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002<\/p>\n<p>\u3055\u3066\u3001\u81ea\u5206\u306f\u300c\u7279\u96c6 Visual Studio Code\u3067\u6700\u5f37\u306ePython\u958b\u767a\u74b0\u5883\u3092\u4f5c\u308b\u300d\u300c\u7279\u96c65 \u30e9\u30ba\u30d1\u30a4\u3067\u697d\u3057\u3080Linux\u30e9\u30a4\u30d5 \u30c7\u30fc\u30bf\u306e\u8a18\u9332\u3068\u30b0\u30e9\u30d5\u751f\u6210\u3092\u81ea\u52d5\u5316\u3057\u3088\u3046\u300d\u3092\u57f7\u7b46\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002\u76ee\u6b21\u306f\u300c<a href=\"https:\/\/info.nikkeibp.co.jp\/media\/RAS\/atcl\/mag\/102100037\/\">\u30e9\u30ba\u30d1\u30a4\u30de\u30ac\u30b8\u30f3 2021\u5e74\u51ac\u53f7\uff5c\u30e9\u30ba\u30d1\u30a4\u30de\u30ac\u30b8\u30f3<\/a>\u300d\u306b\u3042\u308a\u307e\u3059\u3002<br \/>\n<!--more--><br \/>\n<iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=B09K6YT3XH&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr\" height=\"240\" width=\"320\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>Visual Studo Code \u3092\u4f7f\u3063\u305f Python \u306e\u958b\u767a\u74b0\u5883\u306f\u3001\u3068\u3066\u3082\u5f37\u529b\u306a\u306e\u3067\u3001\u4f7f\u3044\u59cb\u3081\u308b\u3068\u9a5a\u304f\u306f\u305a\u3067\u3059\u3002Python \u306e\u4eee\u60f3\u74b0\u5883\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3057\u3001\u30e9\u30ba\u30d1\u30a4\u7528\u306e Python \u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30ea\u30e2\u30fc\u30c8\u304b\u3089\u958b\u767a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u305f\u308a\u3057\u307e\u3059\u3002pyenv \u306e\u3088\u3046\u306a Python \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u624b\u8efd\u306b\u5207\u308a\u66ff\u3048\u308b\u74b0\u5883\u3067\u306e\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001pydoc \u3084\u3000pytest \u3068\u3044\u3063\u305f\u30c4\u30fc\u30eb\u3082\u4f7f\u3048\u307e\u3059\u3002\u30c7\u30d0\u30c3\u30b0\u6a5f\u80fd\u3082\u4fbf\u5229\u306a\u306e\u3067\u7d39\u4ecb\u3057\u3066\u3044\u307e\u3059\u3002\u3042\u3068\u3001PYTHONPATH\u74b0\u5883\u5909\u6570\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\u3082\u8aac\u660e\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>GitBucket \u306b\u3064\u3044\u3066\u3082\u8aac\u660e\u3057\u3066\u3044\u307e\u3059\u3002\u500b\u4eba\u3067 Git \u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u6271\u3046\u306b\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304f\u3068\u4fbf\u5229\u306a\u306e\u3067\u3001\u4f7f\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002Git \u306b\u3088\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u306f Visual Studio Code \u3068 GitBucket \u3092\u4f7f\u3046\u3068\u672c\u5f53\u306b\u624b\u8efd\u306b\u306a\u308b\u306e\u3067\u3001\u305c\u3072\u8a66\u3057\u3066\u307f\u3066\u3082\u3089\u3044\u305f\u3044\u3067\u3059\u3002<\/p>\n<p>\u30e9\u30ba\u30d1\u30a4\u3067\u30c7\u30fc\u30bf\u306e\u8a18\u9332\u3068\u30b0\u30e9\u30d5\u751f\u6210\u306e\u65b9\u3067\u306f\u3001CSV\u3000\u30d5\u30a1\u30a4\u30eb\u3078\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u3059\u308b\u65b9\u6cd5\u3084\u3001openpyxl \u3092\u4f7f\u3063\u305f Excel \u30d5\u30a1\u30a4\u30eb\u306e\u64cd\u4f5c\u65b9\u6cd5\u306b\u3064\u3044\u3066\u89e3\u8aac\u3092\u3057\u3066\u3044\u307e\u3059\u3002Chart.js \u3092\u4f7f\u3063\u3066 Web \u30da\u30fc\u30b8\u3067\u306e\u30b0\u30e9\u30d5\u8868\u793a\u306b\u3064\u3044\u3066\u3082\u8aac\u660e\u3092\u3057\u3066\u3044\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30ed\u30ac\u30fc\u3068\u3057\u3066\u30e9\u30ba\u30d1\u30a4\u3092\u4f7f\u3046\u3053\u3068\u3082\u591a\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d3\u30b9\u3092\u5229\u7528\u3057\u3066\u30b0\u30e9\u30d5\u3092\u8868\u793a\u3059\u308b\u3068\u3044\u3046\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u30ed\u30fc\u30ab\u30eb\u3067\u5b8c\u7d50\u3057\u305f\u3044\u3068\u304d\u3082\u3042\u308b\u3067\u3057\u3087\u3046\u3002\u305d\u3046\u3044\u3063\u305f\u3053\u3068\u306b\u8208\u5473\u304c\u3042\u308b\u4eba\u306b\u306f\u53c2\u8003\u306b\u306a\u308b\u306f\u305a\u3067\u3059\u3002\u30e9\u30ba\u30d1\u30a4 + \u30bb\u30f3\u30b5\u30fc + Python \u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u3001\u672c\u5f53\u306b\u8272\u3005\u306a\u3053\u3068\u304c\u624b\u8efd\u306b\u3067\u304d\u3066\u4fbf\u5229\u3067\u3059\u3088\u306d\u3002<\/p>\n<p>\u3055\u3066\u3001\u4ed6\u306e\u7279\u96c6\u306e\u4e00\u89a7\u306f\u6b21\u306e\u901a\u308a\u3002<\/p>\n<ul>\n<li>\u3010\u7279\u96c6\u3011 \u30bb\u30f3\u30b5\u30fc\u00d7\u30e9\u30ba\u30d1\u30a4\u3067\u5236\u5fa1\u81ea\u7531\u81ea\u5728<\/li>\n<li>\u3010\u7279\u96c6\u3011 \u53e4\u3044\u30e9\u30ba\u30d1\u30a4\u3092\u30d5\u30eb\u6d3b\u7528! Node-RED\u3067\u697d\u3057\u3044\u96fb\u5b50\u5de5\u4f5c \uff5e\u4eba\u611f\u30bb\u30f3\u30b5\u30fc\u3067LED\u30a4\u30eb\u30df\u30cd\u30fc\u30b7\u30e7\u30f3\u3092\u70b9\u706f\uff5e<\/li>\n<li>\u3010\u7279\u96c6\u3011 \u30bf\u30df\u30e4\u306e\u300c\u30c4\u30a4\u30b9\u30c8\u30af\u30ed\u30fc\u30e9\u30fc\u5de5\u4f5c\u30bb\u30c3\u30c8\u300d\u3092\u30b2\u30fc\u30e0\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3067\u52d5\u304b\u305d\u3046<\/li>\n<\/ul>\n<p>\u6700\u5f8c\u306b\u3001\u3044\u3064\u3082\u306e\u3068\u304a\u308a\u3001\u30e9\u30ba\u30d1\u30a4\u95a2\u9023\u5546\u54c1\u3092\u7d39\u4ecb\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<div>\n<iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=B0891RC99L&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr\" height=\"240\" width=\"320\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=B081YD3VL5&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr\" height=\"240\" width=\"320\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=B07TD42S27&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr\" height=\"240\" width=\"320\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=B07YW3C4LV&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr\" height=\"240\" width=\"320\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=B081ZL6V83&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr\" height=\"240\" width=\"320\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=B07H2WKYBF&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr\" height=\"240\" width=\"320\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=B07VD5L1VY&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr\" height=\"240\" width=\"320\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=B083TKSPJS&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr\" height=\"240\" width=\"320\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<ul>\n<li><a type=\"amzn\" asin=\"B0891RC99L\">Raspberry Pi 4 Model B (8GB) made in UK \u6280\u9069\u30de\u30fc\u30af\u5165 <\/a><\/li>\n<li><a type=\"amzn\" asin=\"B081YD3VL5\">Raspberry Pi4 ModelB 4GB \u30e9\u30ba\u30d9\u30ea\u30fc\u30d1\u30a44 \u6280\u9069\u5bfe\u5fdc\u54c1<\/a><\/li>\n<li><a type=\"amzn\" asin=\"B07TD42S27\">Raspberry Pi 4 Model B\/2GB RS\u7248 <\/a><\/li>\n<li><a type=\"amzn\" asin=\"B07YW3C4LV\">Raspberry Pi 4 Model B 4 GB \u30ad\u30c3\u30c8<\/a><\/li>\n<li><a type=\"amzn\" asin=\"B081ZL6V83\">SunFounder Raspberry Pi 4B \u30b1\u30fc\u30b9+\u30c7\u30e5\u30a2\u30eb\u51b7\u5374\u30d5\u30a1\u30f3,\u30a2\u30eb\u30df\u30cb\u30a6\u30e0\u30e9\u30b8\u30a8\u30fc\u30bf\u30fc\u4ed8\u304d <\/a><\/li>\n<li><a type=\"amzn\" asin=\"B07H2WKYBF\">Miuzei \u6700\u65b0 Raspberry Pi 4 \u30b1\u30fc\u30b9<\/a><\/li>\n<li><a type=\"amzn\" asin=\"B07VD5L1VY\">Geekworm Raspberry Pi(\u30e9\u30ba\u30d9\u30ea\u30fc\u30d1\u30a4) 4 B \u7528\u30a2\u30fc\u30de\u30fc\u91d1\u5c5e\u30b1\u30fc\u30b9<\/a><\/li>\n<li><a type=\"amzn\" asin=\"B083TKSPJS\">SunFounder Raspberry pi NAS \u30b1\u30fc\u30b9<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u7de8\u96c6\u90e8\u3088\u308a\u300c\u30e9\u30ba\u30d1\u30a4\u30de\u30ac\u30b8\u30f3 2021\u5e74\u51ac\u53f7 (\u65e5\u7d4cBP\u30d1\u30bd\u30b3\u30f3\u30d9\u30b9\u30c8\u30e0\u30c3\u30af) \u300d\u3092\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002 \u3055\u3066\u3001\u81ea\u5206\u306f\u300c\u7279\u96c6 Visual Studio Code\u3067\u6700\u5f37\u306ePython\u958b\u767a\u74b0\u5883\u3092\u4f5c\u308b\u300d\u300c\u7279 &hellip; <a href=\"https:\/\/www.hiro345.net\/blogs\/hiro345\/archives\/20105.html\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[309,12,6],"tags":[1070,994,1188,1227],"class_list":["post-20105","post","type-post","status-publish","format-standard","hentry","category-article","category-book","category-linux","tag-gitbucket","tag-raspberry-pi","tag-visual-studio-code","tag-1227"],"_links":{"self":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/20105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/comments?post=20105"}],"version-history":[{"count":3,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/20105\/revisions"}],"predecessor-version":[{"id":20108,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/20105\/revisions\/20108"}],"wp:attachment":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/media?parent=20105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/categories?post=20105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/tags?post=20105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}