{"id":43975,"date":"2025-08-06T15:41:14","date_gmt":"2025-08-06T06:41:14","guid":{"rendered":"https:\/\/techgym.jp\/?p=43975"},"modified":"2025-08-06T15:41:18","modified_gmt":"2025-08-06T06:41:18","slug":"f-string","status":"publish","type":"post","link":"https:\/\/techgym.jp\/column\/f-string\/","title":{"rendered":"Python\u306ef\u6587\u5b57\u5217\uff08\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u6e08\u307f\u6587\u5b57\u5217\u30ea\u30c6\u30e9\u30eb\uff09\u306e\u4f7f\u3044\u65b9\u5b8c\u5168\u30ac\u30a4\u30c9"},"content":{"rendered":"\n<p>\u00a0<\/p>\n<p>Python 3.6\u3067\u5c0e\u5165\u3055\u308c\u305ff\u6587\u5b57\u5217\uff08f-string\uff09\u306f\u3001\u6587\u5b57\u5217\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u6700\u3082\u52b9\u7387\u7684\u3067\u8aad\u307f\u3084\u3059\u3044\u65b9\u6cd5\u3067\u3059\u3002\u5f93\u6765\u306eformat()\u30e1\u30bd\u30c3\u30c9\u3084%\u6f14\u7b97\u5b50\u3068\u6bd4\u3079\u3066\u3001\u30b7\u30f3\u30d7\u30eb\u3067\u9ad8\u901f\u306a\u6587\u5b57\u5217\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001f\u6587\u5b57\u5217\u306e\u57fa\u672c\u304b\u3089\u5fdc\u7528\u307e\u3067\u3001\u5b9f\u7528\u7684\u306a\u4f8b\u3068\u3068\u3082\u306b\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<h2>f\u6587\u5b57\u5217\u306e\u57fa\u672c\u69cb\u6587<\/h2>\n<p>f\u6587\u5b57\u5217\u306f\u6587\u5b57\u5217\u306e\u524d\u306b<code>f<\/code>\u307e\u305f\u306f<code>F<\/code>\u3092\u4ed8\u3051\u3066\u4f5c\u6210\u3057\u307e\u3059\u3002\u6ce2\u62ec\u5f27<code>{}<\/code>\u5185\u306b\u5909\u6570\u3084\u5f0f\u3092\u76f4\u63a5\u8a18\u8ff0\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-python\">name = \"\u7530\u4e2d\"\nage = 28\nprint(f\"\u79c1\u306e\u540d\u524d\u306f{name}\u3067\u3001\u5e74\u9f62\u306f{age}\u6b73\u3067\u3059\")\n# \u79c1\u306e\u540d\u524d\u306f\u7530\u4e2d\u3067\u3001\u5e74\u9f62\u306f28\u6b73\u3067\u3059\n<\/code><\/pre>\n<h3>\u5f0f\u306e\u57cb\u3081\u8fbc\u307f<\/h3>\n<p>f\u6587\u5b57\u5217\u3067\u306f\u5909\u6570\u3060\u3051\u3067\u306a\u304f\u3001\u8a08\u7b97\u5f0f\u3084\u30e1\u30bd\u30c3\u30c9\u306e\u5b9f\u884c\u7d50\u679c\u3082\u57cb\u3081\u8fbc\u3081\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-python\">x = 10\ny = 20\nprint(f\"{x} + {y} = {x + y}\")  # 10 + 20 = 30\nprint(f\"\u5927\u6587\u5b57: {'hello'.upper()}\")  # \u5927\u6587\u5b57: HELLO\n<\/code><\/pre>\n<h2>\u6570\u5024\u306e\u66f8\u5f0f\u6307\u5b9a<\/h2>\n<h3>\u5c0f\u6570\u70b9\u4ee5\u4e0b\u306e\u6841\u6570\u6307\u5b9a<\/h3>\n<pre><code class=\"language-python\">pi = 3.141592653589793\nprint(f\"\u5186\u5468\u7387: {pi:.2f}\")  # \u5186\u5468\u7387: 3.14\nprint(f\"\u5186\u5468\u7387: {pi:.5f}\")  # \u5186\u5468\u7387: 3.14159\n<\/code><\/pre>\n<h3>\u30bc\u30ed\u57cb\u3081<\/h3>\n<pre><code class=\"language-python\">num = 42\nprint(f\"\u30bc\u30ed\u57cb\u3081: {num:05d}\")  # \u30bc\u30ed\u57cb\u3081: 00042\nprint(f\"\u30bc\u30ed\u57cb\u3081: {num:08d}\")  # \u30bc\u30ed\u57cb\u3081: 00000042\n<\/code><\/pre>\n<h3>\u6307\u6570\u8868\u8a18<\/h3>\n<pre><code class=\"language-python\">large_num = 1234567.89\nprint(f\"\u6307\u6570\u8868\u8a18: {large_num:.2e}\")  # \u6307\u6570\u8868\u8a18: 1.23e+06\nprint(f\"\u6307\u6570\u8868\u8a18: {large_num:.3E}\")  # \u6307\u6570\u8868\u8a18: 1.235E+06\n<\/code><\/pre>\n<h3>16\u9032\u6570\u30fb8\u9032\u6570\u30fb2\u9032\u6570<\/h3>\n<pre><code class=\"language-python\">num = 255\nprint(f\"16\u9032\u6570: {num:x}\")  # 16\u9032\u6570: ff\nprint(f\"16\u9032\u6570: {num:X}\")  # 16\u9032\u6570: FF\nprint(f\"8\u9032\u6570: {num:o}\")   # 8\u9032\u6570: 377\nprint(f\"2\u9032\u6570: {num:b}\")   # 2\u9032\u6570: 11111111\n<\/code><\/pre>\n<h2>\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8\u3068\u30ab\u30f3\u30de\u533a\u5207\u308a<\/h2>\n<h3>\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8\u8868\u8a18<\/h3>\n<pre><code class=\"language-python\">ratio = 0.875\nprint(f\"\u6210\u529f\u7387: {ratio:.1%}\")  # \u6210\u529f\u7387: 87.5%\nprint(f\"\u6210\u529f\u7387: {ratio:.2%}\")  # \u6210\u529f\u7387: 87.50%\n<\/code><\/pre>\n<h3>3\u6841\u533a\u5207\u308a\u306e\u30ab\u30f3\u30de<\/h3>\n<pre><code class=\"language-python\">price = 1234567\nprint(f\"\u4fa1\u683c: {price:,}\u5186\")  # \u4fa1\u683c: 1,234,567\u5186\nprint(f\"\u4fa1\u683c: {price:,.2f}\u5186\")  # \u4fa1\u683c: 1,234,567.00\u5186\n<\/code><\/pre>\n<h2>\u6587\u5b57\u5217\u306e\u914d\u7f6e\u3068\u30d1\u30c7\u30a3\u30f3\u30b0<\/h2>\n<h3>\u53f3\u5bc4\u305b\u30fb\u5de6\u5bc4\u305b\u30fb\u4e2d\u592e\u5bc4\u305b<\/h3>\n<pre><code class=\"language-python\">text = \"Python\"\nprint(f\"\u5de6\u5bc4\u305b: '{text:&lt;10}'\")   # \u5de6\u5bc4\u305b: 'Python    '\nprint(f\"\u53f3\u5bc4\u305b: '{text:&gt;10}'\")   # \u53f3\u5bc4\u305b: '    Python'\nprint(f\"\u4e2d\u592e: '{text:^10}'\")     # \u4e2d\u592e: '  Python  '\n<\/code><\/pre>\n<h3>\u4efb\u610f\u306e\u6587\u5b57\u3067\u30d1\u30c7\u30a3\u30f3\u30b0<\/h3>\n<pre><code class=\"language-python\">text = \"Hello\"\nprint(f\"\u30bc\u30ed\u57cb\u3081: '{text:0&gt;10}'\")  # \u30bc\u30ed\u57cb\u3081: '00000Hello'\nprint(f\"\u661f\u57cb\u3081: '{text:*^10}'\")    # \u661f\u57cb\u3081: '**Hello***'\n<\/code><\/pre>\n<h2>\u8f9e\u66f8\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5024\u53c2\u7167<\/h2>\n<h3>\u8f9e\u66f8\u306e\u5024\u3092\u53c2\u7167<\/h3>\n<pre><code class=\"language-python\">person = {\"name\": \"\u4f50\u85e4\", \"age\": 35, \"city\": \"\u6771\u4eac\"}\nprint(f\"{person['name']}\u3055\u3093\u306f{person['age']}\u6b73\u3001{person['city']}\u5728\u4f4f\u3067\u3059\")\n# \u4f50\u85e4\u3055\u3093\u306f35\u6b73\u3001\u6771\u4eac\u5728\u4f4f\u3067\u3059\n<\/code><\/pre>\n<h3>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5c5e\u6027\u53c2\u7167<\/h3>\n<pre><code class=\"language-python\">class Person:\n    def __init__(self, name, age):\n        self.name = name\n        self.age = age\n\np = Person(\"\u9234\u6728\", 40)\nprint(f\"{p.name}\u3055\u3093\u306e\u5e74\u9f62\u306f{p.age}\u6b73\u3067\u3059\")\n# \u9234\u6728\u3055\u3093\u306e\u5e74\u9f62\u306f40\u6b73\u3067\u3059\n<\/code><\/pre>\n<h2>\u30c7\u30d0\u30c3\u30b0\u7528\u306e\u4fbf\u5229\u306a\u6a5f\u80fd\uff08Python 3.8+\uff09<\/h2>\n<h3>\u5909\u6570\u540d\u3068\u5024\u3092\u540c\u6642\u8868\u793a<\/h3>\n<pre><code class=\"language-python\">x = 10\ny = 20\nprint(f\"{x=}, {y=}, {x+y=}\")  # x=10, y=20, x+y=30\n<\/code><\/pre>\n<h3>\u5f0f\u3068\u7d50\u679c\u3092\u540c\u6642\u8868\u793a<\/h3>\n<pre><code class=\"language-python\">numbers = [1, 2, 3, 4, 5]\nprint(f\"{len(numbers)=}\")  # len(numbers)=5\nprint(f\"{sum(numbers)=}\")  # sum(numbers)=15\n<\/code><\/pre>\n<h2>\u5b9f\u7528\u7684\u306a\u5fdc\u7528\u4f8b<\/h2>\n<h3>\u30ed\u30b0\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u751f\u6210<\/h3>\n<pre><code class=\"language-python\">import datetime\nlevel = \"ERROR\"\nmessage = \"\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\"\ntimestamp = datetime.datetime.now()\nlog = f\"[{timestamp:%Y-%m-%d %H:%M:%S}] {level}: {message}\"\nprint(log)\n# [2025-08-06 10:30:15] ERROR: \u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\n<\/code><\/pre>\n<h3>CSV\u30d5\u30a1\u30a4\u30eb\u306e\u884c\u751f\u6210<\/h3>\n<pre><code class=\"language-python\">data = [\n    {\"name\": \"\u5c71\u7530\", \"score\": 85, \"grade\": \"B\"},\n    {\"name\": \"\u7530\u4e2d\", \"score\": 92, \"grade\": \"A\"},\n]\n\nfor row in data:\n    csv_line = f\"{row['name']},{row['score']},{row['grade']}\"\n    print(csv_line)\n# \u5c71\u7530,85,B\n# \u7530\u4e2d,92,A\n<\/code><\/pre>\n<h3>URL\u306e\u52d5\u7684\u751f\u6210<\/h3>\n<pre><code class=\"language-python\">base_url = \"https:\/\/api.example.com\"\nuser_id = 123\napi_key = \"abc123\"\nurl = f\"{base_url}\/users\/{user_id}?key={api_key}\"\nprint(url)\n# https:\/\/api.example.com\/users\/123?key=abc123\n<\/code><\/pre>\n<h2>format()\u30e1\u30bd\u30c3\u30c9\u3068\u306e\u6bd4\u8f03<\/h2>\n<pre><code class=\"language-python\"># format()\u30e1\u30bd\u30c3\u30c9\nname = \"Python\"\nversion = 3.9\nmsg1 = \"{}\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f{}\u3067\u3059\".format(name, version)\n\n# f\u6587\u5b57\u5217\nmsg2 = f\"{name}\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f{version}\u3067\u3059\"\n\nprint(msg1)  # Python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f3.9\u3067\u3059\nprint(msg2)  # Python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f3.9\u3067\u3059\n<\/code><\/pre>\n<p>f\u6587\u5b57\u5217\u306e\u65b9\u304c\u8aad\u307f\u3084\u3059\u304f\u3001\u5b9f\u884c\u901f\u5ea6\u3082\u9ad8\u901f\u3067\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>f\u6587\u5b57\u5217\u306f\u73fe\u4ee3\u7684\u306aPython\u30b3\u30fc\u30c9\u306b\u304a\u3051\u308b\u6a19\u6e96\u7684\u306a\u6587\u5b57\u5217\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u65b9\u6cd5\u3067\u3059\u3002\u76f4\u611f\u7684\u306a\u69cb\u6587\u3001\u9ad8\u3044\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3001\u8c4a\u5bcc\u306a\u66f8\u5f0f\u6307\u5b9a\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u3088\u308a\u3001\u3042\u3089\u3086\u308b\u5834\u9762\u3067\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u7279\u306b\u30c7\u30d0\u30c3\u30b0\u6642\u306e\u5909\u6570\u8868\u793a\u3001\u30ed\u30b0\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u751f\u6210\u3001\u30c7\u30fc\u30bf\u306e\u6574\u5f62\u306a\u3069\u3001\u65e5\u5e38\u7684\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u4f5c\u696d\u306b\u304a\u3044\u3066\u5927\u5e45\u306a\u52b9\u7387\u5411\u4e0a\u3092\u3082\u305f\u3089\u3057\u307e\u3059\u3002Python 3.6\u4ee5\u4e0a\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u7a4d\u6975\u7684\u306bf\u6587\u5b57\u5217\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u25a0\u30d7\u30ed\u30f3\u30d7\u30c8\u3060\u3051\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u30a2\u30d7\u30ea\u3092\u958b\u767a\u30fb\u516c\u958b\u3057\u3066\u307f\u305f\uff01\uff01<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"BYjILboUDh\"><a href=\"https:\/\/techgym.jp\/column\/ori-app\/\">\u30d7\u30ed\u30f3\u30d7\u30c8\u3060\u3051\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u30a2\u30d7\u30ea\u3092\u958b\u767a\u30fb\u516c\u958b\u3057\u3066\u307f\u305f\uff01\uff01<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u30d7\u30ed\u30f3\u30d7\u30c8\u3060\u3051\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u30a2\u30d7\u30ea\u3092\u958b\u767a\u30fb\u516c\u958b\u3057\u3066\u307f\u305f\uff01\uff01&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/column\/ori-app\/embed\/#?secret=0J8OeDSlAT#?secret=BYjILboUDh\" data-secret=\"BYjILboUDh\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u25a0AI\u6642\u4ee3\u306e\u7b2c\u4e00\u6b69\uff01\u300cAI\u99c6\u52d5\u958b\u767a\u30b3\u30fc\u30b9\u300d\u306f\u3058\u3081\u307e\u3057\u305f\uff01<\/p>\n\n\n\n<p>\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821\u3067\u5148\u884c\u958b\u59cb\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"xgKaxQbOs0\"><a href=\"https:\/\/techgym.jp\/about\/ai-driven-development\/\">AI\u99c6\u52d5\u958b\u767a\/\u751f\u6210AI\u30a8\u30f3\u30b8\u30cb\u30a2\u30b3\u30fc\u30b9\uff08\u521d\u5fc3\u8005\u5411\u3051\uff09<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;AI\u99c6\u52d5\u958b\u767a\/\u751f\u6210AI\u30a8\u30f3\u30b8\u30cb\u30a2\u30b3\u30fc\u30b9\uff08\u521d\u5fc3\u8005\u5411\u3051\uff09&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/about\/ai-driven-development\/embed\/#?secret=U7Rj3bsHNu#?secret=xgKaxQbOs0\" data-secret=\"xgKaxQbOs0\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u25a0\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821<\/p>\n\n\n\n<p>\u300c\u6b66\u7530\u587e\u300d\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u7248\u3068\u3044\u3048\u3070\u300c\u30c6\u30c3\u30af\u30b8\u30e0\u300d\u3002<br>\u8b1b\u7fa9\u52d5\u753b\u306a\u3057\u3001\u6559\u79d1\u66f8\u306a\u3057\u3002\u300c\u9032\u6357\u7ba1\u7406\u3068\u30b3\u30fc\u30c1\u30f3\u30b0\u300d\u3067\u52b9\u7387\u5b66\u7fd2\u3002<br>\u3088\u308a\u65e9\u304f\u3001\u3088\u308a\u5b89\u304f\u3001\u3057\u304b\u3082\u5bfe\u9762\u578b\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"5N7ERzQuT7\"><a href=\"https:\/\/techgym.jp\/tokyo\/tokyo_honko\/\">\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/tokyo\/tokyo_honko\/embed\/#?secret=LLPK2NKWCq#?secret=5N7ERzQuT7\" data-secret=\"5N7ERzQuT7\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\uff1c\u77ed\u671f\u8b1b\u7fd2\uff1e5\u65e5\u30675\u4e07\u5186\u306e\u300cPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\u958b\u50ac\u4e2d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"d424OqertN\"><a href=\"https:\/\/techgym.jp\/event\/nagatacho_camp\/\">\u72ec\u5b66\u3082\u30aa\u30f3\u30e9\u30a4\u30f3\u3082\u7121\u7406\u3060\u304b\u3089\u3001\u6709\u7d66\u3068\u3063\u3066\u300cPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\u3078\u30105\u65e5\u9593\u30675\u4e07\u5186\u3011<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u72ec\u5b66\u3082\u30aa\u30f3\u30e9\u30a4\u30f3\u3082\u7121\u7406\u3060\u304b\u3089\u3001\u6709\u7d66\u3068\u3063\u3066\u300cPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\u3078\u30105\u65e5\u9593\u30675\u4e07\u5186\u3011&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/event\/nagatacho_camp\/embed\/#?secret=sV7wOWIhdH#?secret=d424OqertN\" data-secret=\"d424OqertN\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\uff1c\u67081\u958b\u50ac\uff1e\u653e\u9001\u4f5c\u5bb6\u306b\u3088\u308b\u6620\u50cf\u30c7\u30a3\u30ec\u30af\u30bf\u30fc\u990a\u6210\u8b1b\u5ea7<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"7UVs0yvuS0\"><a href=\"https:\/\/techgym.jp\/event\/video_director\/\">\u73fe\u5f79\u653e\u9001\u4f5c\u5bb6\u304c\u6559\u3048\u308b\u52d5\u753b\u8b1b\u5ea7\uff01\u300e\uff24\uff2f\uff27\uff21\u300f<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u73fe\u5f79\u653e\u9001\u4f5c\u5bb6\u304c\u6559\u3048\u308b\u52d5\u753b\u8b1b\u5ea7\uff01\u300e\uff24\uff2f\uff27\uff21\u300f&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/event\/video_director\/embed\/#?secret=Zv1GBHtcNF#?secret=7UVs0yvuS0\" data-secret=\"7UVs0yvuS0\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\uff1c\u30aa\u30f3\u30e9\u30a4\u30f3\u7121\u6599\uff1e\u30bc\u30ed\u304b\u3089\u59cb\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"5lf5dc9TXy\"><a href=\"https:\/\/techgym.jp\/tokyo_python\/\">\u30bc\u30ed\u304b\u3089\u59cb\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7\uff08\u7406\u7cfb\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u521d\u5fc3\u8005\u5411\u3051\uff09<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u30bc\u30ed\u304b\u3089\u59cb\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7\uff08\u7406\u7cfb\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u521d\u5fc3\u8005\u5411\u3051\uff09&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/tokyo_python\/embed\/#?secret=U29dUzbsBP#?secret=5lf5dc9TXy\" data-secret=\"5lf5dc9TXy\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 Python 3.6\u3067\u5c0e\u5165\u3055\u308c\u305ff\u6587\u5b57\u5217\uff08f-string\uff09\u306f\u3001\u6587\u5b57\u5217\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u6700\u3082\u52b9\u7387\u7684\u3067\u8aad\u307f\u3084\u3059\u3044\u65b9\u6cd5\u3067\u3059\u3002\u5f93\u6765\u306eformat()\u30e1\u30bd\u30c3\u30c9\u3084%\u6f14\u7b97\u5b50\u3068\u6bd4\u3079\u3066\u3001\u30b7\u30f3\u30d7\u30eb\u3067\u9ad8\u901f\u306a\u6587\u5b57\u5217\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":42501,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-43975","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-column"],"views":67,"jetpack_featured_media_url":"\/wp-content\/uploads\/2025\/07\/f3403acf5c65aedec0dba821c4c26404.png","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts\/43975","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/comments?post=43975"}],"version-history":[{"count":0,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts\/43975\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/media\/42501"}],"wp:attachment":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/media?parent=43975"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/categories?post=43975"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/tags?post=43975"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}