{"id":120,"date":"2026-06-11T10:54:51","date_gmt":"2026-06-11T01:54:51","guid":{"rendered":"https:\/\/fideafact.ddns.net\/?p=120"},"modified":"2026-06-11T19:55:03","modified_gmt":"2026-06-11T10:55:03","slug":"python%e3%81%a8%e3%81%84%e3%81%86%e5%8b%95%e7%89%a9%e3%83%bb%e3%83%bb%e3%83%bb%e3%81%84%e3%82%84%e8%a8%80%e8%aa%9e%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%80%81led%e3%82%92%e5%88%b6%e5%be%a1%e3%81%99","status":"publish","type":"post","link":"https:\/\/fideafact.ddns.net\/?p=120","title":{"rendered":"Python\u3068\u3044\u3046\u52d5\u7269\u30fb\u30fb\u30fb\u3044\u3084\u8a00\u8a9e\u3092\u4f7f\u3063\u3066\u3001LED\u3092\u5236\u5fa1\u3059\u308b"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/fideafact.fideafact.fideafact.ddns.net\/sensor\/data\/?p=118\">\u524d\u56de<\/a>\u306f\u3001\u30b3\u30de\u30f3\u30c9\u304b\u3089GPIO\u3092\u5236\u5fa1\u3057\u307e\u3057\u305f\u304c\u3001\u300c\u4e00\u3005\u9762\u5012\u3058\u3083\u3093\uff01\u81ea\u52d5\u3067\u306a\u3093\u3068\u304b\u305b\u30fc\u3088\uff01\u300d\u3068\u3044\u3046\u4e8b\u3067\u3001Python\uff08\u3071\u3044\u305d\u3093\uff09\u3068\u3044\u3046\u30d7\u30ed\u30b0\u30e9\u30e0\u8a00\u8a9e\u3092\u4f7f\u3063\u3066\u5236\u5fa1\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python\u3063\u3066\u4f55\uff1f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Python\uff08\u30d1\u30a4\u30bd\u30f3\uff09<\/strong>\u3068\u306f\u3001<mark><strong>1991\u5e74\u306b\u516c\u958b\u3055\u308c\u305f\u3001<\/strong><strong>\u30b7\u30f3\u30d7\u30eb\u3067\u8aad\u307f\u3084\u3059\u3044\u6587\u6cd5\u304c\u7279\u5fb4\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e<\/strong><\/mark>\u3067\u3059\u3002 <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u521d\u5fc3\u8005\u306b\u3068\u3063\u3066\u5b66\u3073\u3084\u3059\u3044\u4e00\u65b9\u3067\u3001Google\u3001Meta\u3001Netflix\u3068\u3044\u3063\u305f\u4e16\u754c\u7684\u306a\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u4f01\u696d\u3067\u3082\u4e3b\u8981\u306a\u8a00\u8a9e\u3068\u3057\u3066\u63a1\u7528\u3055\u308c\u3066\u3044\u308b\u975e\u5e38\u306b\u5f37\u529b\u306a\u8a00\u8a9e\u3067\u3059\u3002 <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\ude80 Python\u306e\u4e3b\u306a3\u3064\u306e\u7279\u5fb4<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30b3\u30fc\u30c9\u304c\u30b7\u30f3\u30d7\u30eb<\/strong>\uff1a\u7121\u99c4\u306a\u8a18\u8ff0\u304c\u5c11\u306a\u304f\u3001\u8ab0\u304c\u66f8\u3044\u3066\u3082\u540c\u3058\u3088\u3046\u306a\u8aad\u307f\u3084\u3059\u3044\u30b3\u30fc\u30c9\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u8c4a\u5bcc<\/strong>\uff1a\u4fbf\u5229\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u90e8\u54c1\uff08\u30e9\u30a4\u30d6\u30e9\u30ea\uff09\u304c\u5927\u91cf\u306b\u3042\u308b\u305f\u3081\u3001\u8907\u96d1\u306a\u6a5f\u80fd\u3082\u77ed\u6642\u9593\u3067\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u4e16\u754c\u7684\u306a\u4eba\u6c17<\/strong>\uff1a\u4e16\u754c\u4e2d\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u30e9\u30f3\u30ad\u30f3\u30b0\u3067\u5e38\u306b1\u4f4d\u3092\u4e89\u3046\u307b\u3069\u306e\u9ad8\u3044\u9700\u8981\u3068\u4eba\u6c17\u304c\u3042\u308a\u307e\u3059\u3002 [<a href=\"https:\/\/www.rd.ntt\/se\/media\/article\/0074.html\">1<\/a>, <a href=\"http:\/\/biostat.med.saga-u.ac.jp\/Python\/index.html\">2<\/a>, <a href=\"https:\/\/www.internetacademy.jp\/it\/programming\/programming-basic\/what-is-python.html\">3<\/a>]<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\udee0\ufe0f Python\u3067\u300c\u3067\u304d\u308b\u3053\u3068\u300d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6c4e\u7528\u6027\u304c\u9ad8\u304f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5e45\u5e83\u3044\u5206\u91ce\u3067\u6d3b\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>AI\uff08\u4eba\u5de5\u77e5\u80fd\uff09\u30fb\u6a5f\u68b0\u5b66\u7fd2\u306e\u958b\u767a<\/strong>\uff1aChatGPT\u3092\u306f\u3058\u3081\u3068\u3059\u308bAI\u30e2\u30c7\u30eb\u306e\u69cb\u7bc9\u3084\u7814\u7a76\u3067\u6700\u3082\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30c7\u30fc\u30bf\u5206\u6790\u30fb\u30b0\u30e9\u30d5\u5316<\/strong>\uff1a\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u96c6\u8a08\u3057\u3001\u30d3\u30b8\u30cd\u30b9\u3084\u79d1\u5b66\u306e\u7814\u7a76\u306b\u5f79\u7acb\u3066\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u696d\u52d9\u306e\u81ea\u52d5\u5316\u30fb\u52b9\u7387\u5316<\/strong>\uff1aExcel\u3078\u306e\u30c7\u30fc\u30bf\u5165\u529b\u3001Web\u30b5\u30a4\u30c8\u304b\u3089\u306e\u81ea\u52d5\u60c5\u5831\u53ce\u96c6\uff08\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\uff09\u304c\u53ef\u80fd\u3067\u3059\u3002<\/li>\n\n\n\n<li><strong>Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a<\/strong>\uff1aYouTube\u3084Instagram\u306a\u3069\u3001\u79c1\u305f\u3061\u304c\u65e5\u5e38\u7684\u306b\u4f7f\u3046\u5927\u898f\u6a21\u306aWeb\u30b5\u30fc\u30d3\u30b9\u306e\u88cf\u5074\u3092\u652f\u3048\u3066\u3044\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u8c46\u77e5\u8b58\u306f\u3053\u306e\u4f4d\u306b\u3057\u3066\u304a\u3044\u3066\u3001\u5b9f\u4f5c\u696d\u958b\u59cb<br>LED\u3000\uff08+\uff09\uff08-\uff09\u3069\u3063\u3061\u3067\u3082\u3044\u3051\u3069\u3001\u62b5\u6297\u03a9300\u03a9\u4ed8\u3051\u3066\u3002\u3067\u304d\u305f\u3089\u3001LED\uff08+\uff09\u3092GPIO17\u306b\u63a5\u7d9a\u3001LED\uff08-\uff09\u306fGND\u306b\u63a5\u7d9a\u3002\u3069\u3053\u304b\u89e3\u3089\u306a\u3044\u5834\u5408\u306f\u30b3\u30de\u30f3\u30c9\u306b\u3010pinout\u3011\u3068\u6253\u3064\u3079\u3057\uff01<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u304f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><br>\uff08\u300c\u30b9\u30af\u30ea\u30d7\u30c8\u300d\u3068\u306f\u3001<mark>\u8907\u96d1\u306a\u5909\u63db\u4f5c\u696d\uff08\u30b3\u30f3\u30d1\u30a4\u30eb\uff09\u3092\u5fc5\u8981\u3068\u305b\u305a\u3001\u4eba\u9593\u304c\u66f8\u3044\u305f\u547d\u4ee4\u6587\u3092\u305d\u306e\u307e\u307e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306b\u8aad\u307f\u8fbc\u307e\u305b\u3066<strong>\u5373\u5ea7\u306b\u5b9f\u884c\u3067\u304d\u308b\u7c21\u6613\u7684\u306a\u30d7\u30ed\u30b0\u30e9\u30e0<\/strong><\/mark>\u306e\u3053\u3068\uff09<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u306f\u3044\u3001\u3053\u308c\u3092\u3069\u3046\u3084\u3063\u3066\u30b3\u30de\u30f3\u30c9\u304b\u3089\u66f8\u304f\u306e\uff1f\u3067\u3059\u304c\u3002\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo mkdir scripts\n&#91;sudo] password for pi:\n$ ls\nscripts \n$ cd scripts\n~\/scripts $\n~\/scripts $ sudo nano LED_ONOFF.py\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u306e\u89e3\u8aac\u3092\u3059\u308b\u3068\u3001<br>\u6700\u521d\u306b\u300csudo mkdir scripts\u300dscripts\u3063\u3066\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u4f5c\u3063\u3066\uff01\u3063\u3066\u6307\u793a\u3002Windows\u3060\u3068\u300c\u65b0\u898f\u4f5c\u6210\u300d\uff0d\u300c\u30d5\u30a9\u30eb\u30c0\u300d\u307f\u305f\u3044\u306a\u611f\u3058\u3002<br><br>\u7d9a\u3044\u3066\u4eca\u306e\u30e6\u30fc\u30b6\u30fc\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u308c\u3066\uff01\u3063\u3066\u51fa\u3066\u304f\u308b\u3002\u9762\u5012\u3060\u3088\u306d\u3002\u3067\u3082\u6253\u3064\u3002\u6253\u3063\u3066\u3082\u306a\u3093\u3082\u51fa\u3066\u3053\u306a\u3044\u3051\u3069\u5927\u4e08\u592b\u3002\u9593\u9055\u3048\u305f\u3089\u3001\u4f55\u5ea6\u3082\u300c[sudo] password for pi:\u300d\u3063\u3066\u51fa\u3066\u304f\u308b\u304b\u3089\u3002<br><br>\u7d9a\u3044\u3066\u300cls\u300d\u30ea\u30b9\u30c8\u898b\u305b\u3066\u306e\u547d\u4ee4ls=List\u3060\u308d\u3046\u306d\u3002<br><br>\u3093\u3067\u300ccd scripts\u300dsxripts\u306b\u79fb\u52d5\u3057\u3066\u3063\u3066\u547d\u4ee4\u3002<br><br>\u305d\u3046\u3057\u305f\u3089~\/scripts $\u3063\u3066\u306a\u308b\u3002<br><br>\u3053\u3053\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u300csudo nano LED_ONOFF.py\u300d\u3063\u3066\u66f8\u3044\u305f\u3002<br><br>\u6b21\u306b\u6700\u521d\u306b<strong>\u300csudo\u300d<\/strong>\u3063\u3066\u5165\u308c\u308b\u3051\u3069\u3001\u3053\u308c\u306f\u3001\u4e00\u822c\u30e6\u30fc\u30b6\u30fc\u304c\u7ba1\u7406\u8005\uff08root\uff09\u6a29\u9650\u306a\u3069\u300c\u4ed6\u306e\u30e6\u30fc\u30b6\u30fc\u306e\u6a29\u9650\u300d\u3092\u4f7f\u3063\u3066\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u30b3\u30de\u30f3\u30c9\u306a\u3093\u3067\u3059\u3002<br><br>\u7d9a\u3044\u3066<strong>\u300cnano\u300d<\/strong>\u3063\u3066\u306e\u304c\u3001\u306a\u3093\u304b\u66f8\u304f\u5974\u3067\u3059\u306d\u3002\u521d\u3081\u3066<strong>\u300cnano\u300d<\/strong><br>\u3092\u4f7f\u3046\u3068\u300c[sudo] password for pi:\u300d\u304c\u51fa\u3066\u304f\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3002<br><br>\u305d\u3057\u3066\u3001<strong>\u300cnano\u300d<\/strong>\u306e\u5f8c\u306b\u7d9a\u304f\u306e\u304c\u3001<strong>\u300c\u30c7\u30fc\u30bf\u306e\u540d\u524d\u300d<\/strong>\u3067\u3059\u3002\u307e\u3042\u3001\u540d\u524d\u306f\u4f55\u3067\u3082\u3044\u3044\u3051\u3069\u6700\u5f8c\u306b<strong>\u300c.py\u300d<\/strong>\u3092\u4ed8\u3051\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3002<br>\u8981\u306f\u62e1\u5f35\u5b50\u3002<br>\u3053\u308c\u3067\u300c\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u4f55\u306a\u306e\uff1f\u4f55\u3067\u52d5\u304b\u305b\u308b\u306e\uff1f\u300d\u3063\u3066\u805e\u304b\u308c\u306a\u304f\u3066\u6e08\u3080\u3002Windows\u306b\u3082\u30d5\u30a1\u30a4\u30eb\u306b\u62e1\u5f35\u5b50\u306f\u5fc5\u305a\u4ed8\u3044\u3066\u307e\u3059\u3002<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u3067\u306f\u3001\u306a\u305c sudo \u3092\u4f7f\u3046\u306e\u304b\uff1f<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5b89\u5168\u6027\u306e\u5411\u4e0a\uff1a\u5e38\u306b\u7ba1\u7406\u8005\uff08root\uff09\u6a29\u9650\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u7d9a\u3051\u3066\u3044\u308b\u3068\u3001\u8aa4\u64cd\u4f5c\u3067\u30b7\u30b9\u30c6\u30e0\u3092\u7834\u58ca\u3059\u308b\u5371\u967a\u6027\u304c\u9ad8\u307e\u308a\u307e\u3059\u3002\u666e\u6bb5\u306f\u4e00\u822c\u30e6\u30fc\u30b6\u30fc\u3092\u4f7f\u3044\u3001\u5fc5\u8981\u306a\u6642\u3060\u3051 sudo \u3092\u901a\u3059\u3053\u3068\u3067\u30ea\u30b9\u30af\u3092\u6e1b\u3089\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u5c65\u6b74\u306e\u8a18\u9332\uff1a\u8ab0\u304c\u3001\u3044\u3064\u3001\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u305f\u304b\u304c\u30ed\u30b0\u306b\u6b8b\u308b\u305f\u3081\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u76e3\u67fb\u3084\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<br><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>from gpiozero import LED\nfrom time import sleep\n\n# GPIO17\u756a\u30d4\u30f3\u306bLED\u3092\u63a5\u7d9a\u3057\u305f\u5834\u5408\u3002\u9055\u3046\u30d4\u30f3\u3060\u3063\u305f\u3089\u3001\u305d\u306e\u30d4\u30f3\u756a\u53f7\u3092\u8a18\u8f09\uff0817\uff09\u2192\uff0812\uff09\u3068\u304b\u3002\u77e5\u3089\u3093\u3051\u3069\nled = LED(17)\n\nwhile True:\n    led.on()  # LED\u3092\u70b9\u706f\n    sleep(1)  # 1\u79d2\u5f85\u6a5f\u3000\u3053\u308c\u30920.5\u3068\u304b\u306b\u3057\u305f\u308a\u3057\u3066\u5909\u3048\u308b\u3068\u9762\u767d\u3044\u304b\u3089\u3084\u3063\u3066\u307f\u3066\u3002\n    led.off() # LED\u3092\u6d88\u706f\n    sleep(1)  # 1\u79d2\u5f85\u6a5f\u3000\u3053\u308c\u30920.1\u3068\u304b\u306b\u3057\u305f\u308a\u3057\u3066\u5909\u3048\u308b\u3068\u9762\u767d\u3044\u304b\u3089\u3084\u3063\u3066\u307f\u3066\u3002<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b3\u30d4\u30da\u3067\u3082\u624b\u6253\u3061\u3057\u3066\u3082\u3044\u3044\u3051\u3069\u3001\u514e\u306b\u89d2\u3001\u8a18\u8f09\u3057\u305f\u3089\u3001ctrl+o\u62bc\u3057\u3066\u4fdd\u5b58\u3002\u305d\u3057\u3066ctrl+X\u3067\u9589\u3058\u308b\u3067\u3059\u3002\u3053\u308c\u3067\u5143\u306e\u753b\u9762\u306b\u623b\u308b\u3002\u305d\u3046\u3057\u305f\u3089\u3001\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3064\uff01\u3079\u3057\uff01<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>~\/scripts $ sudo python LED_ONOFF.py<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u3067LED\u304c\u70b9\u6ec5\u3057\u59cb\u3081\u307e\u3059\u3088\u306d\u3002\u3057\u306a\u3044\u5834\u5408\u306f\u5927\u4f53\u914d\u7dda\u30df\u30b9\u3002\u826f\u304f\u898b\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u79c1\u3082\u3088\u304f\u9593\u9055\u3048\u308b\u30fb\u30fb\u30fb<br><strong>\uff0a\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\uff08\u30d7\u30ed\u30b0\u30e9\u30e0\uff09\u3092\u6b62\u3081\u308b\u306b\u306f\u30ad\u30fc\u30dc\u30fc\u30c9\u3067<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">ctrl+C<\/mark>\u3067\u3059\u3002<\/strong>\u305d\u3046\u3057\u306a\u3044\u3068\u30b3\u30de\u30f3\u30c9\u6253\u3066\u306a\u304f\u306a\u308b\u3002\u3053\u308c\u9762\u5012\u3060\u3088\u306d\u3002\u3067\u3082\u3001\u3084\u3089\u306a\u3044\u3068\u4f55\u3082\u3067\u304d\u306a\u304f\u306a\u308b\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u3055\u3066\u3001\u8d85\u5b9a\u756a\u306a\u5974\u3002\u901a\u79f0\u300cL\u30c1\u30ab\u300d\u3067\u3059\u308f\u3002\u3053\u308c\u3092\u8aac\u660e\u3059\u308b\u3068<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u5149\u308b<\/strong> \u2794 1\u79d2\u5f85\u3064<\/li>\n\n\n\n<li><strong>\u6d88\u3048\u308b<\/strong> \u2794 1\u79d2\u5f85\u3064<\/li>\n\n\n\n<li>(\u6700\u521d\u306b\u623b\u308b) <strong>\u5149\u308b<\/strong> \u2794 1\u79d2\u5f85\u3064\u2026<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u3092\u4eba\u9593\u304c\u6b62\u3081\u306a\u3044\u9650\u308a\u3001\u30e9\u30ba\u30d1\u30a4\u306f\u5065\u6c17\u306b\u305a\u30fc\u30fc\u30fc\u3063\u3068\u3084\u308a\u7d9a\u3051\u307e\u3059\u3002\u3053\u308c\u304c\u300cL\u30c1\u30ab\uff08LED\u70b9\u6ec5\uff09\u300d\u3067\u3059\uff01<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u66f4\u306b\u733f\u3067\u3082\u89e3\u308b\u3088\u3046\u306b\u3059\u308b\u89e3\u8aac<br>\uff08\u30b9\u30af\u30ea\u30d7\u30c8\u7de8\uff09<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u2460 \u9053\u5177\u3092\u6e96\u5099\u3059\u308b\u30d1\u30fc\u30c8<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>from gpiozero import LED\nfrom time import sleep<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u89e3\u8aac\uff1a<\/strong> \u300c\u4eca\u304b\u3089<strong>LED<\/strong>\u3092\u52d5\u304b\u3059\u9053\u5177\u3068\u3001\u6642\u9593\u3092\u6b62\u3081\u3066<strong>\u5f85\u3064\uff08sleep\uff09<\/strong>\u9053\u5177\u3092\u4f7f\u3046\u304b\u3089\u3001\u5f15\u304d\u51fa\u3057\u304b\u3089\u51fa\u3057\u3068\u3044\u3066\uff01\u300d\u3068\u3044\u3046\u6e96\u5099\u306e\u5408\u56f3\u3067\u3059\u3002\u307e\u3042\u3001\u5f15\u304d\u51fa\u3057\u306b\u7121\u304b\u3063\u305f\u3089\u30a2\u30ab\u30f3\u3051\u3069\u306d\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u2461 \u30d4\u30f3\u3092\u6307\u5b9a\u3059\u308b\u30d1\u30fc\u30c8<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>led = LED(17)<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u89e3\u8aac\uff1a<\/strong> \u300c<strong>17\u756a\u306e\u30d4\u30f3<\/strong>\u306bLED\u3092\u7e4b\u3044\u3060\u304b\u3089\u3001\u3053\u308c\u304b\u3089\u306f\u3053\u306e\u30d4\u30f3\u306e\u3053\u3068\u3092\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4e2d\u3067<strong>\u300eled\u300f<\/strong>\u3063\u3066\u547c\u3076\u306d\uff01\u300d\u3068\u3044\u3046\u540d\u524d\u4ed8\u3051\u3067\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u2462 \u305a\u3063\u3068\u7e70\u308a\u8fd4\u3059\u30d1\u30fc\u30c8<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>while True:<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u89e3\u8aac\uff1a<\/strong> \u300c\u3053\u3053\u304b\u3089\u4e0b\u306e\u547d\u4ee4\u306f\u3001\u30e9\u30ba\u30d1\u30a4\u306e\u96fb\u6e90\u3092\u5207\u308b\u307e\u3067<strong>\u305a\u30fc\u30fc\u30fc\u3063\u3068\u7121\u9650\u306b\u7e70\u308a\u8fd4\u3057\u3066\u306d\uff01<\/strong>\u300d\u3068\u3044\u3046\u3001\u7121\u9650\u30eb\u30fc\u30d7\u306e\u59cb\u307e\u308a\u306e\u5408\u56f3\u3067\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u2463 \u30c1\u30ab\u30c1\u30ab\u70b9\u6ec5\u3059\u308b\u30d1\u30fc\u30c8\uff08\u3053\u3053\u3092\u7e70\u308a\u8fd4\u3059\uff09<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>    led.on()  # LED\u3092\u70b9\u706f<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u89e3\u8aac\uff1a<\/strong> \u300c17\u756a\u30d4\u30f3\u306e\u96fb\u6c17\u3092ON\u306b\u3057\u3066\u3001<strong>LED\u3092\u5149\u3089\u305b\u308d\uff01<\/strong>\u300d<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>    sleep(1)  # 1\u79d2\u5f85\u6a5f<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u89e3\u8aac\uff1a<\/strong> \u300c\u305d\u306e\u307e\u307e\u306e\u72b6\u614b\u3067\u3001<strong>1\u79d2\u9593\u3058\u3063\u3068\u5f85\u3066\uff01<\/strong>\u300d\uff08\u3053\u308c\u30671\u79d2\u9593\u5149\u308a\u7d9a\u3051\u307e\u3059\uff09<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>    led.off() # LED\u3092\u6d88\u706f<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u89e3\u8aac\uff1a<\/strong> \u300c17\u756a\u30d4\u30f3\u306e\u96fb\u6c17\u3092OFF\u306b\u3057\u3066\u3001<strong>LED\u3092\u6d88\u305b\uff01<\/strong>\u300d<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>    sleep(1)  # 1\u79d2\u5f85\u6a5f<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u89e3\u8aac\uff1a<\/strong> \u300c\u6d88\u3057\u305f\u307e\u307e\u3067\u3001\u307e\u305f<strong>1\u79d2\u9593\u3058\u3063\u3068\u5f85\u3066\uff01<\/strong>\u300d<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">Q1.<\/mark>Python\u7b49\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u6700\u521d\u306b\u300cfrom gpiozero import LED\u300d\u3001\u300cfrom time import sleep\u300d\u3068\u304b\u5165\u308c\u307e\u3059\u304c\u3001\u3053\u308c\u304c\u7121\u304b\u3063\u305f\u3089\u3069\u3046\u306a\u308b\uff1f\u306a\u3044\u5834\u5408\u306e\u5bfe\u51e6\u65b9\u6cd5\u306f\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u3089\u306e\u8a18\u8ff0\u304c\u306a\u3044\u5834\u5408\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306f<strong>\u30a8\u30e9\u30fc\u3092\u51fa\u3057\u3066\u52d5\u304b\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u306f\u3001Python\u306b\u300c\u3053\u308c\u304b\u3089\u4f7f\u3046\u4fbf\u5229\u306a\u9053\u5177\uff08LED\u3084sleep\uff09\u304c\u3069\u3053\u306b\u3042\u308b\u304b\u300d\u3092\u4f1d\u3048\u308b\u305f\u3081\u306e\u6307\u793a\u66f8\u3060\u304b\u3089\u3067\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">1. \u7121\u304b\u3063\u305f\u3089\u3069\u3046\u306a\u308b\uff1f<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3057\u305f\u77ac\u9593\u306b\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a<strong>\u30a8\u30e9\u30fc\uff08NameError\uff09<\/strong>\u304c\u767a\u751f\u3057\u3066\u5f37\u5236\u7d42\u4e86\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>NameError: name 'LED' is not defined<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u539f\u56e0<\/strong>\uff1aPython\u304c\u300c<code>LED<\/code>\u3063\u3066\u4f55\uff1f\u305d\u3093\u306a\u9053\u5177\u306f\u77e5\u3089\u306a\u3044\u3088\u300d\u3068\u6df7\u4e71\u3057\u3066\u3057\u307e\u3046\u305f\u3081\u3067\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">2. \u306a\u3044\u5834\u5408\u306e\u5bfe\u51e6\u65b9\u6cd5\uff082\u3064\u306e\u30d1\u30bf\u30fc\u30f3\uff09<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u72b6\u6cc1\u306b\u3088\u3063\u3066\u5bfe\u51e6\u65b9\u6cd5\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u30d1\u30bf\u30fc\u30f3A\uff1a\u30b3\u30fc\u30c9\u5185\u306b\u8a18\u8ff0\u3092\u300c\u66f8\u304d\u5fd8\u308c\u305f\u300d\u3060\u3051\u306e\u5834\u5408<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d5\u30a1\u30a4\u30eb\u306e\u6700\u4e0a\u90e8\u306b\u3001\u5143\u306e\u30b3\u30fc\u30c9\uff08\u30a4\u30f3\u30dd\u30fc\u30c8\u6587\uff09\u3092\u6b63\u3057\u304f\u66f8\u304d\u8db3\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from gpiozero import LED\nfrom time import sleep\n\n# \u3053\u308c\u3067\u4e0b\u306e\u30b3\u30fc\u30c9\u304c\u52d5\u304f\u3088\u3046\u306b\u306a\u308a\u307e\u3059\nled = LED(17)\nsleep(1)\n<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">\u30d1\u30bf\u30fc\u30f3B\uff1a\u9053\u5177\u7bb1\uff08\u30e9\u30a4\u30d6\u30e9\u30ea\uff09\u81ea\u4f53\u304c\u30d1\u30bd\u30b3\u30f3\u306b\u5165\u3063\u3066\u3044\u306a\u3044\u5834\u5408<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3082 <code>ModuleNotFoundError: No module named 'gpiozero'<\/code> \u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u5834\u5408\u306f\u3001Raspberry Pi\u306a\u3069\u306e\u7aef\u672b\uff08\u30bf\u30fc\u30df\u30ca\u30eb\uff09\u3067\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pip install gpiozero<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><em>(\u203b <code>time<\/code> \u306fPython\u306b\u6700\u521d\u304b\u3089\u5165\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u4e0d\u8981\u3067\u3059)<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\udca1 \u88dc\u8db3\uff1a\u5225\u306e\u66f8\u304d\u65b9\u3067\u5bfe\u51e6\u3059\u308b\uff08\u4ee3\u66ff\u6848\uff09<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>from ... import ...<\/code> \u3092\u4f7f\u308f\u305a\u306b\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u300c\u30e2\u30b8\u30e5\u30fc\u30eb\u540d\u300d\u3092\u305d\u306e\u307e\u307e\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3066\u3001\u4f7f\u3046\u3068\u304d\u306b\u30c9\u30c3\u30c8 <code>.<\/code> \u3067\u7e4b\u3044\u3067\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import gpiozero\nimport time\n\n# \u3069\u3053\u304b\u3089\u6301\u3063\u3066\u304d\u305f\u9053\u5177\u304b\u3092\u6bce\u56de\u6307\u5b9a\u3059\u308b\u66f8\u304d\u65b9\nled = gpiozero.LED(17)\ntime.sleep(1)\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">Q2.<\/mark>\u3053\u306egpiozero\u3068\u304bTime\u306e\u4e8b\u3092\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u3063\u3066\u547c\u3076\u306e\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u306f\u3044\u3001\u3053\u308c\u3089\u306f\u3059\u3079\u3066<strong>\u300c\u30e9\u30a4\u30d6\u30e9\u30ea\u300d<\/strong>\uff08\u307e\u305f\u306f<strong>\u300c\u30e2\u30b8\u30e5\u30fc\u30eb\u300d<\/strong>\uff09\u3068\u547c\u3073\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Python\u3067\u306f\u3001\u3053\u306e\u3088\u3046\u306b\u300c\u7279\u5b9a\u306e\u6a5f\u80fd\uff08LED\u306e\u64cd\u4f5c\u3001\u6642\u9593\u306e\u5236\u5fa1\u306a\u3069\uff09\u3092\u307e\u3068\u3081\u305f\u9053\u5177\u7bb1\u300d\u306e\u3053\u3068\u3092\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u547c\u3093\u3067\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u6b63\u78ba\u306a\u547c\u3073\u5206\u3051\uff08\u4ed5\u7d44\u307f\u306e\u9055\u3044\uff09<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7d30\u304b\u304f\u5206\u3051\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5206\u985e\u3055\u308c\u307e\u3059\u304c\u3001\u666e\u6bb5\u306f\u3059\u3079\u3066\u300c\u30e9\u30a4\u30d6\u30e9\u30ea\u300d\u3068\u547c\u3093\u3067\u3057\u307e\u3063\u3066\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30e2\u30b8\u30e5\u30fc\u30eb<\/strong>\uff1a\n<ul class=\"wp-block-list\">\n<li>1\u3064\u306e\u30d5\u30a1\u30a4\u30eb\uff08<code>.py<\/code>\uff09\u306b\u66f8\u304b\u308c\u305f\u9053\u5177\u3002<\/li>\n\n\n\n<li>\u4f8b\uff1a<code>time<\/code> \u306f\u6642\u9593\u3092\u6271\u30461\u3064\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u30d1\u30c3\u30b1\u30fc\u30b8 \/ \u30e9\u30a4\u30d6\u30e9\u30ea<\/strong>\uff1a\n<ul class=\"wp-block-list\">\n<li>\u305f\u304f\u3055\u3093\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u30921\u3064\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u306b\u307e\u3068\u3081\u305f\u3001\u5927\u304d\u306a\u9053\u5177\u7bb1\u3002<\/li>\n\n\n\n<li>\u4f8b\uff1a<code>gpiozero<\/code> \u306f\u3001LED\u3084\u30dc\u30bf\u30f3\u306a\u3069\u3001\u305f\u304f\u3055\u3093\u306e\u90e8\u54c1\u7528\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u96c6\u307e\u3063\u305f\u5de8\u5927\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u30e9\u30a4\u30d6\u30e9\u30ea\u306e2\u3064\u306e\u30bf\u30a4\u30d7<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Python\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3001\u5927\u304d\u304f\u5206\u3051\u308b\u3068\u6b21\u306e2\u7a2e\u985e\u306b\u5206\u304b\u308c\u307e\u3059\u3002 [<a href=\"https:\/\/freelance-start.com\/articles\/1105\">1<\/a>]<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th>\u7a2e\u985e [<a href=\"https:\/\/freelance-start.com\/articles\/1105\">1<\/a>]<\/th><th>\u8aac\u660e<\/th><th>\u5177\u4f53\u4f8b<\/th><\/tr><tr><td><strong>\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea<\/strong><\/td><td>Python\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u6642\u306b\u3001\u6700\u521d\u304b\u3089\u304a\u307e\u3051\u3067\u4ed8\u3044\u3066\u304f\u308b\u9053\u5177\u7bb1\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e0d\u8981\u3002<\/td><td><code>time<\/code>\uff08\u6642\u9593\uff09<br><code>math<\/code>\uff08\u6570\u5b66\u306e\u8a08\u7b97\uff09<br><code>random<\/code>\uff08\u304a\u307f\u304f\u3058\u30fb\u4e71\u6570\uff09<\/td><\/tr><tr><td><strong>\u5916\u90e8\u30e9\u30a4\u30d6\u30e9\u30ea<\/strong><\/td><td>\u4e16\u754c\u4e2d\u306e\u958b\u767a\u8005\u304c\u4f5c\u3063\u305f\u3001\u5f8c\u304b\u3089\u8ffd\u52a0\u3059\u308b\u9053\u5177\u7bb1\u3002<code>pip<\/code> \u30b3\u30de\u30f3\u30c9\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u5fc5\u8981\u3002<\/td><td><code>gpiozero<\/code>\uff08\u96fb\u5b50\u5de5\u4f5c\uff09<br><code>requests<\/code>\uff08WEB\u901a\u4fe1\uff09<br><code>pandas<\/code>\uff08\u30c7\u30fc\u30bf\u5206\u6790\uff09<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">Q3.<\/mark>\u3053\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3069\u3046\u3084\u3063\u3066\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u5fc5\u8981\u306a\u3082\u306e\u3092\u898b\u3064\u3051\u308b\u306e\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u5fc5\u8981\u306a\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u63a2\u3059\u306b\u306f\u3001\u4e3b\u306b<strong>4\u3064\u306e\u30a2\u30d7\u30ed\u30fc\u30c1<\/strong>\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f5c\u308a\u305f\u3044\u6a5f\u80fd\u304b\u3089\u9006\u7b97\u3057\u3066\u63a2\u3059\u65b9\u6cd5\u304c\u4e00\u822c\u7684\u3067\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h5 class=\"wp-block-heading\">1. AI\u3084\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u3067\u300c\u3084\u308a\u305f\u3044\u3053\u3068\u300d\u3067\u8abf\u3079\u308b\uff08\u4e00\u756a\u65e9\u3044\uff09<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c<strong>Python [\u3084\u308a\u305f\u3044\u3053\u3068] \u30e9\u30a4\u30d6\u30e9\u30ea\uff08\u307e\u305f\u306f\u30e2\u30b8\u30e5\u30fc\u30eb\uff09<\/strong>\u300d\u3068\u3044\u3046\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u8abf\u3079\u308b\u3068\u3001\u5b9a\u756a\u306e\u3082\u306e\u304c\u3059\u3050\u306b\u898b\u3064\u304b\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u691c\u7d22\u306e\u4f8b<\/strong>\uff1a\n<ul class=\"wp-block-list\">\n<li>\u300cPython \u753b\u50cf\u51e6\u7406 \u30e9\u30a4\u30d6\u30e9\u30ea\u300d \u2794 <code>Pillow<\/code> \u3084 <code>OpenCV<\/code> \u304c\u898b\u3064\u304b\u308b<\/li>\n\n\n\n<li>\u300cPython \u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0 \u30e2\u30b8\u30e5\u30fc\u30eb\u300d \u2794 <code>BeautifulSoup<\/code> \u304c\u898b\u3064\u304b\u308b<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>AI\u306b\u805e\u304f\u5834\u5408<\/strong>\uff1a\n<ul class=\"wp-block-list\">\n<li>\u300cPython\u3067Excel\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u66f8\u304d\u3057\u305f\u3044\u3002\u304a\u3059\u3059\u3081\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3092\u6559\u3048\u3066\u300d\u3068\u305d\u306e\u307e\u307e\u8cea\u554f\u3059\u308c\u3070\u3001\u6700\u9069\u306a\u3082\u306e\u3092\u6559\u3048\u3066\u304f\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h5 class=\"wp-block-heading\">2. \u516c\u5f0f\u306e\u300c\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u4e00\u89a7\u300d\u304b\u3089\u63a2\u3059\uff08\u5b89\u5168\u30fb\u78ba\u5b9f\uff09<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">Python\u306b\u306f\u3001\u6700\u521d\u304b\u3089\u5165\u3063\u3066\u3044\u308b\u300c\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u300d\u304c\u8c4a\u5bcc\u306b\u3042\u308a\u307e\u3059\u3002\u307e\u305a\u306f\u3053\u3053\u304b\u3089\u63a2\u3059\u306e\u304c\u57fa\u672c\u3067\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u63a2\u3057\u65b9<\/strong>\uff1a\n<ul class=\"wp-block-list\">\n<li>\u300c<strong>Python \u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u4e00\u89a7<\/strong>\u300d\u3067Web\u691c\u7d22\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u306f\u300c\u30c6\u30ad\u30b9\u30c8\u51e6\u7406\u300d\u300c\u6570\u5b66\u300d\u300c\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u300d\u306a\u3069\u306e\u30ab\u30c6\u30b4\u30ea\u5225\u306b\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u307e\u3068\u3081\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u4f8b<\/strong>\uff1a\u30d5\u30a1\u30a4\u30eb\u306e\u30b3\u30d4\u30da\u304c\u3057\u305f\u3044\u306a\u3089 <code>shutil<\/code>\u3001\u65e5\u4ed8\u3092\u6271\u3044\u305f\u3044\u306a\u3089 <code>datetime<\/code> \u304c\u898b\u3064\u304b\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h5 class=\"wp-block-heading\">3. \u5916\u90e8\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u5c02\u9580\u30b5\u30a4\u30c8\u300cPyPI\u300d\u3067\u63a2\u3059<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e16\u754c\u4e2d\u306e\u958b\u767a\u8005\u304c\u4f5c\u3063\u305f\u5916\u90e8\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3001\u3059\u3079\u3066 <strong><a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/pypi.org\/\">PyPI\uff08\u30d1\u30a4\u30d4\u30fc\u30a2\u30a4\uff09<\/a><\/strong> \u3068\u3044\u3046\u516c\u5f0f\u30b5\u30a4\u30c8\u306b\u767b\u9332\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u63a2\u3057\u65b9<\/strong>\uff1a\n<ul class=\"wp-block-list\">\n<li>PyPI\u306e\u691c\u7d22\u7a93\u306b\u300cQR code\u300d\u3084\u300cFace recognition\uff08\u9854\u8a8d\u8b58\uff09\u300d\u306a\u3069\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u82f1\u8a9e\u3067\u5165\u529b\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u691c\u7d22\u7d50\u679c\u306b\u51fa\u3066\u304f\u308b\u300c\u661f\u306e\u6570\uff08GitHub\u306eStars\uff09\u300d\u3084\u300c\u6700\u7d42\u66f4\u65b0\u65e5\u300d\u3092\u898b\u3066\u3001\u591a\u304f\u306e\u4eba\u306b\u4f7f\u308f\u308c\u3066\u3044\u3066\u3001\u6700\u8fd1\u3082\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u3092\u9078\u3076\u306e\u304c\u30b3\u30c4\u3067\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h5 class=\"wp-block-heading\">4. \u4ed6\u306e\u4eba\u306e\u30b3\u30fc\u30c9\uff08\u30b5\u30f3\u30d7\u30eb\uff09\u3092\u771f\u4f3c\u3059\u308b<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">Qiita\u3001Zenn\u3001\u500b\u4eba\u30d6\u30ed\u30b0\u3001GitHub\u306a\u3069\u3067\u3001\u81ea\u5206\u304c\u4f5c\u308a\u305f\u3044\u3082\u306e\u3068\u4f3c\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u516c\u958b\u3057\u3066\u3044\u308b\u4eba\u3092\u63a2\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u63a2\u3057\u65b9<\/strong>\uff1a\n<ul class=\"wp-block-list\">\n<li>\u305d\u306e\u30b3\u30fc\u30c9\u306e<strong>\u6700\u521d\u306e\u6570\u884c\uff08<\/strong><code>import<\/code><strong> \u3084 <\/strong><code>from ... import<\/code><strong> \u304c\u3042\u308b\u5834\u6240\uff09<\/strong>\u3092\u898b\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u305d\u3053\u306b\u66f8\u304b\u308c\u3066\u3044\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u540d\u3053\u305d\u304c\u3001\u305d\u306e\u6a5f\u80fd\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u9053\u5177\u3067\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u306f\u3001\u30b3\u30de\u30f3\u30c9\u304b\u3089GPIO\u3092\u5236\u5fa1\u3057\u307e\u3057\u305f\u304c\u3001\u300c\u4e00\u3005\u9762\u5012\u3058\u3083\u3093\uff01\u81ea\u52d5\u3067\u306a\u3093\u3068\u304b\u305b\u30fc\u3088\uff01\u300d\u3068\u3044\u3046\u4e8b\u3067\u3001Python\uff08\u3071\u3044\u305d\u3093\uff09\u3068\u3044\u3046\u30d7\u30ed\u30b0\u30e9\u30e0\u8a00\u8a9e\u3092\u4f7f\u3063\u3066\u5236\u5fa1\u3057\u307e\u3059\u3002 Python\u3063\u3066\u4f55\uff1f Python\uff08\u30d1\u30a4\u30bd\u30f3\uff09\u3068\u306f\u30011 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":139,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,10],"tags":[74,37,58,43,71,21],"class_list":["post-120","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-garage-products","category-raspberrypi","tag-github","tag-python","tag-windows","tag-43","tag-71","tag-21"],"_links":{"self":[{"href":"https:\/\/fideafact.ddns.net\/index.php?rest_route=\/wp\/v2\/posts\/120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fideafact.ddns.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fideafact.ddns.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fideafact.ddns.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fideafact.ddns.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=120"}],"version-history":[{"count":3,"href":"https:\/\/fideafact.ddns.net\/index.php?rest_route=\/wp\/v2\/posts\/120\/revisions"}],"predecessor-version":[{"id":126,"href":"https:\/\/fideafact.ddns.net\/index.php?rest_route=\/wp\/v2\/posts\/120\/revisions\/126"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fideafact.ddns.net\/index.php?rest_route=\/wp\/v2\/media\/139"}],"wp:attachment":[{"href":"https:\/\/fideafact.ddns.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fideafact.ddns.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fideafact.ddns.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}