{"id":205204,"date":"2025-05-29T13:06:05","date_gmt":"2025-05-29T05:06:05","guid":{"rendered":"https:\/\/server.hk\/cnblog\/205204\/"},"modified":"2025-05-29T13:06:05","modified_gmt":"2025-05-29T05:06:05","slug":"%e6%8e%8c%e6%8f%a1-python-%e8%84%9a%e6%9c%ac%e6%89%a7%e8%a1%8c%ef%bc%9a%e7%bb%bc%e5%90%88%e6%8c%87%e5%8d%97","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/205204\/","title":{"rendered":"\u638c\u63e1 Python \u811a\u672c\u6267\u884c\uff1a\u7efc\u5408\u6307\u5357"},"content":{"rendered":"<p><b><\/b>     <\/p>\n<h1>\u638c\u63e1 Python \u811a\u672c\u6267\u884c\uff1a\u7efc\u5408\u6307\u5357<\/h1>\n<p><span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">\u6587\u7ae0<\/span>\u4e0d\u77e5\u9053\u5927\u5bb6\u662f\u5426\u719f\u6089\uff1f\u4eca\u5929\u6211\u5c06\u7ed9\u5927\u5bb6\u4ecb\u7ecd<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">\u300a\u638c\u63e1 Python \u811a\u672c\u6267\u884c\uff1a\u7efc\u5408\u6307\u5357\u300b<\/span>\uff0c\u8fd9\u7bc7\u6587\u7ae0\u4e3b\u8981\u4f1a\u8bb2\u5230<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\"><\/span>\u7b49\u7b49\u77e5\u8bc6\u70b9\uff0c\u5982\u679c\u4f60\u5728\u770b\u5b8c\u672c\u7bc7\u6587\u7ae0\u540e\uff0c\u6709\u66f4\u597d\u7684\u5efa\u8bae\u6216\u8005\u53d1\u73b0\u54ea\u91cc\u6709\u95ee\u9898\uff0c\u5e0c\u671b\u5927\u5bb6\u90fd\u80fd\u79ef\u6781\u8bc4\u8bba\u6307\u51fa\uff0c\u8c22\u8c22\uff01\u5e0c\u671b\u6211\u4eec\u80fd\u4e00\u8d77\u52a0\u6cb9\u8fdb\u6b65\uff01<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20241126\/17325848296745257d8a551.jpg\" class=\"aligncenter\"><\/p>\n<p>\u5b66\u4e60\u8de8\u73af\u5883\u6267\u884c Python \u811a\u672c\u7684\u57fa\u7840\u77e5\u8bc6\u548c\u9ad8\u7ea7\u6280\u672f\u3002\u63d0\u9ad8\u6548\u7387\u5e76\u907f\u514d\u5e38\u89c1\u9519\u8bef\u3002<\/p>\n<p>\u7b80\u4ecb\uff1a<\/p>\n<p>Python \u811a\u672c\u7684\u6267\u884c\u7528\u4e8e\u8fd0\u884c Python \u4ee3\u7801\u6765\u6267\u884c\u4efb\u52a1\u3001\u81ea\u52a8\u5316\u5de5\u4f5c\u6d41\u7a0b\u6216\u6784\u5efa\u5e94\u7528\u7a0b\u5e8f\u3002 Python \u4f5c\u4e3a\u6700\u6d41\u884c\u7684\u8bed\u8a00\u4e4b\u4e00\uff0c\u63d0\u4f9b\u4e86\u591a\u79cd\u5728\u4e0d\u540c\u73af\u5883\u548c\u4e0d\u540c\u5e73\u53f0\u4e0a\u6267\u884c\u811a\u672c\u7684\u65b9\u5f0f\u3002<\/p>\n<p>\u4e0b\u9762\u7684\u6587\u7ae0\u5c06\u5f15\u5bfc\u60a8\u8be6\u7ec6\u4e86\u89e3\u6267\u884c Python \u811a\u672c\u7684\u57fa\u672c\u65b9\u6cd5\u548c\u9ad8\u7ea7\u6280\u672f\uff0c\u4ee5\u4fbf\u521d\u5b66\u8005\u7406\u89e3\u548c\u7ecf\u9a8c\u4e30\u5bcc\u7684\u5f00\u53d1\u4eba\u5458\u7684\u589e\u5f3a\u3002<\/p>\n<p>\u4ec0\u4e48\u662f Python \u811a\u672c\u6267\u884c\uff1f<\/p>\n<p>Python\u811a\u672c\u7684\u6267\u884c\u662f\u6307\u4f7f\u7528Python\u89e3\u91ca\u5668\u8fd0\u884cPython\u7a0b\u5e8f\uff08\u901a\u5e38\u79f0\u4e3a\u811a\u672c\uff09\u7684\u8fc7\u7a0b\u3002 Python \u811a\u672c\u901a\u5e38\u5e26\u6709 .py \u6269\u5c55\u540d\uff0c\u5c3d\u7ba1 Python \u6587\u4ef6\u53ef\u80fd\u4f7f\u7528\u5176\u4ed6\u6269\u5c55\u540d\u3002&nbsp;<\/p>\n<p>Python \u811a\u672c\u5982\u4f55\u5de5\u4f5c<\/p>\n<p>\u5f53\u60a8\u6267\u884cPython\u7a0b\u5e8f\u65f6\uff0c\u89e3\u91ca\u5668\u4e00\u6b21\u8bfb\u53d6\u4e00\u884c\u811a\u672c\uff0c\u7136\u540e\u5c06\u5176\u7ffb\u8bd1\u4e3a\u673a\u5668\u4ee3\u7801\u3002\u64cd\u4f5c\u7cfb\u7edf\u6267\u884c\u673a\u5668\u4ee3\u7801\u3002&nbsp;<\/p>\n<p>\u6267\u884cPython\u811a\u672c\u7684\u5148\u51b3\u6761\u4ef6<\/p>\n<p>\u8981\u8fd0\u884c Python \u811a\u672c\uff0c\u8bf7\u786e\u4fdd\uff1a<\/p>\n<p>Python \u5df2\u5b89\u88c5\u5728\u60a8\u7684\u7cfb\u7edf\u4e0a\u3002\u60a8\u53ef\u4ee5\u4ecePython\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u5b83\u3002<\/p>\n<p>\u60a8\u6709\u4e00\u4e2a\u6587\u672c\u7f16\u8f91\u5668\u6216 IDE\uff0c\u53ef\u4ee5\u5728\u5176\u4e2d\u7f16\u5199\u811a\u672c\u3002<br \/> \u60a8\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u5df2\u6b63\u786e\u8bbe\u7f6e Python \u73af\u5883\u53d8\u91cf\u3002<\/p>\n<p>\u53ef\u4ee5\u4f7f\u7528\u7c7b\u4f3c\u4e8e<strong>Python\u5728\u7ebf\u7f16\u8bd1\u5668<\/strong>\u7684\u5728\u7ebf\u7f16\u8bd1\u5668\u6765\u7f16\u8bd1Python\u4ee3\u7801\u3002<\/p>\n<p>\u8fd0\u884cPython\u811a\u672c\u7684\u4e00\u4e9b\u65b9\u6cd5<\/p>\n<p>\u8fd9\u91cc\u6709\u4e00\u4e9bPython\u811a\u672c\u8fd0\u884c\u7684\u65b9\u6cd5\uff1a<br \/> \u4f7f\u7528\u96c6\u6210\u5f00\u53d1\u73af\u5883 IDE\uff1a\u4e00\u4e9b\u6700\u5e38\u7528\u7684 IDE\uff08\u5982 PyCharm\u3001VS Code \u548c Jupyter Notebook\uff09\u53ef\u4ee5\u8f7b\u677e\u8fd0\u884c\u811a\u672c\u3002<br \/> \u547d\u4ee4\u884c\uff1a\u9664\u6b64\u4e4b\u5916\uff0c\u5b83\u662f\u57fa\u4e8e\u547d\u4ee4\u884c\u8fd0\u884c\u811a\u672c\u6700\u7075\u6d3b\u3001\u6700\u5feb\u6377\u7684\u65b9\u5f0f\u4e4b\u4e00\u3002<\/p>\n<p>\u4f7f\u7528\u4efb\u52a1\u8ba1\u5212\u7a0b\u5e8f\u8fdb\u884c\u8ba1\u5212\uff1a\u53ef\u4ee5\u4f7f\u7528 Linux \u4e0a\u7684 cron \u548c Windows \u4e0a\u7684\u4efb\u52a1\u8ba1\u5212\u7a0b\u5e8f\u7b49\u5de5\u5177\u5728\u6307\u5b9a\u65f6\u95f4\u81ea\u52a8\u6267\u884c Python \u811a\u672c\u3002<\/p>\n<p>\u5728\u4e0d\u540c\u73af\u5883\u4e0b\u6267\u884cPython\u811a\u672c<\/p>\n<p>Python \u811a\u672c\u53ef\u4ee5\u5728\u8bb8\u591a\u73af\u5883\u4e2d\u6267\u884c\uff0c\u4f8b\u5982\uff1a<\/p>\n<p>\u672c\u5730\u673a\u5668\uff1a\u672c\u5730\u8fd0\u884c\u811a\u672c\u662f\u5f00\u53d1\u548c\u6d4b\u8bd5\u7684\u66f4\u5e38\u89c1\u65b9\u6cd5\u4e4b\u4e00\u3002<\/p>\n<p>\u4e91\u5e73\u53f0\uff1aPython \u53ef\u4e0e\u4e0d\u540c\u7684\u4e91\u73af\u5883\u914d\u5408\u4f7f\u7528\uff0c\u4f8b\u5982 AWS Lambda\u3001Google Cloud Functions \u548c Azure\u3002<\/p>\n<p>\u5bb9\u5668\uff1aPython \u811a\u672c\u53ef\u4ee5\u4f7f\u7528 Docker \u7b49\u5b9e\u7528\u7a0b\u5e8f\u8fdb\u884c\u5bb9\u5668\u5316\uff0c\u7136\u540e\u6267\u884c\u3002<\/p>\n<p>\u5728\u672c\u5730\u8ba1\u7b97\u673a\u4e0a\u8fd0\u884c Python \u811a\u672c<\/p>\n<p>\u5728\u672c\u5730\u8ba1\u7b97\u673a\u4e0a\uff0c\u60a8\u53ef\u4ee5\u81ea\u7531\u5730\u901a\u8fc7\u547d\u4ee4\u884c\u6216\u96c6\u6210\u5f00\u53d1\u73af\u5883\u76f4\u63a5\u8fd0\u884c Python \u811a\u672c\u3002<\/p>\n<p>\u5bf9\u4e8e Windows\uff1a\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u5e76\u6267\u884c python script.py\u3002<\/p>\n<p>\u5bf9\u4e8e macOS\/Linux\uff1a\u5728\u7ec8\u7aef\u4e2d\u5b8c\u6210\u76f8\u540c\u7684\u64cd\u4f5c\u3002\u5728\u6bcf\u79cd\u60c5\u51b5\u4e0b\uff0c\u8bf7\u786e\u4fdd\u6587\u4ef6\u7684\u8def\u5f84\u548c\u6743\u9650\u8bbe\u7f6e\u6b63\u786e\uff0c\u4ee5\u4fbf\u8fd0\u884c\u811a\u672c\u65f6\u4e0d\u4f1a\u51fa\u73b0\u4efb\u4f55\u95ee\u9898\u3002<\/p>\n<p>\u5728\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a\u8fd0\u884c\u7684 Python \u811a\u672c<\/p>\n<p>\u8fd9\u5b9e\u9645\u4e0a\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u5f88\u5e38\u89c1\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528 SSH \u767b\u5f55\u8fdc\u7a0b\u670d\u52a1\u5668\u5e76\u8fdc\u7a0b\u6267\u884c\u811a\u672c\u3002\u4f46\u662f\uff0c\u6709\u4e00\u4e9b\u5de5\u5177\uff0c\u4f8b\u5982 Ansible \u6216 Fabric\uff0c\u53ef\u4ee5\u8ba9\u60a8\u5bf9\u4efb\u610f\u6570\u91cf\u7684\u670d\u52a1\u5668\u6267\u884c\u6b64\u64cd\u4f5c\uff0c\u56e0\u6b64\u5b83\u53ef\u4ee5\u81ea\u52a8\u5316\u8be5\u8fc7\u7a0b\u3002<\/p>\n<p>\u4f7f\u7528 IDE \u8fd0\u884c Python<\/p>\n<p>IDE\u4ee3\u8868\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff0c\u662f\u4e00\u79cd\u7528\u4e8e\u5f00\u53d1\u8f6f\u4ef6\u7684\u5e94\u7528\u7a0b\u5e8f\u3002 PyCharm \u548c VS Code \u7b49\u6d41\u884c\u7684 IDE \u56e0\u5176\u5185\u7f6e\u529f\u80fd\u800c\u4f7f\u8fd0\u884c Python \u811a\u672c\u53d8\u5f97\u66f4\u52a0\u5bb9\u6613\uff0c\u4f8b\u5982\uff1a<\/p>\n<p>\u8c03\u8bd5\u5668<\/p>\n<p>\u8bed\u6cd5\u7a81\u51fa\u663e\u793a \u865a\u62df\u73af\u5883 \u8f7b\u677e\u6267\u884c\u811a\u672c \u4f7f\u7528 CLI \u6267\u884c Python \u811a\u672c \u559c\u6b22\u4ece\u547d\u4ee4\u884c\u5de5\u4f5c\u7684\u7528\u6237\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6267\u884c Python \u811a\u672c\uff1a python filename.py \u6b63\u5982\u5df2\u7ecf\u8bf4\u8fc7\u7684\uff0c\u547d\u4ee4\u884c\u754c\u9762\u5f88\u6709\u7528\u5728\u65e0\u5934\u7cfb\u7edf\u4e0a\u5de5\u4f5c\u6216\u4ee5\u975e\u4ea4\u4e92\u65b9\u5f0f\u81ea\u52a8\u5316\u811a\u672c\u65f6\u3002<\/p>\n<p>\u81ea\u52a8\u5316\u6267\u884cPython\u811a\u672c\u8bb8\u591a\u91cd\u590d\u6027\u6d3b\u52a8\u53ef\u4ee5\u66f4\u597d\u5730\u81ea\u52a8\u5316\uff0c\u4ee5\u8282\u7701\u5927\u91cf\u65f6\u95f4\u3002\u5b9e\u73b0\u81ea\u52a8\u5316\u7684\u4e00\u4e9b\u65b9\u6cd5\u662f\uff1a<\/p>\n<p>Cron jobs (Linux\/MacOS)\uff1a\u53ef\u7528\u4e8e\u53ca\u65f6\u81ea\u52a8\u8fd0\u884cPython\u811a\u672c\u3002<\/p>\n<p>Windows \u4efb\u52a1\u8ba1\u5212\u7a0b\u5e8f\uff1a\u5bf9\u4e8e Windows \u7528\u6237\uff0c\u4efb\u52a1\u8ba1\u5212\u7a0b\u5e8f\u534f\u52a9\u5728\u7279\u5b9a\u65f6\u95f4\u8fd0\u884c Python \u811a\u672c\u3002<\/p>\n<p>\u6267\u884c Python \u811a\u672c\u65f6\u7684\u4e00\u822c\u95ee\u9898<\/p>\n<p>\u8fd0\u884c Python \u811a\u672c\u65f6\uff0c\u53ef\u80fd\u4f1a\u53d1\u751f\u5404\u79cd\u7c7b\u578b\u7684\u9519\u8bef\u3002\u5b83\u53ef\u4ee5\u662f\u4ece\u8bed\u6cd5\u9519\u8bef\u5230\u8fd0\u884c\u65f6\u9519\u8bef\u7684\u4efb\u4f55\u9519\u8bef\u3002\u6700\u5e38\u89c1\u7684\u7c7b\u578b\u662f\uff1a<\/p>\n<p>\u8bed\u6cd5\u9519\u8bef\uff1a\u5f53\u7f16\u5199\u4ee3\u7801\u65f6\u4f7f\u7528\u4efb\u4f55\u62fc\u5199\u9519\u8bef\u6216\u9519\u8bef\u8bed\u6cd5\u65f6\uff0c\u5c31\u4f1a\u51fa\u73b0\u6b64\u9519\u8bef\u3002<\/p>\n<p>\u627e\u4e0d\u5230\u6a21\u5757\u9519\u8bef\uff1a\u5f53\u811a\u672c\u5c1d\u8bd5\u5bfc\u5165\u672a\u5b89\u88c5\u7684\u6a21\u5757\u65f6\u4f1a\u53d1\u751f\u8fd9\u79cd\u60c5\u51b5\u3002<\/p>\n<p>\u7f29\u8fdb\u9519\u8bef\uff1aPython \u4e2d\u6267\u884c\u5931\u8d25\u7684\u53e6\u4e00\u4e2a\u5e38\u89c1\u70b9\u662f\u4ee3\u7801\u5757\u7f29\u8fdb\u7684\u9519\u8bef\u4f7f\u7528\u3002<\/p>\n<p>\u9ad8\u6548\u6267\u884cPython\u811a\u672c\u7684\u6700\u4f73\u5b9e\u8df5<\/p>\n<p>\u5f53\u60a8\u52aa\u529b\u8ba9\u811a\u672c\u9ad8\u6548\u8fd0\u884c\u65f6\uff1a<\/p>\n<p>\u5e94\u7528\u865a\u62df\u73af\u5883\uff1a\u60a8\u5e94\u8be5\u9694\u79bb\u9879\u76ee\u4f9d\u8d56\u9879\u3002<\/p>\n<p>\u5904\u7406\u5f02\u5e38\uff1a\u4f7f\u7528 try- except \u5757\u6765\u5904\u7406\u5f02\u5e38\u5e76\u9632\u6b62\u5d29\u6e83\u3002<br \/> \u4f18\u5316\u4ee3\u7801\uff1a\u60a8\u5e94\u8be5\u5728\u7f16\u5199\u4ee3\u7801\u65f6\u8003\u8651\u6027\u80fd\uff0c\u8fd9\u53ef\u4ee5\u901a\u8fc7\u6700\u5c0f\u5316\u4e0d\u5fc5\u8981\u7684\u64cd\u4f5c\u6765\u5b9e\u73b0\u3002<\/p>\n<p>\u6267\u884c Python \u811a\u672c\u7684\u9ad8\u7ea7\u65b9\u6cd5<\/p>\n<p>\u5927\u578b\u9879\u76ee\u6216\u590d\u6742\u9879\u76ee\u53ef\u4ee5\u501f\u52a9\u4ee5\u4e0b\u5148\u8fdb\u6280\u672f\u6765\u6267\u884c\uff1a<\/p>\n<p>\u5e76\u884c\u5904\u7406\uff1a\u8fd9\u662f\u4e00\u4e2a\u4f7f\u7528\u4e13\u6ce8\u4e8e\u5904\u7406\u591a\u4e2a\u8fdb\u7a0b\uff08\u5982 multiprocessing \u6216\u5e76\u53d1.futures\uff09\u7684\u5e93\u540c\u65f6\u6267\u884c\u811a\u672c\u5757\u7684\u8fc7\u7a0b\u3002<\/p>\n<p>\u7f13\u5b58\uff1a\u501f\u52a9 functools.lru_cache \u7b49\u5de5\u5177\u7f13\u5b58\u7ed3\u679c\uff0c\u4ece\u800c\u51cf\u5c11\u6267\u884c\u65f6\u95f4\u3002<\/p>\n<p>\u5728\u5927\u578b\u9879\u76ee\u4e2d\u8fd0\u884cPython\u811a\u672c\u7684\u5b9e\u9645\u7528\u6cd5<\/p>\n<p>\u8003\u8651\u4e00\u4e2a\u4f7f\u7528 Python \u811a\u672c\u8fdb\u884c\u5927\u6570\u636e\u5206\u6790\u7684\u9879\u76ee\u3002\u5728\u6b64\u7c7b\u9879\u76ee\u4e2d\uff0c\u6267\u884c\u53ef\u80fd\u6d89\u53ca\uff1a<\/p>\n<p>\u8de8\u591a\u53f0\u673a\u5668\u7684\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<br \/> \u4f7f\u7528 Apache Airflow \u5b9e\u73b0\u6570\u636e\u7ba1\u9053\u81ea\u52a8\u5316\u3002<\/p>\n<p>Python \u811a\u672c\u6267\u884c\u7684\u672a\u6765\u8d8b\u52bf<\/p>\n<p>Python \u811a\u672c\u6267\u884c\u7684\u4e16\u754c\u6b63\u5728\u53d1\u751f\u53d8\u5316\uff1a<\/p>\n<p>\u65e0\u670d\u52a1\u5668\u8ba1\u7b97\uff1a\u50cf AWS Lambda \u8fd9\u6837\u7684\u6210\u719f\u670d\u52a1\u5c06\u8ba9\u60a8\u65e0\u9700\u670d\u52a1\u5668\u7ba1\u7406\u5373\u53ef\u6267\u884c Python \u811a\u672c\u3002<\/p>\n<p>\u8fb9\u7f18\u8ba1\u7b97\uff1a\u6700\u8fd1\uff0c\u7269\u8054\u7f51\u8bbe\u5907\u53ef\u4ee5\u8fd0\u884cPython\u811a\u672c\uff0c\u4ece\u800c\u5728\u8fb9\u7f18\u6267\u884c\u5b83\u5e76\u63d0\u4f9b\u5b9e\u65f6\u6570\u636e\u5904\u7406\u3002<\/p>\n<p>\u7ed3\u8bba<\/p>\n<p>\u8fd0\u884cPython\u811a\u672c\u6216\u8005<strong>Python\u811a\u672c\u6267\u884c<\/strong>\u662f\u5f00\u53d1\u8005\u5e94\u8be5\u5177\u5907\u7684\u57fa\u672c\u6280\u80fd\u4e4b\u4e00\u3002\u5982\u679c\u60a8\u62e5\u6709\u6b63\u786e\u7684\u5de5\u5177\u548c\u6280\u672f\uff0c\u5728\u5404\u79cd\u73af\u5883\u4e2d\u8fd0\u884c Python \u811a\u672c\u5c06\u975e\u5e38\u9ad8\u6548\u3002<\/p>\n<p>\u4eca\u5929\u5e26\u5927\u5bb6\u4e86\u89e3\u4e86\u7684\u76f8\u5173\u77e5\u8bc6\uff0c\u5e0c\u671b\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff1b\u5173\u4e8e\u6587\u7ae0\u7684\u6280\u672f\u77e5\u8bc6\u6211\u4eec\u4f1a\u4e00\u70b9\u70b9\u6df1\u5165\u4ecb\u7ecd\uff0c\u6b22\u8fce\u5927\u5bb6\u5173\u6ce8\u516c\u4f17\u53f7\uff0c\u4e00\u8d77\u5b66\u4e60\u7f16\u7a0b~<\/p>\n<p>      \u7248\u672c\u58f0\u660e \u672c\u6587\u8f6c\u8f7d\u4e8e\uff1adev.to \u5982\u6709\u4fb5\u72af\uff0c\u8bf7\u8054\u7cfb\u5220\u9664<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u638c\u63e1 Python \u811a\u672c\u6267\u884c\uff1a\u7efc&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4925],"tags":[],"class_list":["post-205204","post","type-post","status-publish","format-standard","hentry","category-4925"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/205204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=205204"}],"version-history":[{"count":0,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/205204\/revisions"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=205204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=205204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=205204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}