{"id":14634,"date":"2023-04-19T22:34:33","date_gmt":"2023-04-19T14:34:33","guid":{"rendered":"https:\/\/mnya.tw\/cc\/?p=14634"},"modified":"2023-04-20T14:30:08","modified_gmt":"2023-04-20T06:30:08","slug":"1997","status":"publish","type":"post","link":"https:\/\/mnya.tw\/cc\/word\/1997.html","title":{"rendered":"Python\uff1aMT \u6a94\u6848\u53d6\u51fa\u6240\u6709\u5f71\u50cf\u5230\u672c\u5730"},"content":{"rendered":"<p>\u70ba\u4e86\u5feb\u901f\u5c07\u90e8\u843d\u683c\u532f\u51fa\u7684\u7d14\u6587\u5b57 MT \u6a94\u4e2d\u6bcf\u5f35\u7167\u7247\u90fd\u4e0b\u8f09\u56de\u672c\u5730\u5099\u4efd\u6216\u5f8c\u7e8c\u904b\u7528\uff0c\u7279\u5225\u8207 ChatGPT \u5408\u4f5c\u5beb\u51fa\u4e86\u9019\u6bb5 Python \u8173\u672c\u3002\u96a8\u610f\u7aa9 8 \u6708\u5e95\u8981\u95dc\u7ad9\u4e86\uff0c\u9019\u500b\u5c0f\u7a0b\u5f0f\u61c9\u8a72\u53ef\u4ee5\u5e6b\u5230\u4e0d\u5c11\u4eba\u5fd9\uff0c\u5982\u679c\u6709\u5e6b\u52a9\u5230\u4f60\uff0c\u6b61\u8fce\u900f\u904e\u53f3\u908a\u6309\u9215\u9032\u5165\u8d0a\u52a9\uff0c\u8b1d\u8b1d\u3002<\/p>\n<p>GitHub\uff1a<a href=\"https:\/\/github.com\/qwe987299\/MTfileGetImagesToLocal\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/qwe987299\/MTfileGetImagesToLocal<\/a><\/p>\n<h1><span style=\"color: #000080;\">\u4f7f\u7528\u65b9\u5f0f<\/span><\/h1>\n<p>1. \u9996\u5148\u5c07\u8981\u8655\u7406\u7684\u7d14\u6587\u5b57 MT \u6a94\u6539\u540d input.txt \u4e26\u8207 run.py \u653e\u5728\u4e00\u8d77\u3002<br \/>\n2. \u96d9\u64ca run.bat \u6279\u6b21\u6a94\u958b\u59cb\u904b\u4f5c\u3002<br \/>\n3. \u7d42\u7aef\u6a5f\u770b\u5230\u300cALL DONE!!!\u300d\u4ee3\u8868\u5b8c\u6210\u3002<br \/>\n4. images \u5b50\u76ee\u9304\u5b58\u653e\u6240\u6709\u4e0b\u8f09\u56de\u4f86\u7684\u5716\u6a94\uff0coutput.txt \u5247\u662f\u4fee\u6539\u5b8c\u7db2\u5740\u7684\u65b0\u7d14\u6587\u5b57 MT \u6a94\u3002<\/p><div class=\"3a456c955cc9861673f62d33beb7714e\" data-index=\"2\" style=\"float: none; margin:0px;\">\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-2683739050533486\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block; text-align:center;\"\r\n     data-ad-layout=\"in-article\"\r\n     data-ad-format=\"fluid\"\r\n     data-ad-client=\"ca-pub-2683739050533486\"\r\n     data-ad-slot=\"3270345536\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\n<\/div>\n\n<h1><span style=\"color: #000080;\">\u5b8c\u6574\u7a0b\u5f0f\u78bc<\/span><\/h1>\n<pre class=\"line-numbers\"><code class=\"language-python\">import os\r\nimport re\r\nimport requests\r\n\r\n\r\ndef download_image(url, output_dir):\r\n    num_retries = 2\r\n    for i in range(num_retries):\r\n        try:\r\n            response = requests.get(url)\r\n            response.raise_for_status()\r\n            image_name = os.path.basename(url)\r\n            with open(os.path.join(output_dir, image_name), \"wb\") as f:\r\n                f.write(response.content)\r\n                print(f\"Downloaded {image_name} to {output_dir}\")\r\n            break\r\n        except (requests.exceptions.RequestException, IOError) as e:\r\n            print(f\"Failed to download {url} (attempt {i+1}\/{num_retries})\")\r\n            if i == num_retries - 1:\r\n                print(f\"Gave up downloading {url}: {str(e)}\")\r\n\r\n\r\ndef main(input_file):\r\n    # Create output directory\r\n    output_dir = \"images\"\r\n    if not os.path.exists(output_dir):\r\n        os.makedirs(output_dir)\r\n\r\n    # Open input file\r\n    with open(input_file, \"r\", encoding='utf-8') as f:\r\n        lines = f.readlines()\r\n\r\n    # Find all image URLs and download them\r\n    img_urls = []\r\n    for line in lines:\r\n        matches = re.findall(r'&lt;img\\s.*?src=\"(.*?)\".*?\/&gt;', line)\r\n        for match in matches:\r\n            img_urls.append(match)\r\n\r\n    # Remove duplicates from the image URL list\r\n    img_urls = list(set(img_urls))\r\n\r\n    # Download all images\r\n    for img_url in img_urls:\r\n        download_image(img_url, output_dir)\r\n\r\n    # Replace image URLs in input file\r\n    output_lines = []\r\n    for line in lines:\r\n        replaced_urls = []  # List to store replaced URLs for the current line\r\n        output_line = line  # Create a copy of the original line to modify\r\n        for img_url in img_urls:\r\n            if img_url not in replaced_urls:  # Check if URL already replaced\r\n                output_line = output_line.replace(\r\n                    img_url, f\"{output_dir}\/{os.path.basename(img_url)}\")\r\n                replaced_urls.append(img_url)  # Add URL to replaced list\r\n        output_lines.append(output_line)\r\n\r\n        # Clear replaced URLs list for the next line\r\n        replaced_urls = []\r\n\r\n    with open(f\"output.txt\", \"w\", encoding='utf-8') as f:\r\n        for line in output_lines:\r\n            f.write(line)\r\n\r\n\r\nif __name__ == \"__main__\":\r\n    input_file = \"input.txt\"\r\n    main(input_file)\r\n    print(f\"ALL DONE!!!\")<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mnya.tw\/cc\/wp-content\/uploads\/2023\/1997-1.jpg\" width=\"1024\" height=\"768\" \/><br \/>\n\u25b2 \u8981\u532f\u5165\u8655\u7406\u7684\u7d14\u6587\u5b57 MT \u6a94\u5fc5\u9808\u5148\u6539\u540d input.txt\uff0c\u53ef\u4ee5\u770b\u5230\u88e1\u9762\u5f88\u591a\u9060\u7aef\u5f71\u50cf\u7db2\u5740\uff0c\u7a0d\u5f8c\u7a0b\u5f0f\u6703\u81ea\u52d5\u5224\u65b7\u4e26\u4e0b\u8f09\u3002\u57f7\u884c run.bat \u6279\u6b21\u6a94\u958b\u59cb\u904b\u4f5c\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mnya.tw\/cc\/wp-content\/uploads\/2023\/1997-2.jpg\" width=\"1024\" height=\"768\" \/><br \/>\n\u25b2 run.bat \u6279\u6b21\u6a94\u958b\u59cb\u904b\u4f5c\u4e86\uff01\u6703\u6709\u4e0b\u8f09\u6210\u529f\u8207\u5426\u7684\u8cc7\u8a0a\u5728\u7d42\u7aef\u6a5f\u4e0a\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mnya.tw\/cc\/wp-content\/uploads\/2023\/1997-3.jpg\" width=\"1024\" height=\"768\" \/><br \/>\n\u25b2 \u7d42\u7aef\u6a5f\u770b\u5230\u300cALL DONE!!!\u300d\u4ee3\u8868\u5b8c\u6210\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mnya.tw\/cc\/wp-content\/uploads\/2023\/1997-4.jpg\" width=\"1024\" height=\"768\" \/><br \/>\n\u25b2 \u5c08\u6848\u4e2d\u7684 images \u5b50\u76ee\u9304\u5b58\u653e\u6240\u6709\u4e0b\u8f09\u56de\u4f86\u7684\u5716\u6a94\uff0coutput.txt \u5247\u662f\u4fee\u6539\u5b8c\u7db2\u5740\u7684\u65b0\u7d14\u6587\u5b57 MT \u6a94\u3002<\/p>\n<div id=\"gtx-trans\" style=\"position: absolute; left: 500px; top: 1253.55px;\">\n<div class=\"gtx-trans-icon\"><\/div>\n<\/div>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>\u70ba\u4e86\u5feb\u901f\u5c07\u90e8\u843d\u683c\u532f\u51fa\u7684\u7d14\u6587\u5b57 MT \u6a94\u4e2d\u6bcf\u5f35\u7167\u7247\u90fd\u4e0b\u8f09\u56de\u672c\u5730\u5099\u4efd\u6216\u5f8c\u7e8c\u904b\u7528\uff0c\u7279\u5225\u8207 ChatGPT \u5408\u4f5c\u5beb\u51fa\u4e86\u9019\u6bb5 Python \u8173\u672c\u3002\u96a8\u610f\u7aa9 8 \u6708\u5e95\u8981\u95dc\u7ad9\u4e86\uff0c\u9019\u500b\u5c0f\u7a0b\u5f0f\u61c9\u8a72\u53ef\u4ee5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":14638,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,499],"tags":[],"class_list":["post-14634","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-code","category-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Python\uff1aMT \u6a94\u6848\u53d6\u51fa\u6240\u6709\u5f71\u50cf\u5230\u672c\u5730 - \u840c\u82bd\u7d9c\u5408\u5929\u5730 - \u840c\u82bd\u7db2\u9801<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mnya.tw\/cc\/word\/1997.html\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python\uff1aMT \u6a94\u6848\u53d6\u51fa\u6240\u6709\u5f71\u50cf\u5230\u672c\u5730 - \u840c\u82bd\u7d9c\u5408\u5929\u5730 - \u840c\u82bd\u7db2\u9801\" \/>\n<meta property=\"og:description\" content=\"\u70ba\u4e86\u5feb\u901f\u5c07\u90e8\u843d\u683c\u532f\u51fa\u7684\u7d14\u6587\u5b57 MT \u6a94\u4e2d\u6bcf\u5f35\u7167\u7247\u90fd\u4e0b\u8f09\u56de\u672c\u5730\u5099\u4efd\u6216\u5f8c\u7e8c\u904b\u7528\uff0c\u7279\u5225\u8207 ChatGPT \u5408\u4f5c\u5beb\u51fa\u4e86\u9019\u6bb5 Python \u8173\u672c\u3002\u96a8\u610f\u7aa9 8 \u6708\u5e95\u8981\u95dc\u7ad9\u4e86\uff0c\u9019\u500b\u5c0f\u7a0b\u5f0f\u61c9\u8a72\u53ef\u4ee5\u5e6b\u5230\u4e0d\u5c11\u4eba\u5fd9\uff0c\u5982\u679c [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mnya.tw\/cc\/word\/1997.html\" \/>\n<meta property=\"og:site_name\" content=\"\u840c\u82bd\u7d9c\u5408\u5929\u5730\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-19T14:34:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-20T06:30:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mnya.tw\/cc\/wp-content\/uploads\/2023\/1997-2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"768\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u840c\u82bd\u7ad9\u9577\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/x.com\/qwe987299\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005:\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u840c\u82bd\u7ad9\u9577\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9810\u4f30\u95b1\u8b80\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\u9418\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/1997.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/1997.html\"},\"author\":{\"name\":\"\u840c\u82bd\u7ad9\u9577\",\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/#\\\/schema\\\/person\\\/28e9ae25bc418b8ec216b7aa2c848faa\"},\"headline\":\"Python\uff1aMT \u6a94\u6848\u53d6\u51fa\u6240\u6709\u5f71\u50cf\u5230\u672c\u5730\",\"datePublished\":\"2023-04-19T14:34:33+00:00\",\"dateModified\":\"2023-04-20T06:30:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/1997.html\"},\"wordCount\":37,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/1997.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/wp-content\\\/uploads\\\/2023\\\/1997-2.jpg\",\"articleSection\":[\"\u7a0b\u5f0f\u8a2d\u8a08\",\"Python\"],\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/1997.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/1997.html\",\"url\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/1997.html\",\"name\":\"Python\uff1aMT \u6a94\u6848\u53d6\u51fa\u6240\u6709\u5f71\u50cf\u5230\u672c\u5730 - \u840c\u82bd\u7d9c\u5408\u5929\u5730 - \u840c\u82bd\u7db2\u9801\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/1997.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/1997.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/wp-content\\\/uploads\\\/2023\\\/1997-2.jpg\",\"datePublished\":\"2023-04-19T14:34:33+00:00\",\"dateModified\":\"2023-04-20T06:30:08+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/#\\\/schema\\\/person\\\/28e9ae25bc418b8ec216b7aa2c848faa\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/1997.html#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/1997.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/1997.html#primaryimage\",\"url\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/wp-content\\\/uploads\\\/2023\\\/1997-2.jpg\",\"contentUrl\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/wp-content\\\/uploads\\\/2023\\\/1997-2.jpg\",\"width\":1024,\"height\":768},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/1997.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9801\",\"item\":\"https:\\\/\\\/mnya.tw\\\/cc\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\uff1aMT \u6a94\u6848\u53d6\u51fa\u6240\u6709\u5f71\u50cf\u5230\u672c\u5730\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/#website\",\"url\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/\",\"name\":\"\u840c\u82bd\u7d9c\u5408\u5929\u5730\",\"description\":\"\u751f\u6d3b\u4f11\u9592\u2502\u96fb\u5b50\u8cc7\u8a0a\u2502\u5b78\u8853\u77e5\u8b58\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-TW\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/#\\\/schema\\\/person\\\/28e9ae25bc418b8ec216b7aa2c848faa\",\"name\":\"\u840c\u82bd\u7ad9\u9577\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c63875472a671bb4fd1e3a1012e8ef8bb9672b41d7810b61f508a42ad15ef16a?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c63875472a671bb4fd1e3a1012e8ef8bb9672b41d7810b61f508a42ad15ef16a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c63875472a671bb4fd1e3a1012e8ef8bb9672b41d7810b61f508a42ad15ef16a?s=96&d=mm&r=g\",\"caption\":\"\u840c\u82bd\u7ad9\u9577\"},\"description\":\"\u60a8\u597d\uff0c\u6211\u662f\u840c\u82bd\u7cfb\u5217\u7db2\u7ad9\uff08Mnya Series Website\uff09\u7684\u7ad9\u9577&amp;\u5275\u59cb\u4eba\uff0c\u53ef\u4ee5\u7a31\u547c\u6211\u300c\u840c\u82bd\u7ad9\u9577\u300d\u3002\u6211\u7684\u8208\u8da3\u8207\u5c08\u9577\u6709\u767b\u5c71\u3001\u89c0\u5bdf\u5730\u5f62\u3001\u651d\u5f71\u3001\u65c5\u904a\u3001\u7db2\u9801\u8a2d\u8a08\uff06\u67b6\u8a2d\uff06\u7d93\u71df\u3001\u52d5\u756b\u88fd\u4f5c\u3001\u5716\u7247\u8655\u7406\u3001\u8cc7\u6599\u5f59\u6574\u7b49\u3002\u6709\u4efb\u4f55\u554f\u984c\u6216\u5efa\u8b70\u8acb\u81f3\u840c\u82bd\u8ad6\u58c7\u767c\u8868\u3002\u7db2\u7ad9\u696d\u52d9\u3001\u5546\u696d\u5408\u4f5c\u7684\u806f\u7d61\u65b9\u5f0f\u5728\u300c\u95dc\u65bc\u672c\u7ad9 \u2192 \u5718\u968a\u4ecb\u7d39 \u2192 \u7ad9\u9577\u4ecb\u7d39\u300d\uff0c\u5f88\u9ad8\u8208\u8a8d\u8b58\u60a8\uff01\u8acb\u591a\u6307\u6559\uff01\",\"sameAs\":[\"https:\\\/\\\/mnya.tw\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/x.com\\\/qwe987299\"],\"url\":\"https:\\\/\\\/mnya.tw\\\/cc\\\/word\\\/author\\\/qwe987299\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python\uff1aMT \u6a94\u6848\u53d6\u51fa\u6240\u6709\u5f71\u50cf\u5230\u672c\u5730 - \u840c\u82bd\u7d9c\u5408\u5929\u5730 - \u840c\u82bd\u7db2\u9801","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:\/\/mnya.tw\/cc\/word\/1997.html","og_locale":"zh_TW","og_type":"article","og_title":"Python\uff1aMT \u6a94\u6848\u53d6\u51fa\u6240\u6709\u5f71\u50cf\u5230\u672c\u5730 - \u840c\u82bd\u7d9c\u5408\u5929\u5730 - \u840c\u82bd\u7db2\u9801","og_description":"\u70ba\u4e86\u5feb\u901f\u5c07\u90e8\u843d\u683c\u532f\u51fa\u7684\u7d14\u6587\u5b57 MT \u6a94\u4e2d\u6bcf\u5f35\u7167\u7247\u90fd\u4e0b\u8f09\u56de\u672c\u5730\u5099\u4efd\u6216\u5f8c\u7e8c\u904b\u7528\uff0c\u7279\u5225\u8207 ChatGPT \u5408\u4f5c\u5beb\u51fa\u4e86\u9019\u6bb5 Python \u8173\u672c\u3002\u96a8\u610f\u7aa9 8 \u6708\u5e95\u8981\u95dc\u7ad9\u4e86\uff0c\u9019\u500b\u5c0f\u7a0b\u5f0f\u61c9\u8a72\u53ef\u4ee5\u5e6b\u5230\u4e0d\u5c11\u4eba\u5fd9\uff0c\u5982\u679c [&hellip;]","og_url":"https:\/\/mnya.tw\/cc\/word\/1997.html","og_site_name":"\u840c\u82bd\u7d9c\u5408\u5929\u5730","article_published_time":"2023-04-19T14:34:33+00:00","article_modified_time":"2023-04-20T06:30:08+00:00","og_image":[{"width":1024,"height":768,"url":"https:\/\/mnya.tw\/cc\/wp-content\/uploads\/2023\/1997-2.jpg","type":"image\/jpeg"}],"author":"\u840c\u82bd\u7ad9\u9577","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/x.com\/qwe987299","twitter_misc":{"\u4f5c\u8005:":"\u840c\u82bd\u7ad9\u9577","\u9810\u4f30\u95b1\u8b80\u6642\u9593":"3 \u5206\u9418"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mnya.tw\/cc\/word\/1997.html#article","isPartOf":{"@id":"https:\/\/mnya.tw\/cc\/word\/1997.html"},"author":{"name":"\u840c\u82bd\u7ad9\u9577","@id":"https:\/\/mnya.tw\/cc\/#\/schema\/person\/28e9ae25bc418b8ec216b7aa2c848faa"},"headline":"Python\uff1aMT \u6a94\u6848\u53d6\u51fa\u6240\u6709\u5f71\u50cf\u5230\u672c\u5730","datePublished":"2023-04-19T14:34:33+00:00","dateModified":"2023-04-20T06:30:08+00:00","mainEntityOfPage":{"@id":"https:\/\/mnya.tw\/cc\/word\/1997.html"},"wordCount":37,"commentCount":0,"image":{"@id":"https:\/\/mnya.tw\/cc\/word\/1997.html#primaryimage"},"thumbnailUrl":"https:\/\/mnya.tw\/cc\/wp-content\/uploads\/2023\/1997-2.jpg","articleSection":["\u7a0b\u5f0f\u8a2d\u8a08","Python"],"inLanguage":"zh-TW","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/mnya.tw\/cc\/word\/1997.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/mnya.tw\/cc\/word\/1997.html","url":"https:\/\/mnya.tw\/cc\/word\/1997.html","name":"Python\uff1aMT \u6a94\u6848\u53d6\u51fa\u6240\u6709\u5f71\u50cf\u5230\u672c\u5730 - \u840c\u82bd\u7d9c\u5408\u5929\u5730 - \u840c\u82bd\u7db2\u9801","isPartOf":{"@id":"https:\/\/mnya.tw\/cc\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mnya.tw\/cc\/word\/1997.html#primaryimage"},"image":{"@id":"https:\/\/mnya.tw\/cc\/word\/1997.html#primaryimage"},"thumbnailUrl":"https:\/\/mnya.tw\/cc\/wp-content\/uploads\/2023\/1997-2.jpg","datePublished":"2023-04-19T14:34:33+00:00","dateModified":"2023-04-20T06:30:08+00:00","author":{"@id":"https:\/\/mnya.tw\/cc\/#\/schema\/person\/28e9ae25bc418b8ec216b7aa2c848faa"},"breadcrumb":{"@id":"https:\/\/mnya.tw\/cc\/word\/1997.html#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mnya.tw\/cc\/word\/1997.html"]}]},{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/mnya.tw\/cc\/word\/1997.html#primaryimage","url":"https:\/\/mnya.tw\/cc\/wp-content\/uploads\/2023\/1997-2.jpg","contentUrl":"https:\/\/mnya.tw\/cc\/wp-content\/uploads\/2023\/1997-2.jpg","width":1024,"height":768},{"@type":"BreadcrumbList","@id":"https:\/\/mnya.tw\/cc\/word\/1997.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9801","item":"https:\/\/mnya.tw\/cc"},{"@type":"ListItem","position":2,"name":"Python\uff1aMT \u6a94\u6848\u53d6\u51fa\u6240\u6709\u5f71\u50cf\u5230\u672c\u5730"}]},{"@type":"WebSite","@id":"https:\/\/mnya.tw\/cc\/#website","url":"https:\/\/mnya.tw\/cc\/","name":"\u840c\u82bd\u7d9c\u5408\u5929\u5730","description":"\u751f\u6d3b\u4f11\u9592\u2502\u96fb\u5b50\u8cc7\u8a0a\u2502\u5b78\u8853\u77e5\u8b58","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mnya.tw\/cc\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-TW"},{"@type":"Person","@id":"https:\/\/mnya.tw\/cc\/#\/schema\/person\/28e9ae25bc418b8ec216b7aa2c848faa","name":"\u840c\u82bd\u7ad9\u9577","image":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/secure.gravatar.com\/avatar\/c63875472a671bb4fd1e3a1012e8ef8bb9672b41d7810b61f508a42ad15ef16a?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c63875472a671bb4fd1e3a1012e8ef8bb9672b41d7810b61f508a42ad15ef16a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c63875472a671bb4fd1e3a1012e8ef8bb9672b41d7810b61f508a42ad15ef16a?s=96&d=mm&r=g","caption":"\u840c\u82bd\u7ad9\u9577"},"description":"\u60a8\u597d\uff0c\u6211\u662f\u840c\u82bd\u7cfb\u5217\u7db2\u7ad9\uff08Mnya Series Website\uff09\u7684\u7ad9\u9577&amp;\u5275\u59cb\u4eba\uff0c\u53ef\u4ee5\u7a31\u547c\u6211\u300c\u840c\u82bd\u7ad9\u9577\u300d\u3002\u6211\u7684\u8208\u8da3\u8207\u5c08\u9577\u6709\u767b\u5c71\u3001\u89c0\u5bdf\u5730\u5f62\u3001\u651d\u5f71\u3001\u65c5\u904a\u3001\u7db2\u9801\u8a2d\u8a08\uff06\u67b6\u8a2d\uff06\u7d93\u71df\u3001\u52d5\u756b\u88fd\u4f5c\u3001\u5716\u7247\u8655\u7406\u3001\u8cc7\u6599\u5f59\u6574\u7b49\u3002\u6709\u4efb\u4f55\u554f\u984c\u6216\u5efa\u8b70\u8acb\u81f3\u840c\u82bd\u8ad6\u58c7\u767c\u8868\u3002\u7db2\u7ad9\u696d\u52d9\u3001\u5546\u696d\u5408\u4f5c\u7684\u806f\u7d61\u65b9\u5f0f\u5728\u300c\u95dc\u65bc\u672c\u7ad9 \u2192 \u5718\u968a\u4ecb\u7d39 \u2192 \u7ad9\u9577\u4ecb\u7d39\u300d\uff0c\u5f88\u9ad8\u8208\u8a8d\u8b58\u60a8\uff01\u8acb\u591a\u6307\u6559\uff01","sameAs":["https:\/\/mnya.tw\/","https:\/\/x.com\/https:\/\/x.com\/qwe987299"],"url":"https:\/\/mnya.tw\/cc\/word\/author\/qwe987299"}]}},"_links":{"self":[{"href":"https:\/\/mnya.tw\/cc\/wp-json\/wp\/v2\/posts\/14634","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mnya.tw\/cc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mnya.tw\/cc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mnya.tw\/cc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mnya.tw\/cc\/wp-json\/wp\/v2\/comments?post=14634"}],"version-history":[{"count":0,"href":"https:\/\/mnya.tw\/cc\/wp-json\/wp\/v2\/posts\/14634\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mnya.tw\/cc\/wp-json\/wp\/v2\/media\/14638"}],"wp:attachment":[{"href":"https:\/\/mnya.tw\/cc\/wp-json\/wp\/v2\/media?parent=14634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mnya.tw\/cc\/wp-json\/wp\/v2\/categories?post=14634"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mnya.tw\/cc\/wp-json\/wp\/v2\/tags?post=14634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}