{"id":412,"date":"2023-02-21T13:12:24","date_gmt":"2022-11-29T09:45:06","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/python%e3%81%ae%e3%82%ad%e3%83%bc%e3%83%af%e3%83%bc%e3%83%89%e3%81%a8%e8%ad%98%e5%88%a5%e5%ad%90%ef%bc%88%e6%9b%b4%e6%96%b0%e6%b8%88%e3%81%bf%ef%bc%89\/"},"modified":"2025-07-31T23:23:28","modified_gmt":"2025-07-31T14:23:28","slug":"python%e3%81%ae%e3%82%ad%e3%83%bc%e3%83%af%e3%83%bc%e3%83%89%e3%81%a8%e8%ad%98%e5%88%a5%e5%ad%90%ef%bc%88%e6%9b%b4%e6%96%b0%e6%b8%88%e3%81%bf%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%ad%e3%83%bc%e3%83%af%e3%83%bc%e3%83%89%e3%81%a8%e8%ad%98%e5%88%a5%e5%ad%90%ef%bc%88%e6%9b%b4%e6%96%b0%e6%b8%88%e3%81%bf%ef%bc%89\/","title":{"rendered":"Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\uff08\u66f4\u65b0\u6e08\u307f\uff09"},"content":{"rendered":"<p>Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\u306b\u3064\u3044\u3066\u8a71\u3057\u307e\u3057\u3087\u3046\u3002\u6700\u8fd1\u3001\u3053\u306ePython\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u521d\u5fc3\u8005\u5411\u3051\u306ePython\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u5b8c\u5168\u306a\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3082\u30ab\u30d0\u30fc\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9<\/h2>\n<p>\u7c21\u5358\u306b\u8a00\u3048\u3070\u3001Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u306f\u4e88\u7d04\u3055\u308c\u305f\u5358\u8a9e\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u5909\u6570\u3084\u30af\u30e9\u30b9\u3001\u95a2\u6570\u306a\u3069\u306e\u540d\u524d\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3089\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u306f\u3001Python\u8a00\u8a9e\u306e\u69cb\u6587\u3068\u69cb\u9020\u3092\u5b9a\u7fa9\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u57f7\u7b46\u6642\u70b9\u3067\u3001Python\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306b\u306f33\u500b\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u304c\u3042\u308b\u3053\u3068\u3092\u77e5\u3063\u3066\u304a\u304f\u3079\u304d\u3067\u3059\u3002\u305f\u3060\u3057\u3001\u305d\u306e\u6570\u306f\u6642\u9593\u306e\u7d4c\u904e\u306b\u3088\u3063\u3066\u5909\u52d5\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305f\u3001Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u306f\u5927\u6587\u5b57\u3068\u5c0f\u6587\u5b57\u3092\u533a\u5225\u3057\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u305d\u306e\u307e\u307e\u66f8\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306fPython\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u3059\u3079\u3066\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u306e\u30ea\u30b9\u30c8\u3067\u3059\u3002<\/p>\n<p>\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u4e00\u5ea6\u306b\u5168\u90e8\u898b\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u5727\u5012\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u3060\u304b\u3089\u3001\u4e00\u65e6\u3053\u308c\u3089\u304c\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u3042\u308b\u3053\u3068\u3092\u77e5\u3063\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002\u79c1\u305f\u3061\u306f\u305d\u308c\u305e\u308c\u306e\u4f7f\u3044\u65b9\u3092\u5b66\u3073\u307e\u3059\u3002Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u306e\u30ea\u30b9\u30c8\u306f\u3001Python\u30b7\u30a7\u30eb\u306e\u30d8\u30eb\u30d7\u3092\u901a\u3057\u3066\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>Python \u306e\u3059\u3079\u3066\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u306e\u30ea\u30b9\u30c8<\/h3>\n<div>\n<div class=\"post-table\">\n<table>\n<thead>\n<tr>\n<th><\/th>\n<th><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>and<\/td>\n<td><a href=\"\/community\/tutorials\/python-logical-operators\">Logical operator<\/a><\/td>\n<\/tr>\n<tr>\n<td>as<\/td>\n<td>Alias<\/td>\n<\/tr>\n<tr>\n<td>assert<\/td>\n<td>For debugging<\/td>\n<\/tr>\n<tr>\n<td>break<\/td>\n<td>Break out of <a href=\"\/community\/tutorials\/python-loop-example\">Python loops<\/a><\/td>\n<\/tr>\n<tr>\n<td>class<\/td>\n<td>Used for defining <a href=\"\/community\/tutorials\/python-classes-objects\">Classes in Python<\/a><\/td>\n<\/tr>\n<tr>\n<td>continue<\/td>\n<td>Keyword used to continue with the Python loop by skipping the existing<\/td>\n<\/tr>\n<tr>\n<td>def<\/td>\n<td>Keyword used for defining a function<\/td>\n<\/tr>\n<tr>\n<td>del<\/td>\n<td>Used for deleting <a href=\"\/community\/tutorials\/python-classes-objects\">objects in Python<\/a><\/td>\n<\/tr>\n<tr>\n<td>elif<\/td>\n<td>Part of the if-elif-else <a href=\"\/community\/tutorials\/python-if-else-elif\">conditional statement in Python<\/a><\/td>\n<\/tr>\n<tr>\n<td>else<\/td>\n<td>Same as above<\/td>\n<\/tr>\n<tr>\n<td>except<\/td>\n<td>A Python keyword used to catch exceptions<\/td>\n<\/tr>\n<tr>\n<td>FALSE<\/td>\n<td>Boolean value<\/td>\n<\/tr>\n<tr>\n<td>finally<\/td>\n<td>This keyword is used to run a code snippet when no exceptions occur<\/td>\n<\/tr>\n<tr>\n<td>for<\/td>\n<td>Define a <a href=\"\/community\/tutorials\/python-for-loop-example\">Python for loop<\/a><\/td>\n<\/tr>\n<tr>\n<td>from<\/td>\n<td>Used when you need to import only a specific section of a module<\/td>\n<\/tr>\n<tr>\n<td>global<\/td>\n<td>Specify a variable scope as global<\/td>\n<\/tr>\n<tr>\n<td>if<\/td>\n<td>Used for defining an \u201cif\u201d condition<\/td>\n<\/tr>\n<tr>\n<td>import<\/td>\n<td>Python keyword used to import modules<\/td>\n<\/tr>\n<tr>\n<td>in<\/td>\n<td>Checks if specified values are present in an iterable object<\/td>\n<\/tr>\n<tr>\n<td>is<\/td>\n<td>This keyword is used to test for equality.<\/td>\n<\/tr>\n<tr>\n<td>lambda<\/td>\n<td>Create <a href=\"\/community\/tutorials\/python-anonymous-function\">anonymous functions<\/a><\/td>\n<\/tr>\n<tr>\n<td>None<\/td>\n<td>The <a href=\"\/community\/tutorials\/none-in-python\">None keyword<\/a> represents a Null value in PYthon<\/td>\n<\/tr>\n<tr>\n<td>nonlocal<\/td>\n<td>Declare a variable with non-local scope<\/td>\n<\/tr>\n<tr>\n<td>not<\/td>\n<td>Logical operator to negate a condition<\/td>\n<\/tr>\n<tr>\n<td>or<\/td>\n<td>A logical operator used when either one of the conditions needs to be true<\/td>\n<\/tr>\n<tr>\n<td>pass<\/td>\n<td>This Python keyword passes and lets the function continue further<\/td>\n<\/tr>\n<tr>\n<td>raise<\/td>\n<td>Raises an exception when called with the specified value<\/td>\n<\/tr>\n<tr>\n<td>return<\/td>\n<td>Exits a running function and returns the value specified<\/td>\n<\/tr>\n<tr>\n<td>TRUE<\/td>\n<td>Boolean value<\/td>\n<\/tr>\n<tr>\n<td>try<\/td>\n<td>Part of the <a href=\"\/community\/tutorials\/python-exception-handling-try-except\">try\u2026except statement<\/a><\/td>\n<\/tr>\n<tr>\n<td>while<\/td>\n<td>Used for defining a <a href=\"\/community\/tutorials\/python-while-loop\">Python while loop<\/a><\/td>\n<\/tr>\n<tr>\n<td>with<\/td>\n<td>Creates a block to make exception handling and <a href=\"\/community\/tutorials\/python-with-statement-with-open-file\">file operations<\/a> easy<\/td>\n<\/tr>\n<tr>\n<td>yield<\/td>\n<td>Ends a function and returns a generator object<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u4ee5\u4e0b\u306f\u3001Python\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306eif-else\u306e\u4f7f\u7528\u4f8b\u3092\u793a\u3057\u305f\u30b7\u30f3\u30d7\u30eb\u306a\u4f8b\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>var <span class=\"token operator\">=<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">;<\/span>\r\n\r\n<span class=\"token keyword\">if<\/span><span class=\"token punctuation\">(<\/span>var<span class=\"token operator\">==<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span>\r\n    <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">\"odd\"<\/span><span class=\"token punctuation\">)<\/span>\r\n<span class=\"token keyword\">else<\/span><span class=\"token punctuation\">:<\/span>\r\n    <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">\"even\"<\/span><span class=\"token punctuation\">)<\/span>\r\n<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001Python\u306f\u56fa\u5b9a\u3055\u308c\u305f\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u69cb\u6587\u306b\u3088\u308a\u3001if-else\u30d6\u30ed\u30c3\u30af\u3092\u7406\u89e3\u3057\u3001\u305d\u308c\u304b\u3089\u3055\u3089\u306b\u51e6\u7406\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<h3>Python\u306e\u8b58\u5225\u5b50\u3068\u306f\u4f55\u3067\u3059\u304b\uff1f<\/h3>\n<p>Python Identifier\u306f\u3001\u5909\u6570\u3001\u95a2\u6570\u3001\u30af\u30e9\u30b9\u3001\u30e2\u30b8\u30e5\u30fc\u30eb\u3001\u307e\u305f\u306f\u305d\u306e\u4ed6\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u7279\u5b9a\u3059\u308b\u305f\u3081\u306b\u4ed8\u3051\u308b\u540d\u524d\u3067\u3059\u3002\u3064\u307e\u308a\u3001\u4f55\u3089\u304b\u306e\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u306b\u540d\u524d\u3092\u4ed8\u3051\u305f\u3044\u5834\u5408\u3001\u305d\u308c\u304cidentifier\u3068\u547c\u3070\u308c\u307e\u3059\u3002<\/p>\n<p>\u5909\u6570\u3068\u8b58\u5225\u5b50\u306f\u3057\u3070\u3057\u3070\u540c\u3058\u3082\u306e\u3068\u8aa4\u89e3\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u5b9f\u969b\u306b\u306f\u7570\u306a\u308a\u307e\u3059\u3002\u306f\u3063\u304d\u308a\u3055\u305b\u308b\u305f\u3081\u306b\u3001\u5909\u6570\u3068\u306f\u4f55\u304b\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>Python\u306b\u304a\u3051\u308b\u5909\u6570\u3068\u306f\u4f55\u3067\u3059\u304b\uff1f<\/h3>\n<p>\u5909\u6570\uff08\u3078\u3093\u3059\u3046\uff09\u3068\u306f\u3001\u305d\u306e\u540d\u524d\u304c\u793a\u3059\u901a\u308a\u3001\u6642\u9593\u3068\u3068\u3082\u306b\u5909\u308f\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3082\u306e\u3067\u3059\u3002\u5b9f\u969b\u306b\u3001\u5909\u6570\u306f\u5024\u3092\u4fdd\u5b58\u3067\u304d\u308b\u30e1\u30e2\u30ea\u306e\u5834\u6240\u3067\u3059\u3002\u5f8c\u3067\u305d\u306e\u5024\u3092\u4f7f\u3046\u305f\u3081\u306b\u3001\u5024\u306e\u683c\u7d0d\u5834\u6240\u306b\u30cb\u30c3\u30af\u30cd\u30fc\u30e0\u3092\u4e0e\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u304c\u8b58\u5225\u5b50\uff08\u3057\u304d\u3079\u3064\u3057\uff09\u3067\u3059\u3002<\/p>\n<h3>\u8b58\u5225\u5b50\u306e\u66f8\u304d\u65b9\u306e\u30eb\u30fc\u30eb<\/h3>\n<p>Python\u3067\u8b58\u5225\u5b50\u3092\u66f8\u304f\u305f\u3081\u306e\u3044\u304f\u3064\u304b\u306e\u30eb\u30fc\u30eb\u304c\u3042\u308a\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u307e\u305a\u6700\u521d\u306bPython\u306f\u30b1\u30fc\u30b9\u30bb\u30f3\u30b7\u30c6\u30a3\u30d6\u3067\u3042\u308b\u3053\u3068\u3092\u77e5\u3063\u3066\u304a\u304b\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u3064\u307e\u308a\u3001Name\u3068name\u306fPython\u3067\u306f\u7570\u306a\u308b\u8b58\u5225\u5b50\u3067\u3059\u3002\u4ee5\u4e0b\u306bPython\u306e\u8b58\u5225\u5b50\u3092\u66f8\u304f\u305f\u3081\u306e\u3044\u304f\u3064\u304b\u306e\u30eb\u30fc\u30eb\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u30a2\u30a4\u30c7\u30f3\u30c6\u30a3\u30d5\u30a1\u30a4\u30a2\u30fc\u306f\u3001\u5927\u6587\u5b57\u3068\u5c0f\u6587\u5b57\u306e\u82f1\u5b57\u3001\u6570\u5b57\u3001\u307e\u305f\u306f\u30a2\u30f3\u30c0\u30fc\u30b9\u30b3\u30a2(_)\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u69cb\u6210\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001myVariable\u3001variable_1\u3001variable_for_print\u306f\u3059\u3079\u3066\u6709\u52b9\u306aPython\u306e\u30a2\u30a4\u30c7\u30f3\u30c6\u30a3\u30d5\u30a1\u30a4\u30a2\u30fc\u3067\u3059\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u30a2\u30a4\u30c7\u30f3\u30c6\u30a3\u30d5\u30a1\u30a4\u30a2\u30fc\u306f\u6570\u5b57\u3067\u59cb\u3081\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u3057\u305f\u304c\u3063\u3066\u3001variable1\u306f\u6709\u52b9\u3067\u3059\u304c\u30011variable\u306f\u7121\u52b9\u3067\u3059\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>!\u3001#\u3001@\u3001%\u3001$\u306a\u3069\u306e\u7279\u6b8a\u8a18\u53f7\u306f\u30a2\u30a4\u30c7\u30f3\u30c6\u30a3\u30d5\u30a1\u30a4\u30a2\u30fc\u306b\u4f7f\u7528\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\u30a2\u30a4\u30c7\u30f3\u30c6\u30a3\u30d5\u30a1\u30a4\u30a2\u30fc\u306e\u9577\u3055\u306f\u4efb\u610f\u3067\u3059\u3002<\/ol>\n<p>\u8b58\u5225\u5b50\u306e\u66f8\u304d\u65b9\u306b\u306f\u53b3\u3057\u3044\u30eb\u30fc\u30eb\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u308c\u3068\u306f\u5225\u306b\u3001\u5fc5\u9808\u3067\u306f\u306a\u3044\u304c\u898f\u7d04\u306b\u5f93\u3046\u3053\u3068\u304c\u826f\u3044\u6163\u4f8b\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u30af\u30e9\u30b9\u540d\u306f\u5927\u6587\u5b57\u3067\u59cb\u307e\u308a\u307e\u3059\u3002\u4ed6\u306e\u8b58\u5225\u5b50\u306f\u5c0f\u6587\u5b57\u3067\u59cb\u307e\u308a\u307e\u3059\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u8b58\u5225\u5b50\u3092\u300c_\u300d\u3067\u59cb\u3081\u308b\u3068\u3001\u305d\u306e\u8b58\u5225\u5b50\u306f\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u3067\u3042\u308b\u3053\u3068\u3092\u793a\u3057\u307e\u3059\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u8b58\u5225\u5b50\u304c2\u3064\u306e\u30a2\u30f3\u30c0\u30fc\u30b9\u30b3\u30a2\u3067\u59cb\u307e\u308a\u7d42\u308f\u308b\u5834\u5408\u3001\u305d\u308c\u306f\u8a00\u8a9e\u3067\u5b9a\u7fa9\u3055\u308c\u305f\u7279\u6b8a\u306a\u540d\u524d\u3067\u3059\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>c = 10 \u306f\u6709\u52b9\u3067\u3059\u304c\u3001count = 10 \u3068\u66f8\u3044\u305f\u307b\u3046\u304c\u3088\u308a\u7406\u89e3\u3057\u3084\u3059\u304f\u3001\u30b3\u30fc\u30c9\u3092\u9577\u6642\u9593\u7d4c\u904e\u3057\u305f\u5f8c\u3067\u3082\u305d\u306e\u52d5\u4f5c\u3092\u7406\u89e3\u3059\u308b\u306e\u304c\u5bb9\u6613\u3067\u3059\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\u8907\u6570\u306e\u5358\u8a9e\u306f\u30a2\u30f3\u30c0\u30fc\u30b9\u30b3\u30a2\u3067\u533a\u5207\u3063\u3066\u8868\u73fe\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001this_is_a_variable\u3002<\/ol>\n<p>\u3053\u3061\u3089\u306fPython\u5909\u6570\u306e\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>myVariable=\"hello world\"\r\nprint(myVariable)\r\n\r\nvar1=1\r\nprint(var1)\r\n\r\nvar2=2\r\nprint(var2)\r\n\r\n<\/code><\/pre>\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u51fa\u529b\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u753b\u50cf\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656488bcdaa94e2bdf7bb0b9\/25-0.png\" alt=\"python identifier example output\" \/><\/div>\n<h2>\u7d50\u8ad6<\/h2>\n<p>\u305d\u308c\u3067\u4eca\u65e5\u306e\u6388\u696d\u306f\u7d42\u308f\u308a\u3067\u3059\u3002\u6b21\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Python\u306e\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3068\u30b3\u30e1\u30f3\u30c8\u306b\u3064\u3044\u3066\u5b66\u3073\u307e\u3059\u3002\u305d\u308c\u307e\u3067\u3001#happy_coding \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\u306b\u3064\u3044\u3066\u8a71\u3057\u307e\u3057\u3087\u3046\u3002\u6700\u8fd1\u3001\u3053\u306ePython\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u521d\u5fc3\u8005\u5411\u3051\u306ePython\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u5b8c\u5168\u306a\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3082\u30ab\u30d0\u30fc\u3057\u307e\u3057\u305f\u3002 Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9 \u7c21\u5358\u306b\u8a00 [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[31,26],"class_list":["post-412","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-python","tag-26"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\uff08\u66f4\u65b0\u6e08\u307f\uff09 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\uff08\u66f4\u65b0\u6e08\u307f\uff09\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\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.silicloud.com\/ja\/blog\/python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\uff08\u66f4\u65b0\u6e08\u307f\uff09\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\uff08\u66f4\u65b0\u6e08\u307f\uff09\" \/>\n<meta property=\"og:description\" content=\"Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\uff08\u66f4\u65b0\u6e08\u307f\uff09\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\uff08\u66f4\u65b0\u6e08\u307f\uff09\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-29T09:45:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T14:23:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656488bcdaa94e2bdf7bb0b9\/25-0.png\" \/>\n<meta name=\"author\" content=\"\u6d77\u6597, \u8475\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6d77\u6597, \u8475\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"9\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%ad%e3%83%bc%e3%83%af%e3%83%bc%e3%83%89%e3%81%a8%e8%ad%98%e5%88%a5%e5%ad%90%ef%bc%88%e6%9b%b4%e6%96%b0%e6%b8%88%e3%81%bf%ef%bc%89\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%ad%e3%83%bc%e3%83%af%e3%83%bc%e3%83%89%e3%81%a8%e8%ad%98%e5%88%a5%e5%ad%90%ef%bc%88%e6%9b%b4%e6%96%b0%e6%b8%88%e3%81%bf%ef%bc%89\/\",\"name\":\"Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\uff08\u66f4\u65b0\u6e08\u307f\uff09 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2022-11-29T09:45:06+00:00\",\"dateModified\":\"2025-07-31T14:23:28+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/20cfc053626f4d45c0fa7a4e7964b5b6\"},\"description\":\"Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\uff08\u66f4\u65b0\u6e08\u307f\uff09\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%ad%e3%83%bc%e3%83%af%e3%83%bc%e3%83%89%e3%81%a8%e8%ad%98%e5%88%a5%e5%ad%90%ef%bc%88%e6%9b%b4%e6%96%b0%e6%b8%88%e3%81%bf%ef%bc%89\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%ad%e3%83%bc%e3%83%af%e3%83%bc%e3%83%89%e3%81%a8%e8%ad%98%e5%88%a5%e5%ad%90%ef%bc%88%e6%9b%b4%e6%96%b0%e6%b8%88%e3%81%bf%ef%bc%89\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%ad%e3%83%bc%e3%83%af%e3%83%bc%e3%83%89%e3%81%a8%e8%ad%98%e5%88%a5%e5%ad%90%ef%bc%88%e6%9b%b4%e6%96%b0%e6%b8%88%e3%81%bf%ef%bc%89\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\uff08\u66f4\u65b0\u6e08\u307f\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/20cfc053626f4d45c0fa7a4e7964b5b6\",\"name\":\"\u6d77\u6597, \u8475\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/25aec9a18954b6bfb7e4f7219c2923d62c6f0c9f4d5c0171228fe41751c0ab7a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/25aec9a18954b6bfb7e4f7219c2923d62c6f0c9f4d5c0171228fe41751c0ab7a?s=96&d=mm&r=g\",\"caption\":\"\u6d77\u6597, \u8475\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/kaitoaoi\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%ad%e3%83%bc%e3%83%af%e3%83%bc%e3%83%89%e3%81%a8%e8%ad%98%e5%88%a5%e5%ad%90%ef%bc%88%e6%9b%b4%e6%96%b0%e6%b8%88%e3%81%bf%ef%bc%89\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\uff08\u66f4\u65b0\u6e08\u307f\uff09 - Blog - Silicon Cloud","description":"Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\uff08\u66f4\u65b0\u6e08\u307f\uff09\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\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.silicloud.com\/ja\/blog\/python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\uff08\u66f4\u65b0\u6e08\u307f\uff09\/","og_locale":"ja_JP","og_type":"article","og_title":"Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\uff08\u66f4\u65b0\u6e08\u307f\uff09","og_description":"Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\uff08\u66f4\u65b0\u6e08\u307f\uff09\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\uff08\u66f4\u65b0\u6e08\u307f\uff09\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-11-29T09:45:06+00:00","article_modified_time":"2025-07-31T14:23:28+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656488bcdaa94e2bdf7bb0b9\/25-0.png"}],"author":"\u6d77\u6597, \u8475","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u6d77\u6597, \u8475","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"9\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%ad%e3%83%bc%e3%83%af%e3%83%bc%e3%83%89%e3%81%a8%e8%ad%98%e5%88%a5%e5%ad%90%ef%bc%88%e6%9b%b4%e6%96%b0%e6%b8%88%e3%81%bf%ef%bc%89\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%ad%e3%83%bc%e3%83%af%e3%83%bc%e3%83%89%e3%81%a8%e8%ad%98%e5%88%a5%e5%ad%90%ef%bc%88%e6%9b%b4%e6%96%b0%e6%b8%88%e3%81%bf%ef%bc%89\/","name":"Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\uff08\u66f4\u65b0\u6e08\u307f\uff09 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2022-11-29T09:45:06+00:00","dateModified":"2025-07-31T14:23:28+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/20cfc053626f4d45c0fa7a4e7964b5b6"},"description":"Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\uff08\u66f4\u65b0\u6e08\u307f\uff09\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%ad%e3%83%bc%e3%83%af%e3%83%bc%e3%83%89%e3%81%a8%e8%ad%98%e5%88%a5%e5%ad%90%ef%bc%88%e6%9b%b4%e6%96%b0%e6%b8%88%e3%81%bf%ef%bc%89\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%ad%e3%83%bc%e3%83%af%e3%83%bc%e3%83%89%e3%81%a8%e8%ad%98%e5%88%a5%e5%ad%90%ef%bc%88%e6%9b%b4%e6%96%b0%e6%b8%88%e3%81%bf%ef%bc%89\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%ad%e3%83%bc%e3%83%af%e3%83%bc%e3%83%89%e3%81%a8%e8%ad%98%e5%88%a5%e5%ad%90%ef%bc%88%e6%9b%b4%e6%96%b0%e6%b8%88%e3%81%bf%ef%bc%89\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Python\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u8b58\u5225\u5b50\uff08\u66f4\u65b0\u6e08\u307f\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/20cfc053626f4d45c0fa7a4e7964b5b6","name":"\u6d77\u6597, \u8475","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/25aec9a18954b6bfb7e4f7219c2923d62c6f0c9f4d5c0171228fe41751c0ab7a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/25aec9a18954b6bfb7e4f7219c2923d62c6f0c9f4d5c0171228fe41751c0ab7a?s=96&d=mm&r=g","caption":"\u6d77\u6597, \u8475"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/kaitoaoi\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%ad%e3%83%bc%e3%83%af%e3%83%bc%e3%83%89%e3%81%a8%e8%ad%98%e5%88%a5%e5%ad%90%ef%bc%88%e6%9b%b4%e6%96%b0%e6%b8%88%e3%81%bf%ef%bc%89\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/412","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=412"}],"version-history":[{"count":1,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/412\/revisions"}],"predecessor-version":[{"id":40271,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/412\/revisions\/40271"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}