{"id":173351,"date":"2024-05-08T18:09:50","date_gmt":"2024-05-08T10:09:50","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/173351.html"},"modified":"2024-05-08T18:09:54","modified_gmt":"2024-05-08T10:09:54","slug":"%e5%9c%a8windows%e4%b8%8a%e5%bc%80%e5%8f%91%e7%9a%84python%e7%a8%8b%e5%ba%8f%e8%83%bd%e7%9b%b4%e6%8e%a5%e5%9c%a8linux%e4%b8%8a%e8%b7%91%e5%90%97","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/173351.html","title":{"rendered":"\u5728windows\u4e0a\u5f00\u53d1\u7684python\u7a0b\u5e8f\u80fd\u76f4\u63a5\u5728linux\u4e0a\u8dd1\u5417"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27045138\/2fd279da-99b0-48b1-84da-2f032bd9daff.webp\" alt=\"\u5728windows\u4e0a\u5f00\u53d1\u7684python\u7a0b\u5e8f\u80fd\u76f4\u63a5\u5728linux\u4e0a\u8dd1\u5417\" \/><\/p>\n<p><p>\u5728Windows\u4e0a\u5f00\u53d1\u7684Python\u7a0b\u5e8f\u901a\u5e38\u80fd\u591f\u5728Linux\u4e0a\u8fd0\u884c\uff0c\u56e0\u4e3aPython\u662f\u4e00\u79cd\u8de8\u5e73\u53f0\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u5b83\u7684\u8bbe\u8ba1\u521d\u8877\u5c31\u662f\u80fd\u591f\u8ba9\u5f00\u53d1\u8005\u5199\u4e00\u6b21\u4ee3\u7801\uff0c\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u8fd0\u884c\u3002\u4f46\u662f\uff0c\u8fd9\u79cd\u76f4\u63a5\u8fd0\u884c\u7684\u53ef\u80fd\u6027\u4f9d\u8d56\u4e8e\u51e0\u4e2a\u5173\u952e\u56e0\u7d20\uff1a<strong>\u4ee3\u7801\u4e2d\u662f\u5426\u6709\u4f9d\u8d56\u4e8e\u7279\u5b9a\u64cd\u4f5c\u7cfb\u7edf\u7684\u5e93\u3001\u662f\u5426\u4f7f\u7528\u4e86\u64cd\u4f5c\u7cfb\u7edf\u7279\u5b9a\u7684\u529f\u80fd\uff0c\u4ee5\u53ca\u6240\u4f7f\u7528\u7684\u7b2c\u4e09\u65b9\u5e93\u662f\u5426\u8de8\u5e73\u53f0<\/strong>\u3002\u7279\u522b\u662f\uff0c<strong>\u4f9d\u8d56\u4e8e\u7279\u5b9a\u64cd\u4f5c\u7cfb\u7edf\u7684\u5e93<\/strong>\u7684\u95ee\u9898\uff0c\u6bd4\u5982\u4f7f\u7528\u4e86Windows\u7279\u6709\u7684pywin32\u5e93\uff0c\u5728Linux\u4e0a\u5219\u65e0\u6cd5\u76f4\u63a5\u8fd0\u884c\uff0c\u9700\u8981\u627e\u5230\u7c7b\u4f3c\u7684\u5e93\u66ff\u6362\u6216\u91c7\u53d6\u5176\u4ed6\u63aa\u65bd\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u8de8\u5e73\u53f0\u7f16\u7a0b\u8981\u70b9<\/h3>\n<\/p>\n<p><p>\u5728\u8fdb\u884c\u8de8\u5e73\u53f0\u7f16\u7a0b\u65f6\uff0c\u4fdd\u6301\u4ee3\u7801\u7684\u901a\u7528\u6027\u662f\u5173\u952e\u3002\u4e3a\u6b64\uff0c\u5f00\u53d1\u8005\u9700\u8981\u907f\u514d\u4f7f\u7528\u7279\u5b9a\u64cd\u4f5c\u7cfb\u7edf\u7684\u529f\u80fd\u6216\u8005\u5728\u4ee3\u7801\u4e2d\u52a0\u5165\u6761\u4ef6\u8bed\u53e5\uff0c\u4ee5\u4fa6\u6d4b\u8fd0\u884c\u7684\u64cd\u4f5c\u7cfb\u7edf\u6765\u8c03\u7528\u4e0d\u540c\u7684\u4ee3\u7801\u6bb5\u3002<\/p>\n<\/p>\n<p><h4>1. \u7406\u89e3\u6807\u51c6\u5e93\u7684\u8de8\u5e73\u53f0\u6027<\/h4>\n<\/p>\n<p><p>Python\u7684\u6807\u51c6\u5e93\u63d0\u4f9b\u4e86\u5f88\u591a\u8de8\u5e73\u53f0\u7684\u5de5\u5177\u548c\u51fd\u6570\uff0c\u6b63\u786e\u800c\u5e7f\u6cdb\u5730\u4f7f\u7528\u8fd9\u4e9b\u5de5\u5177\uff0c\u53ef\u4ee5\u5927\u5e45\u51cf\u5c11\u5e73\u53f0\u95f4\u7684\u5dee\u5f02\u3002\u4f8b\u5982\uff0cos.path\u6a21\u5757\u5c31\u53ef\u4ee5\u5904\u7406\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u7684\u6587\u4ef6\u8def\u5f84\u5dee\u5f02\u3002<\/p>\n<\/p>\n<p><h4>2. \u907f\u514d\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u7279\u5b9a\u7684\u7279\u6027<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u7a0b\u5e8f\u4f7f\u7528\u4e86Windows\u7279\u6709\u7684API\u6216\u8005Linux\u4e0a\u7684\u7279\u5b9a\u529f\u80fd\uff0c\u90a3\u4e48\u8fd9\u4e9b\u4ee3\u7801\u6bb5\u5728\u53e6\u4e00\u5e73\u53f0\u4e0a\u53ef\u80fd\u65e0\u6cd5\u6267\u884c\uff0c\u6216\u8005\u9700\u8981\u901a\u8fc7\u6761\u4ef6\u8bed\u53e5\u8fdb\u884c\u7279\u6b8a\u5904\u7406\u3002\u8fd9\u5c31\u8981\u6c42\u5f00\u53d1\u8005\u5728\u7f16\u5199\u4ee3\u7801\u65f6\u5c31\u8003\u8651\u5230\u8de8\u5e73\u53f0\u7684\u9700\u6c42\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u5904\u7406\u7b2c\u4e09\u65b9\u5e93\u4f9d\u8d56<\/h3>\n<\/p>\n<p><p>\u5f53Python\u7a0b\u5e8f\u4f9d\u8d56\u4e8e\u7b2c\u4e09\u65b9\u5e93\u65f6\uff0c\u9700\u8981\u786e\u8ba4\u8fd9\u4e9b\u5e93\u662f\u5426\u4e5f\u652f\u6301\u8de8\u5e73\u53f0\u3002\u6709\u7684\u5e93\u53ef\u80fd\u5728\u4e00\u4e2a\u5e73\u53f0\u4e0a\u8868\u73b0\u826f\u597d\uff0c\u5728\u53e6\u4e00\u4e2a\u5e73\u53f0\u4e0a\u5219\u53ef\u80fd\u5b58\u5728\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><h4>1. \u68c0\u67e5\u5e93\u7684\u517c\u5bb9\u6027<\/h4>\n<\/p>\n<p><p>\u5728\u4f7f\u7528\u4efb\u4f55\u7b2c\u4e09\u65b9\u5e93\u4e4b\u524d\uff0c\u9996\u5148\u5e94\u8be5\u68c0\u67e5\u8be5\u5e93\u7684\u6587\u6863\uff0c\u786e\u8ba4\u5176\u8de8\u5e73\u53f0\u7684\u80fd\u529b\u3002\u5bf9\u4e8e\u4e00\u4e9b\u77e5\u540d\u7684\u5e93\uff0c\u5982NumPy\u3001Pandas\u7b49\uff0c\u5b83\u4eec\u901a\u5e38\u90fd\u6709\u826f\u597d\u7684\u8de8\u5e73\u53f0\u652f\u6301\u3002<\/p>\n<\/p>\n<p><h4>2. \u66ff\u4ee3\u65b9\u6848\u7684\u8003\u8651<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u67d0\u4e2a\u5e93\u5728\u76ee\u6807\u5e73\u53f0\u4e0a\u65e0\u6cd5\u4f7f\u7528\uff0c\u5f00\u53d1\u8005\u53ef\u80fd\u9700\u8981\u5bfb\u627e\u66ff\u4ee3\u54c1\u3002\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\uff0c\u8fd8\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u865a\u62df\u73af\u5883\u6765\u7ba1\u7406\u4e0d\u540c\u5e73\u53f0\u4e0b\u7684\u4f9d\u8d56\uff0c\u786e\u4fdd\u5f00\u53d1\u73af\u5883\u7684\u4e00\u81f4\u6027\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u73af\u5883\u548c\u7248\u672c\u95ee\u9898<\/h3>\n<\/p>\n<p><p>\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u53ef\u80fd\u642d\u8f7d\u4e0d\u540c\u7248\u672c\u7684Python\u89e3\u91ca\u5668\uff0c\u8fd9\u53ef\u80fd\u4f1a\u5f15\u8d77\u4e00\u4e9b\u517c\u5bb9\u6027\u95ee\u9898\uff0c\u7279\u522b\u662f\u5728\u4f7f\u7528\u65b0\u7248Python\u7279\u6709\u529f\u80fd\u65f6\u3002<\/p>\n<\/p>\n<p><h4>1. \u7248\u672c\u5dee\u5f02\u7684\u5904\u7406<\/h4>\n<\/p>\n<p><p>\u4e3a\u4e86\u5c3d\u91cf\u51cf\u5c11\u7248\u672c\u5e26\u6765\u7684\u95ee\u9898\uff0c\u53ef\u4ee5\u5728\u4ee3\u7801\u4e2d\u52a0\u5165\u7248\u672c\u68c0\u67e5\u7684\u903b\u8f91\uff0c\u786e\u4fdd\u7a0b\u5e8f\u80fd\u5728\u4e0d\u540c\u7248\u672c\u7684Python\u73af\u5883\u4e0b\u6b63\u5e38\u8fd0\u884c\u3002\u53e6\u5916\uff0c\u4f7f\u7528virtualenv\u7b49\u5de5\u5177\u7ba1\u7406\u9879\u76ee\u7684Python\u73af\u5883\uff0c\u53ef\u4ee5\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u95f4\u63d0\u4f9b\u4e00\u81f4\u7684\u8fd0\u884c\u73af\u5883\u3002<\/p>\n<\/p>\n<p><h4>2. \u811a\u672c\u548c\u6267\u884c\u73af\u5883<\/h4>\n<\/p>\n<p><p>\u5728\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u542f\u52a8\u548c\u8fd0\u884cPython\u811a\u672c\u7684\u65b9\u5f0f\u53ef\u80fd\u6709\u6240\u4e0d\u540c\u3002\u4f8b\u5982\uff0c\u5728Linux\u4e0a\uff0c\u811a\u672c\u6587\u4ef6\u9700\u8981\u8d4b\u4e88\u6267\u884c\u6743\u9650\u5e76\u53ef\u80fd\u901a\u8fc7shebang\u884c\u6307\u5b9a\u89e3\u91ca\u5668\u8def\u5f84\u3002\u8fd9\u4e9b\u5dee\u5f02\u9700\u8981\u5f00\u53d1\u8005\u6ce8\u610f\u5e76\u8fdb\u884c\u76f8\u5e94\u7684\u8c03\u6574\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u6d4b\u8bd5\u4e0e\u8c03\u8bd5<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u786e\u4fdd\u4ee3\u7801\u80fd\u591f\u8de8\u5e73\u53f0\u8fd0\u884c\uff0c\u8fdb\u884c\u5f7b\u5e95\u7684\u6d4b\u8bd5\u662f\u5fc5\u4e0d\u53ef\u5c11\u7684\u73af\u8282\u3002\u8fd9\u5305\u62ec\u5728\u76ee\u6807\u5e73\u53f0\u4e0a\u8fdb\u884c\u5b9e\u9645\u7684\u8fd0\u884c\u6d4b\u8bd5\uff0c\u4ee5\u53ca\u4f7f\u7528\u6301\u7eed\u96c6\u6210\u5de5\u5177\u81ea\u52a8\u5316\u6d4b\u8bd5\u8fc7\u7a0b\u3002<\/p>\n<\/p>\n<p><h4>1. \u5b9e\u9645\u8fd0\u884c\u6d4b\u8bd5<\/h4>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u7684\u76ee\u6807\u5e73\u53f0\uff08\u4f8b\u5982Linux\uff09\u4e0a\u6d4b\u8bd5\u7a0b\u5e8f\uff0c\u662f\u786e\u8ba4\u7a0b\u5e8f\u80fd\u5426\u6b63\u786e\u8fd0\u884c\u7684\u6700\u76f4\u63a5\u65b9\u6cd5\u3002\u8fd9\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u53d1\u73b0\u548c\u4fee\u6b63\u90a3\u4e9b\u5728\u5f00\u53d1\u5e73\u53f0\uff08\u4f8b\u5982Windows\uff09\u4e0a\u4e0d\u6613\u53d1\u73b0\u7684\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><h4>2. \u6301\u7eed\u96c6\u6210\u548c\u81ea\u52a8\u5316\u6d4b\u8bd5<\/h4>\n<\/p>\n<p><p>\u5229\u7528Travis CI\u3001GitHub Actions\u7b49\u6301\u7eed\u96c6\u6210\u670d\u52a1\uff0c\u53ef\u4ee5\u81ea\u52a8\u5728\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u4e2d\u8fd0\u884c\u6d4b\u8bd5\uff0c\u9ad8\u6548\u5730\u68c0\u6d4b\u548c\u4fee\u590d\u8de8\u5e73\u53f0\u517c\u5bb9\u6027\u95ee\u9898\u3002\u8fd9\u79cd\u81ea\u52a8\u5316\u6d4b\u8bd5\u5bf9\u4e8e\u5927\u578b\u9879\u76ee\u6765\u8bf4\u5c24\u5176\u91cd\u8981\u3002<\/p>\n<\/p>\n<p><h3>\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728Windows\u4e0a\u5f00\u53d1\u7684Python\u7a0b\u5e8f\u80fd\u591f\u5728Linux\u4e0a\u8fd0\u884c\u7684\u5173\u952e\u5728\u4e8e\u4ee3\u7801\u7684\u8de8\u5e73\u53f0\u8bbe\u8ba1\u3001\u5bf9\u7b2c\u4e09\u65b9\u5e93\u7684\u6b63\u786e\u9009\u62e9\u548c\u7ba1\u7406\u3001\u5bf9\u73af\u5883\u548c\u7248\u672c\u5dee\u5f02\u7684\u5904\u7406\uff0c\u4ee5\u53ca\u5f7b\u5e95\u7684\u6d4b\u8bd5\u3002\u901a\u8fc7\u9075\u5faa\u4e0a\u8ff0\u5efa\u8bae\uff0c\u53ef\u4ee5\u5927\u5e45\u63d0\u9ad8Python\u7a0b\u5e8f\u7684\u8de8\u5e73\u53f0\u517c\u5bb9\u6027\uff0c\u786e\u4fdd\u5728\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u90fd\u80fd\u987a\u7545\u8fd0\u884c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u6211\u5728Windows\u4e0a\u5f00\u53d1\u7684Python\u7a0b\u5e8f\u80fd\u5426\u76f4\u63a5\u5728Linux\u4e0a\u8fd0\u884c\uff1f<\/strong><\/p>\n<p>\u5f53\u7136\u53ef\u4ee5\uff01Python\u662f\u4e00\u79cd\u8de8\u5e73\u53f0\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u56e0\u6b64\u60a8\u5728Windows\u4e0a\u5f00\u53d1\u7684Python\u7a0b\u5e8f\u53ef\u4ee5\u76f4\u63a5\u5728Linux\u4e0a\u8fd0\u884c\u3002\u53ea\u9700\u786e\u4fdd\u60a8\u7684\u7a0b\u5e8f\u6ca1\u6709\u4f7f\u7528\u4f9d\u8d56\u4e8e\u7279\u5b9a\u64cd\u4f5c\u7cfb\u7edf\u7684\u529f\u80fd\u6216\u5e93\uff0c\u5e76\u4e14\u60a8\u5728\u4e24\u4e2a\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u90fd\u5b89\u88c5\u4e86\u76f8\u540c\u7248\u672c\u7684Python\u3002\u6b64\u5916\uff0c\u60a8\u8fd8\u9700\u8981\u6839\u636e\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u6267\u884c\u76f8\u5e94\u7684\u547d\u4ee4\u6765\u8fd0\u884c\u60a8\u7684\u7a0b\u5e8f\u3002<\/p>\n<p><strong>2. \u5982\u4f55\u5728Linux\u4e0a\u8fd0\u884c\u5728Windows\u4e0a\u5f00\u53d1\u7684Python\u7a0b\u5e8f\uff1f<\/strong><\/p>\n<p>\u8981\u5728Linux\u4e0a\u8fd0\u884cWindows\u4e0a\u5f00\u53d1\u7684Python\u7a0b\u5e8f\uff0c\u60a8\u9700\u8981\u6267\u884c\u4ee5\u4e0b\u6b65\u9aa4\uff1a<\/p>\n<ul>\n<li>\u786e\u4fdd\u60a8\u5df2\u5728Linux\u4e0a\u5b89\u88c5\u4e86\u76f8\u540c\u7248\u672c\u7684Python\u3002\u60a8\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>python --version<\/code>\u6765\u68c0\u67e5\u3002\u5982\u679c\u7248\u672c\u4e0d\u4e00\u81f4\uff0c\u60a8\u9700\u8981\u5728Linux\u4e0a\u66f4\u65b0Python\u7248\u672c\u3002<\/li>\n<li>\u5c06\u60a8\u7684Python\u7a0b\u5e8f\u6587\u4ef6\u590d\u5236\u5230Linux\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528FTP\u6216\u901a\u8fc7\u4e91\u5b58\u50a8\u670d\u52a1\u4f20\u8f93\u6587\u4ef6\u3002<\/li>\n<li>\u5728Linux\u4e2d\u6253\u5f00\u7ec8\u7aef\uff0c\u5e76\u5bfc\u822a\u5230\u60a8\u5b58\u50a8\u7a0b\u5e8f\u7684\u76ee\u5f55\u3002<\/li>\n<li>\u4f7f\u7528\u547d\u4ee4<code>python your_program.py<\/code>\u6765\u8fd0\u884c\u60a8\u7684\u7a0b\u5e8f\u3002\u786e\u4fdd\u5c06&quot;your_program.py&quot;\u66ff\u6362\u4e3a\u60a8\u7684\u7a0b\u5e8f\u6587\u4ef6\u7684\u5b9e\u9645\u540d\u79f0\u3002<\/li>\n<\/ul>\n<p><strong>3. \u6211\u5728\u5f00\u53d1Python\u7a0b\u5e8f\u65f6\u5e94\u8be5\u8003\u8651\u54ea\u4e9b\u56e0\u7d20\uff0c\u4ee5\u4fbf\u5728Windows\u548cLinux\u4e0a\u90fd\u80fd\u8fd0\u884c\uff1f<\/strong><\/p>\n<p>\u4e3a\u4e86\u786e\u4fdd\u60a8\u7684Python\u7a0b\u5e8f\u80fd\u591f\u5728Windows\u548cLinux\u4e0a\u90fd\u80fd\u8fd0\u884c\uff0c\u60a8\u53ef\u4ee5\u8003\u8651\u4ee5\u4e0b\u56e0\u7d20\uff1a<\/p>\n<ul>\n<li>\u907f\u514d\u4f7f\u7528\u7279\u5b9a\u4e8e\u64cd\u4f5c\u7cfb\u7edf\u7684\u5e93\u6216\u529f\u80fd\uff0c\u6216\u8005\u6839\u636e\u64cd\u4f5c\u7cfb\u7edf\u4f7f\u7528\u4e0d\u540c\u7684\u4ee3\u7801\u8def\u5f84\u3002<\/li>\n<li>\u4f7f\u7528OS\u6a21\u5757\u6765\u5904\u7406\u64cd\u4f5c\u7cfb\u7edf\u7684\u5dee\u5f02\uff0c\u4f8b\u5982\u4f7f\u7528<code>os.path<\/code>\u6765\u5904\u7406\u6587\u4ef6\u8def\u5f84\u3002<\/li>\n<li>\u5728\u7a0b\u5e8f\u4e2d\u5904\u7406\u4e0d\u540c\u7684\u6362\u884c\u7b26\uff08Windows\u4f7f\u7528&quot;\\r\\n&quot;\uff0cLinux\u4f7f\u7528&quot;\\n&quot;\uff09\u4ee5\u786e\u4fdd\u8de8\u5e73\u53f0\u517c\u5bb9\u6027\u3002<\/li>\n<li>\u5982\u679c\u60a8\u9700\u8981\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u7279\u5b9a\u7684\u529f\u80fd\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\uff0c\u4f8b\u5982<code>platform<\/code>\u5e93\uff0c\u4ee5\u5b9e\u73b0\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u9002\u914d\u3002<\/li>\n<\/ul>\n<p>\u901a\u8fc7\u9075\u5faa\u8fd9\u4e9b\u6307\u5bfc\u539f\u5219\uff0c\u60a8\u53ef\u4ee5\u7f16\u5199\u53ef\u79fb\u690d\u7684Python\u7a0b\u5e8f\uff0c\u5e76\u5728\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u987a\u5229\u8fd0\u884c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Windows\u4e0a\u5f00\u53d1\u7684Python\u7a0b\u5e8f\u901a\u5e38\u80fd\u591f\u5728Linux\u4e0a\u8fd0\u884c\uff0c\u56e0\u4e3aPython\u662f\u4e00\u79cd\u8de8\u5e73\u53f0\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u5b83 [&hellip;]","protected":false},"author":3,"featured_media":173353,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/173351"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=173351"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/173351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/173353"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=173351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=173351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=173351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}