{"id":60368,"date":"2018-06-29T14:43:49","date_gmt":"2018-06-29T05:43:49","guid":{"rendered":"https:\/\/www.sejuku.net\/blog\/?p=60368"},"modified":"2024-05-06T11:49:10","modified_gmt":"2024-05-06T02:49:10","slug":"%e3%80%90python%e5%85%a5%e9%96%80%e3%80%91%e6%97%a5%e6%9c%ac%e8%aa%9e%e3%82%92%e6%89%b1%e3%81%86%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/60368","title":{"rendered":"\u3010Python\u5165\u9580\u3011\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5\u3092\u30d1\u30bf\u30fc\u30f3\u5225\u306b\u89e3\u8aac"},"content":{"rendered":"\n<p>\u4eca\u56de\u306fPython\u3067<span style=\"color: #0000ff;\"><strong>\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5<\/strong><\/span>\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\uff01<\/p>\n\n\n\n<p>\u65e5\u672c\u8a9e\u306f<span style=\"color: #339966;\"><strong>\u30de\u30eb\u30c1\u30d0\u30a4\u30c8\u6587\u5b57<\/strong><\/span>\u3068\u547c\u3070\u308c\u3066\u3001\u82f1\u8a9e\u3088\u308a\u3082\u5c11\u3005<span style=\"color: #339966;\"><strong>\u8907\u96d1\u306a\u6271\u3044\u65b9<\/strong><\/span>\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001<\/p>\n\n\n\n<p><span style=\"color: #ff0000;\"><strong>\u30fb\u6587\u5b57\u30b3\u30fc\u30c9\u3068\u306f<br>\u30fbPython\u3067\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5<br>\u30fb\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5<\/strong><\/span><\/p>\n\n\n\n<p>\u306a\u3069\u306e\u57fa\u672c\u7684\u306a\u5185\u5bb9\u304b\u3089\u3001<\/p>\n\n\n\n<p><span style=\"color: #ff0000;\"><strong>\u30fb\u65e5\u672c\u8a9e\u304c\u542b\u307e\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u65b9\u6cd5<br>\u30fb\u65e5\u672c\u8a9e\u306e\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3046\u65b9\u6cd5<\/strong><\/span><\/p>\n\n\n\n<p>\u306b\u3064\u3044\u3066\u3001\u89e3\u8aac\u3092\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6587\u5b57\u30b3\u30fc\u30c9\u3068\u306f\u4f55\u304b\u3001\u306a\u3069\u306e<span style=\"color: #0000ff;\"><strong>\u57fa\u790e<\/strong><\/span>\u304b\u3089\u3057\u3063\u304b\u308a\u3068\u5b66\u7fd2\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u672c\u8a18\u4e8b\u3092\u8aad\u3080\u524d\u306b\u3001Python\u304c\u3069\u3093\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306a\u306e\u304b\u3092\u304a\u3055\u3089\u3044\u3057\u3066\u304a\u304d\u305f\u3044\u4eba\u306f\u6b21\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u2192&nbsp;<a href=\"https:\/\/www.sejuku.net\/blog\/7720\">Python\u3068\u306f\uff1f\u7279\u5fb4\u3084\u3067\u304d\u308b\u3053\u3068\u3001\u6d3b\u7528\u4f8b\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u7c21\u5358\u306b\u89e3\u8aac<\/a><\/p>\n\n\n\n<p>\u306a\u304a\u3001\u305d\u306e\u4ed6\u306ePython\u306e\u8a18\u4e8b\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/www.sejuku.net\/blog\/147190\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089<\/a>\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6587\u5b57\u30b3\u30fc\u30c9\u3068\u306f<\/h2>\n\n\n\n<p>\u307e\u305a\u306f<span style=\"color: #339966;\"><strong>\u6587\u5b57\u30b3\u30fc\u30c9<\/strong><\/span>\u3068\u306f\u4f55\u304b\u306b\u3064\u3044\u3066\u3092\u77e5\u3063\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u666e\u6bb5\u6587\u5b57\u30b3\u30fc\u30c9\u3068\u547c\u3070\u308c\u3066\u3044\u308b\u3082\u306e\u306f\u6b63\u78ba\u306b\u306f<span style=\"color: #339966;\"><strong>\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0<\/strong><\/span>\u306e\u65b9\u5f0f\u306e\u3053\u3068\u3092\u6307\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u3057\u3066\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u65b9\u5f0f\u3068\u306f\u3001<span style=\"color: #339966;\"><strong>ASCII<\/strong><\/span>\u3084<span style=\"color: #339966;\"><strong>Shift-JIS<\/strong><\/span>\u3001<span style=\"color: #339966;\"><strong>UTF-8<\/strong><\/span>\u306a\u3069\u306e\u3053\u3068\u3092\u6307\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>Python\u3067\u306f<span style=\"color: #339966;\"><strong>UTF-8<\/strong><\/span>\u304c<span style=\"color: #0000ff;\"><strong>\u6a19\u6e96\u7684<\/strong><\/span>\u306a\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u65b9\u5f0f\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u4eca\u56de\u6271\u304a\u3046\u3068\u3057\u3066\u3044\u308b\u65e5\u672c\u8a9e\u306f<span style=\"color: #339966;\"><strong>\u30de\u30eb\u30c1\u30d0\u30a4\u30c8\u6587\u5b57<\/strong><\/span>\u3068\u547c\u3070\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30de\u30eb\u30c1\u30d0\u30a4\u30c8\u6587\u5b57\u306f\u82f1\u8a9e\u3088\u308a\u3082\u6271\u3044\u304c\u3081\u3093\u3069\u304f\u3055\u3044\u3068\u3044\u3046\u3053\u3068\u3092\u899a\u3048\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u3055\u3089\u306b\u8a73\u3057\u3044\u89e3\u8aac\u306f\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n            <a href=\"https:\/\/www.sejuku.net\/blog\/58902\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/image-111-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Python\u5165\u9580\u3011UTF-8\u306a\u3069\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u6271\u3046\u65b9\u6cd5<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n\n\n\n<h2 class=\"wp-block-heading\">\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5<\/h2>\n\n\n\n<p>\u3053\u3053\u304b\u3089\u306f\u5b9f\u969b\u306b<span style=\"color: #0000ff;\"><strong>\u65e5\u672c\u8a9e<\/strong><\/span>\u3092\u6271\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u3068\u8a00\u3063\u3066\u3082\u3001Python\u306f<span style=\"color: #339966;\"><strong>2.4\u7cfb\u4ee5\u964d<\/strong><\/span>\u304b\u3089\u65e5\u672c\u8a9e\u3092<span style=\"color: #0000ff;\"><strong>\u6a19\u6e96\u3067\u30b5\u30dd\u30fc\u30c8<\/strong><\/span>\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u306a\u306e\u3067\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u4e0a\u3067Python\u3092\u5b9f\u884c\u3057\u3066\u307f\u308b\u3068\u3001\u65e5\u672c\u8a9e\u304c<span style=\"color: #0000ff;\"><strong>\u6b63\u5e38\u306b\u8868\u793a<\/strong><\/span>\u3055\u308c\u308b\u3053\u3068\u304c\u308f\u304b\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">print(\"\u3053\u3093\u306b\u3061\u306f\u3002\")\nprint(\"Hello.\")\nprint(\"\u3053\u3093\u306b\u3061\u306f\u3001World.\")<\/pre>\n\n\n\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u3053\u3093\u306b\u3061\u306f\u3002\nHello.\n\u3053\u3093\u306b\u3061\u306f\u3001World.<\/pre>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u3001\u65e5\u672c\u8a9e\u3068\u82f1\u8a9e\u304c<span style=\"color: #0000ff;\"><strong>\u6df7\u3056\u3063\u305f\u72b6\u614b<\/strong><\/span>\u3067\u3082\u8868\u793a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u3066\u3044\u307e\u3059\u306d\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5<\/h2>\n\n\n\n<p>Python2.4\u7cfb\u4ee5\u964d\u3067\u306f\u6a19\u6e96\u3067\u65e5\u672c\u3092\u8868\u793a\u3055\u305b\u3089\u308c\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u306d\u3002<\/p>\n\n\n\n<p>\u6b21\u306f\u3001<span style=\"color: #339966;\"><strong>.py\u30d5\u30a1\u30a4\u30eb<\/strong><\/span>\u3067\u4fdd\u5b58\u3055\u308c\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3055\u305b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u3053\u306ehello.py\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u3092<span style=\"color: #339966;\"><strong>Shift-JIS<\/strong><\/span>\u3067\u4fdd\u5b58\u3092\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>hello.py<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">print(\"\u3053\u3093\u306b\u3061\u306f\u3002\")\nprint(\"Hello.\")\nprint(\"\u3053\u3093\u306b\u3061\u306f\u3001World.\")<\/pre>\n\n\n\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">File \"hello.py\", line 1\nSyntaxError: Non-UTF-8 code starting with '\\x82' in file hello.py on line 1, but no encoding declared; see http:\/\/python.org\/dev\/peps\/pep-0263\/ for details<\/pre>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b<span style=\"color: #ff0000;\"><strong>\u30a8\u30e9\u30fc<\/strong><\/span>\u304c\u51fa\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u306d\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u306f\u5148\u7a0b\u89e3\u8aac\u3057\u305f\u3088\u3046\u306bPython\u306e\u6a19\u6e96\u7684\u306a\u6587\u5b57\u30b3\u30fc\u30c9\u304c<span style=\"color: #339966;\"><strong>UTF-8<\/strong><\/span>\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u539f\u56e0\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3092\u56de\u907f\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u3053\u306e\u3088\u3046\u306b\u4fee\u6b63\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># coding: shift_jis\n\nprint(\"\u3053\u3093\u306b\u3061\u306f\u3002\")\nprint(\"Hello.\")\nprint(\"\u3053\u3093\u306b\u3061\u306f\u3001World.\")<\/pre>\n\n\n\n<p>\u5148\u982d\u306b<span style=\"color: #339966;\"><strong>\u300c# coding: shift_jis\u300d<\/strong><\/span>\u3068\u3044\u3046\u4e00\u6587\u3092\u4ed8\u3051\u52a0\u3048\u308b\u3053\u3068\u3067\u3001Python\u306b<span style=\"color: #ff0000; background-color: #ffff99;\"><strong>\u300c\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306fShift-JIS\u3067\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3088\u300d<\/strong><\/span>\u3068\u3044\u3046\u3053\u3068\u3092\u4f1d\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u3053\u3093\u306b\u3061\u306f\u3002\nHello.\n\u3053\u3093\u306b\u3061\u306f\u3001World.<\/pre>\n\n\n\n<p>\u305d\u308c\u3067\u3082Python\u306e\u6a19\u6e96\u7684\u306a\u6587\u5b57\u30b3\u30fc\u30c9\u306fUTF-8\u306a\u306e\u3067\u3001<span style=\"color: #0000ff;\"><strong>\u4fdd\u5b58\u3059\u308b\u5f62\u5f0f<\/strong><\/span>\u3082UTF-8\u306b\u3057\u305f\u307b\u3046\u304c\u7121\u96e3\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u65e5\u672c\u8a9e\u304c\u542b\u307e\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u65b9\u6cd5<\/h2>\n\n\n\n<p>\u6b21\u306f<span style=\"color: #0000ff;\"><strong>\u65e5\u672c\u8a9e\u304c\u542b\u307e\u308c\u305f\u30d5\u30a1\u30a4\u30eb<\/strong><\/span>\u3092\u8aad\u307f\u8fbc\u3080\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3067\u3059\u3002<\/p>\n\n\n\n<p>Python\u304b\u3089\u65e5\u672c\u8a9e\u304c\u542b\u307e\u308c\u305f\u69d8\u3005\u306a<span style=\"color: #0000ff;\"><strong>\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080<\/strong><\/span>\u5834\u9762\u3067\u306f\u3001\u5148\u7a0b\u306e\u3088\u3046\u306a\u624b\u6bb5\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u3053\u3053\u3067\u306f<span style=\"color: #339966;\"><strong>codecs\u30e2\u30b8\u30e5\u30fc\u30eb<\/strong><\/span>\u3092\u4f7f\u3063\u305f\u65b9\u6cd5\u3067\u3001\u6587\u5b57\u30b3\u30fc\u30c9\u3092<span style=\"color: #339966;\"><strong>\u6307\u5b9a\u3057\u306a\u304c\u3089<\/strong><\/span>\u65e5\u672c\u8a9e\u304c\u542b\u307e\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3093\u3067\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>greeting.txt\uff08Shift-JIS\u3067\u4fdd\u5b58\uff09<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u304a\u306f\u3088\u3046\u3001Python\u3002\n\u3053\u3093\u306b\u3061\u306f\u3001Python\u3002\n\u3053\u3093\u3070\u3093\u306f\u3001Python\u3002<\/pre>\n\n\n\n<p>hello.py<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">import codecs\n\ntxt = codecs.open('greeting.txt', 'r', 'shift_jis')\n\nfor line in txt:\n    print(line)<\/pre>\n\n\n\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u304a\u306f\u3088\u3046\u3001Python\u3002\n\n\u3053\u3093\u306b\u3061\u306f\u3001Python\u3002\n\n\u3053\u3093\u3070\u3093\u306f\u3001Python\u3002<\/pre>\n\n\n\n<p>codecs\u30e2\u30b8\u30e5\u30fc\u30eb\u306e<span style=\"color: #339966;\"><strong>open\u95a2\u6570<\/strong><\/span>\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001<span style=\"color: #0000ff;\"><strong>\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u6307\u5b9a<\/strong><\/span>\u3057\u3066\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u306d\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u65e5\u672c\u8a9e\u306e\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3046\u65b9\u6cd5<\/h2>\n\n\n\n<p>\u3053\u3053\u3067\u3055\u3089\u306b<span style=\"color: #339966;\"><strong>\u6b63\u898f\u8868\u73fe<\/strong><\/span>\u3067\u65e5\u672c\u8a9e\u3092\u4f7f\u3046\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3082\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u6b63\u898f\u8868\u73fe\u3068\u306f\u3001<span style=\"color: #ff0000; background-color: #ffff99;\"><strong>\u6587\u5b57\u5217\u306e\u96c6\u307e\u308a\u30921\u3064\u306e\u5f62\u5f0f\u3067\u8868\u3059\u305f\u3081\u306e\u7279\u5225\u306a\u66f8\u304d\u65b9<\/strong><\/span>\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6b63\u898f\u8868\u73fe\u306b\u3064\u3044\u3066\u308f\u304b\u3089\u306a\u3044\u65b9\u306f\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n            <a href=\"https:\/\/www.sejuku.net\/blog\/23232\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/05\/python_regex-150x85.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Python\u5165\u9580\u3011\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u3044\u65b9\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n\n\n\n<p><span style=\"color: #0000ff;\"><strong>\u65e5\u672c\u8a9e\u306e\u6b63\u898f\u8868\u73fe<\/strong><\/span>\u306f\u305d\u308c\u305e\u308c\u3001\u3053\u306e\u3088\u3046\u306b\u8868\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[\u3041-\u3093] # \u3072\u3089\u304c\u306a\u306e\u6b63\u898f\u8868\u73fe\n[\u30a1-\u30f3] # \u30ab\u30bf\u30ab\u30ca\u306e\u6b63\u898f\u8868\u73fe\n[\u4e00-\u9fa5] # \u6f22\u5b57\u306e\u6b63\u898f\u8868\u73fe\n[\u3041-\u3093\u30a1-\u30f3 \u4e00-\u9fa5] #\u65e5\u672c\u8a9e\u3059\u3079\u3066\u306e\u6b63\u898f\u8868\u73fe<\/pre>\n\n\n\n<p>\u6587\u7ae0\u306e\u4e2d\u306e<span style=\"color: #339966;\"><strong>\u3072\u3089\u304c\u306a<\/strong><\/span>\u3084<span style=\"color: #339966;\"><strong>\u30ab\u30bf\u30ab\u30ca<\/strong><\/span>\u3001<span style=\"color: #339966;\"><strong>\u6f22\u5b57<\/strong><\/span>\u3092\u6b63\u898f\u8868\u73fe\u3067\u629c\u304d\u51fa\u3057\u305f\u3044\u3068\u304d\u306f\u3001\u3053\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">import re\ntxt = \"\u7686\u3055\u3093\u3001\u3053\u3093\u306b\u3061\u306f\u3001Python\u3001\u30d1\u30a4\u30bd\u30f3\"\n\n# \u3072\u3089\u304c\u306a\u306e\u62bd\u51fa\nhiragana = re.findall(\"[\u3041-\u3093]\", txt)\nif hiragana:\n    print(hiragana)\n    \n# \u30ab\u30bf\u30ab\u30ca\u306e\u62bd\u51fa\nkatakana = re.findall(\"[\u30a1-\u30f3]\", txt)\nif katakana:\n    print(katakana)\n    \n# \u6f22\u5b57\u306e\u62bd\u51fa\nkanji = re.findall(\"[\u4e00-\u9fa5]\", txt)\nif kanji:\n    print(kanji)<\/pre>\n\n\n\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">['\u3055', '\u3093', '\u3053', '\u3093', '\u306b', '\u3061', '\u306f']\n['\u30d1', '\u30a4', '\u30bd', '\u30f3']\n['\u7686']<\/pre>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u305d\u308c\u305e\u308c\u3067\u6307\u5b9a\u3057\u305f\u90e8\u5206\u3092\u6b63\u898f\u8868\u73fe\u3067<span style=\"color: #0000ff;\"><strong>\u62bd\u51fa<\/strong><\/span>\u3067\u304d\u307e\u3057\u305f\u306d\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u4eca\u56de\u306fPython\u3067<span style=\"color: #0000ff;\"><strong>\u65e5\u672c\u8a9e\u3092\u4f7f\u3046\u65b9\u6cd5<\/strong><\/span>\u306b\u3064\u3044\u3066\u89e3\u8aac\u3092\u3057\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>Python2.4\u4ee5\u964d\u3067\u3042\u308c\u3070<span style=\"color: #0000ff;\"><strong>\u6a19\u6e96<\/strong><\/span>\u3067\u65e5\u672c\u8a9e\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u306e\u3067\u3001\u305d\u308c\u307b\u3069\u5fc3\u914d\u306f\u3044\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u3001\u5165\u529b\u3055\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u306a\u3069\u3082\u30a8\u30e9\u30fc\u306e\u8981\u56e0\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u6c17\u3092\u3064\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u65e5\u672c\u8a9e\u304c<span style=\"color: #339966;\"><strong>\u3069\u306e\u3088\u3046\u306b\u6271\u308f\u308c\u3066\u3044\u308b\u306e\u304b<\/strong><\/span>\u3092\u77e5\u308b\u3053\u3068\u306f\u3068\u3066\u3082\u5927\u5207\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3082\u3057\u5fd8\u308c\u3066\u3057\u307e\u3063\u305f\u5834\u5408\u306f\u3001\u305c\u3072\u307e\u305f\u3053\u306e\u8a18\u4e8b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\uff01<\/p>\n\n\n\n<p>\u306a\u304a\u3001\u4ecaPython\u3092\u5b66\u7fd2\u3057\u3066\u3044\u308b\u65b9\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3082\u3069\u3046\u305e\u3002<\/p>\n\n\n\n<p><strong>\u306f\u3058\u3081\u3066Python\u3092\u4f7f\u3046\u65b9\u3067\u3082\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001Python\u3067\u3067\u304d\u308b\u3053\u3068\u3084\u305d\u306e\u5b66\u7fd2\u6cd5\u306a\u3069\u3092\u4e2d\u5fc3\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002<\/strong><\/p>\n\n\n\n<p>\u5fa9\u7fd2\u306b\u3082\u4f7f\u3048\u308b\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u4e00\u5ea6\u3054\u89a7\u306b\u306a\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n\n\n\n<p>\u3010<a href=\"https:\/\/www.sejuku.net\/blog\/curriculums-python\"><strong>Python \u5165\u9580\u5b8c\u5168\u653b\u7565\u30ac\u30a4\u30c9<\/strong><\/a>\u3011<br>            <a href=\"https:\/\/www.sejuku.net\/blog\/curriculums-python\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2021\/10\/howto-05-21-150x85.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">Python\u30a2\u30d7\u30ea\u958b\u767a\u5b8c\u5168\u30ac\u30a4\u30c9\uff01\u6210\u529f\u3078\u3068\u5c0e\u304f\u5165\u9580\u624b\u9806\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u670821\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u56de\u306fPython\u3067\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\uff01 \u65e5\u672c\u8a9e\u306f\u30de\u30eb\u30c1\u30d0\u30a4\u30c8\u6587\u5b57\u3068\u547c\u3070\u308c\u3066\u3001\u82f1\u8a9e\u3088\u308a\u3082\u5c11\u3005\u8907\u96d1\u306a\u6271\u3044\u65b9\u306b\u306a\u308a\u307e\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001 \u30fb\u6587\u5b57\u30b3\u30fc\u30c9\u3068\u306f\u30fbPython\u3067\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5\u30fb\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u6307\u5b9a\u3059\u308b [&hellip;]<\/p>\n","protected":false},"author":16433,"featured_media":60369,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"swell_btn_cv_data":"","footnotes":""},"categories":[2350],"tags":[49],"class_list":["post-60368","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python-study","tag-python"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u3010Python\u5165\u9580\u3011\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5\u3092\u30d1\u30bf\u30fc\u30f3\u5225\u306b\u89e3\u8aac | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Python\u5165\u9580\u3011\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5\u3092\u30d1\u30bf\u30fc\u30f3\u5225\u306b\u89e3\u8aac \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sejuku.net\/blog\/60368\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010Python\u5165\u9580\u3011\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5\u3092\u30d1\u30bf\u30fc\u30f3\u5225\u306b\u89e3\u8aac | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Python\u5165\u9580\u3011\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5\u3092\u30d1\u30bf\u30fc\u30f3\u5225\u306b\u89e3\u8aac \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sejuku.net\/blog\/60368\" \/>\n<meta property=\"og:site_name\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sejuku2013\" \/>\n<meta property=\"article:published_time\" content=\"2018-06-29T05:43:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T02:49:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/image30.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@samuraijuku\" \/>\n<meta name=\"twitter:site\" content=\"@samuraijuku\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60368#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60368\"},\"author\":{\"name\":\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/d20c57b59dba15001519a8a671183095\"},\"headline\":\"\u3010Python\u5165\u9580\u3011\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5\u3092\u30d1\u30bf\u30fc\u30f3\u5225\u306b\u89e3\u8aac\",\"datePublished\":\"2018-06-29T05:43:49+00:00\",\"dateModified\":\"2024-05-06T02:49:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60368\"},\"wordCount\":71,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60368#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/image30.jpg\",\"keywords\":[\"python\"],\"articleSection\":[\"Python\u5b66\u7fd2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60368\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60368\",\"name\":\"\u3010Python\u5165\u9580\u3011\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5\u3092\u30d1\u30bf\u30fc\u30f3\u5225\u306b\u89e3\u8aac | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60368#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60368#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/image30.jpg\",\"datePublished\":\"2018-06-29T05:43:49+00:00\",\"dateModified\":\"2024-05-06T02:49:10+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Python\u5165\u9580\u3011\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5\u3092\u30d1\u30bf\u30fc\u30f3\u5225\u306b\u89e3\u8aac \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60368#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60368\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60368#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/image30.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/image30.jpg\",\"width\":700,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60368#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010Python\u5165\u9580\u3011\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5\u3092\u30d1\u30bf\u30fc\u30f3\u5225\u306b\u89e3\u8aac\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"description\":\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\",\"name\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"width\":600,\"height\":600,\"caption\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\",\"https:\\\/\\\/x.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\\\/featured\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/d20c57b59dba15001519a8a671183095\",\"name\":\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g\",\"caption\":\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\"},\"description\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u587e\u306f\u300c\u4eba\u751f\u3092\u5909\u3048\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u300d\u3092\u30b3\u30f3\u30bb\u30f3\u30d7\u30c8\u306b\u3001\u904e\u53bb\u591a\u304f\u306e\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u8f29\u51fa\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3067\u3059\u3002\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\u3067\u306f\u6280\u8853\u7cfb\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4e2d\u5fc3\u306b\u6709\u7528\u306a\u60c5\u5831\u3092\u767a\u4fe1\u3057\u3066\u3044\u304d\u307e\u3059\u3002\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/author\\\/samurai-tech\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010Python\u5165\u9580\u3011\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5\u3092\u30d1\u30bf\u30fc\u30f3\u5225\u306b\u89e3\u8aac | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Python\u5165\u9580\u3011\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5\u3092\u30d1\u30bf\u30fc\u30f3\u5225\u306b\u89e3\u8aac \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sejuku.net\/blog\/60368","og_locale":"ja_JP","og_type":"article","og_title":"\u3010Python\u5165\u9580\u3011\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5\u3092\u30d1\u30bf\u30fc\u30f3\u5225\u306b\u89e3\u8aac | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Python\u5165\u9580\u3011\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5\u3092\u30d1\u30bf\u30fc\u30f3\u5225\u306b\u89e3\u8aac \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","og_url":"https:\/\/www.sejuku.net\/blog\/60368","og_site_name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/sejuku2013","article_published_time":"2018-06-29T05:43:49+00:00","article_modified_time":"2024-05-06T02:49:10+00:00","og_image":[{"width":700,"height":400,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/image30.jpg","type":"image\/jpeg"}],"author":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8","twitter_card":"summary_large_image","twitter_creator":"@samuraijuku","twitter_site":"@samuraijuku","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sejuku.net\/blog\/60368#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/60368"},"author":{"name":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/d20c57b59dba15001519a8a671183095"},"headline":"\u3010Python\u5165\u9580\u3011\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5\u3092\u30d1\u30bf\u30fc\u30f3\u5225\u306b\u89e3\u8aac","datePublished":"2018-06-29T05:43:49+00:00","dateModified":"2024-05-06T02:49:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/60368"},"wordCount":71,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/60368#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/image30.jpg","keywords":["python"],"articleSection":["Python\u5b66\u7fd2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/60368","url":"https:\/\/www.sejuku.net\/blog\/60368","name":"\u3010Python\u5165\u9580\u3011\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5\u3092\u30d1\u30bf\u30fc\u30f3\u5225\u306b\u89e3\u8aac | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/60368#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/60368#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/image30.jpg","datePublished":"2018-06-29T05:43:49+00:00","dateModified":"2024-05-06T02:49:10+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Python\u5165\u9580\u3011\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5\u3092\u30d1\u30bf\u30fc\u30f3\u5225\u306b\u89e3\u8aac \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","breadcrumb":{"@id":"https:\/\/www.sejuku.net\/blog\/60368#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/60368"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/60368#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/image30.jpg","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/image30.jpg","width":700,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/60368#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3010Python\u5165\u9580\u3011\u65e5\u672c\u8a9e\u3092\u6271\u3046\u65b9\u6cd5\u3092\u30d1\u30bf\u30fc\u30f3\u5225\u306b\u89e3\u8aac"}]},{"@type":"WebSite","@id":"https:\/\/www.sejuku.net\/blog\/#website","url":"https:\/\/www.sejuku.net\/blog\/","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002","publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sejuku.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.sejuku.net\/blog\/#organization","name":"\u682a\u5f0f\u4f1a\u793eSAMURAI","url":"https:\/\/www.sejuku.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","width":600,"height":600,"caption":"\u682a\u5f0f\u4f1a\u793eSAMURAI"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sejuku2013","https:\/\/x.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g\/featured"]},{"@type":"Person","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/d20c57b59dba15001519a8a671183095","name":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g","caption":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8"},"description":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u587e\u306f\u300c\u4eba\u751f\u3092\u5909\u3048\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u300d\u3092\u30b3\u30f3\u30bb\u30f3\u30d7\u30c8\u306b\u3001\u904e\u53bb\u591a\u304f\u306e\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u8f29\u51fa\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3067\u3059\u3002\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\u3067\u306f\u6280\u8853\u7cfb\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4e2d\u5fc3\u306b\u6709\u7528\u306a\u60c5\u5831\u3092\u767a\u4fe1\u3057\u3066\u3044\u304d\u307e\u3059\u3002","url":"https:\/\/www.sejuku.net\/blog\/author\/samurai-tech"}]}},"_links":{"self":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/60368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/users\/16433"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/comments?post=60368"}],"version-history":[{"count":0,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/60368\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/60369"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=60368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=60368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=60368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}