{"id":1082785,"date":"2025-01-08T12:52:05","date_gmt":"2025-01-08T04:52:05","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1082785.html"},"modified":"2025-01-08T12:52:07","modified_gmt":"2025-01-08T04:52:07","slug":"%e5%a6%82%e4%bd%95%e9%85%8d%e7%bd%aevs2015%e7%9a%84python%e7%8e%af%e5%a2%83-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1082785.html","title":{"rendered":"\u5982\u4f55\u914d\u7f6eVS2015\u7684python\u73af\u5883"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24193704\/6f33425a-6673-4623-b8a0-16a3b1c5e34c.webp\" alt=\"\u5982\u4f55\u914d\u7f6eVS2015\u7684python\u73af\u5883\" \/><\/p>\n<p><p> \u914d\u7f6eVS2015\u7684Python\u73af\u5883\u4e3b\u8981\u5305\u62ec\u4ee5\u4e0b\u51e0\u4e2a\u6b65\u9aa4\uff1a\u5b89\u88c5Python\u3001\u5b89\u88c5Python Tools for Visual Studio (PTVS)\u3001\u914d\u7f6ePython\u89e3\u91ca\u5668\u3001\u521b\u5efa\u548c\u914d\u7f6ePython\u9879\u76ee\u3002\u8fd9\u4e9b\u6b65\u9aa4\u5e2e\u52a9\u4f60\u5feb\u901f\u642d\u5efaPython\u5f00\u53d1\u73af\u5883\uff0c<strong>\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u3001\u4fbf\u4e8e\u8c03\u8bd5\u3001\u96c6\u6210\u5f00\u53d1\u3001\u81ea\u52a8\u5316\u7ba1\u7406<\/strong>\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u6b65\u9aa4\u548c\u6ce8\u610f\u4e8b\u9879\uff1a<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u5b89\u88c5Python<\/p>\n<\/p>\n<p><p>VS2015\u672c\u8eab\u4e0d\u81ea\u5e26Python\uff0c\u56e0\u6b64\u9700\u8981\u5148\u5b89\u88c5Python\u3002\u5efa\u8bae\u5b89\u88c5Python 3.x\u7248\u672c\uff0c\u56e0\u4e3a\u8f83\u65b0\u7684\u7248\u672c\u63d0\u4f9b\u4e86\u66f4\u591a\u529f\u80fd\u548c\u4f18\u5316\u3002\u53ef\u4ee5\u4ecePython\u5b98\u65b9\u7f51\u7ad9\uff08<a href=\"https:\/\/www.python.org\/downloads\/%EF%BC%89%E4%B8%8B%E8%BD%BD%E9%80%82%E5%90%88%E8%87%AA%E5%B7%B1%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E7%9A%84%E7%89%88%E6%9C%AC%E3%80%82%E5%AE%89%E8%A3%85%E8%BF%87%E7%A8%8B%E4%B8%AD%E5%BB%BA%E8%AE%AE%E5%8B%BE%E9%80%89%E2%80%9CAdd\">https:\/\/www.python.org\/downloads\/\uff09\u4e0b\u8f7d\u9002\u5408\u81ea\u5df1\u64cd\u4f5c\u7cfb\u7edf\u7684\u7248\u672c\u3002\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u5efa\u8bae\u52fe\u9009\u201cAdd<\/a> Python to PATH\u201d\u9009\u9879\uff0c\u8fd9\u5c06\u81ea\u52a8\u628aPython\u52a0\u5165\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\uff0c\u65b9\u4fbf\u540e\u7eed\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u5b89\u88c5Python Tools for Visual Studio (PTVS)<\/p>\n<\/p>\n<p><p>PTVS\u662f\u5fae\u8f6f\u63d0\u4f9b\u7684\u4e00\u4e2a\u514d\u8d39\u5de5\u5177\uff0c\u4f7f\u5f97Visual Studio\u53ef\u4ee5\u652f\u6301Python\u5f00\u53d1\u3002\u53ef\u4ee5\u4eceVisual Studio\u7684\u6269\u5c55\u548c\u66f4\u65b0\u4e2d\u8fdb\u884c\u5b89\u88c5\uff0c\u5177\u4f53\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u6253\u5f00Visual Studio 2015\uff0c\u70b9\u51fb\u201c\u5de5\u5177\u201d\u83dc\u5355\uff0c\u9009\u62e9\u201c\u6269\u5c55\u548c\u66f4\u65b0\u201d\u3002<\/li>\n<li>\u5728\u201c\u6269\u5c55\u548c\u66f4\u65b0\u201d\u7a97\u53e3\u4e2d\uff0c\u9009\u62e9\u201c\u8054\u673a\u201d\uff0c\u7136\u540e\u641c\u7d22\u201cPython Tools for Visual Studio\u201d\u3002<\/li>\n<li>\u627e\u5230PTVS\u540e\uff0c\u70b9\u51fb\u201c\u4e0b\u8f7d\u201d\uff0c\u5e76\u6309\u7167\u63d0\u793a\u5b8c\u6210\u5b89\u88c5\u3002<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u914d\u7f6ePython\u89e3\u91ca\u5668<\/p>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8cPTVS\u540e\uff0c\u9700\u8981\u914d\u7f6ePython\u89e3\u91ca\u5668\uff0c\u4ee5\u4fbfVS2015\u80fd\u591f\u6b63\u786e\u89e3\u6790\u548c\u8fd0\u884cPython\u4ee3\u7801\u3002\u5177\u4f53\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u6253\u5f00Visual Studio 2015\uff0c\u70b9\u51fb\u201c\u5de5\u5177\u201d\u83dc\u5355\uff0c\u9009\u62e9\u201c\u9009\u9879\u201d\u3002<\/li>\n<li>\u5728\u201c\u9009\u9879\u201d\u7a97\u53e3\u4e2d\uff0c\u5c55\u5f00\u201cPython Tools\u201d\u8282\u70b9\uff0c\u9009\u62e9\u201c\u73af\u5883\u201d\u3002<\/li>\n<li>\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u201c+\u201d\u6309\u94ae\uff0c\u6dfb\u52a0\u5df2\u5b89\u88c5\u7684Python\u89e3\u91ca\u5668\u3002\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u5b89\u88c5\u8def\u5f84\u4f1a\u81ea\u52a8\u68c0\u6d4b\u5230\uff0c\u5982\u679c\u6ca1\u6709\u68c0\u6d4b\u5230\uff0c\u53ef\u4ee5\u624b\u52a8\u8f93\u5165Python\u7684\u5b89\u88c5\u8def\u5f84\u3002<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u521b\u5efa\u548c\u914d\u7f6ePython\u9879\u76ee<\/p>\n<\/p>\n<p><p>\u5b8c\u6210\u4e0a\u8ff0\u914d\u7f6e\u540e\uff0c\u53ef\u4ee5\u5f00\u59cb\u521b\u5efa\u548c\u914d\u7f6ePython\u9879\u76ee\u3002<\/p>\n<\/p>\n<ol>\n<li>\u70b9\u51fb\u201c\u6587\u4ef6\u201d\u83dc\u5355\uff0c\u9009\u62e9\u201c\u65b0\u5efa\u201d\uff0c\u7136\u540e\u9009\u62e9\u201c\u9879\u76ee\u201d\u3002<\/li>\n<li>\u5728\u201c\u65b0\u5efa\u9879\u76ee\u201d\u7a97\u53e3\u4e2d\uff0c\u9009\u62e9\u201cPython\u201d\u6a21\u677f\uff0c\u7136\u540e\u9009\u62e9\u201c\u7a7a\u9879\u76ee\u201d\u6216\u201c\u63a7\u5236\u53f0\u5e94\u7528\u7a0b\u5e8f\u201d\u7b49\u3002<\/li>\n<li>\u4e3a\u9879\u76ee\u547d\u540d\u5e76\u9009\u62e9\u4fdd\u5b58\u8def\u5f84\u540e\uff0c\u70b9\u51fb\u201c\u786e\u5b9a\u201d\u6309\u94ae\u3002<\/li>\n<li>\u9879\u76ee\u521b\u5efa\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u5728\u89e3\u51b3\u65b9\u6848<a href=\"https:\/\/docs.pingcode.com\/blog\/project-management\/58557.html\" target=\"_blank\">\u8d44\u6e90\u7ba1\u7406<\/a>\u5668\u4e2d\u770b\u5230\u65b0\u5efa\u7684Python\u9879\u76ee\u3002\u53f3\u952e\u70b9\u51fb\u9879\u76ee\u8282\u70b9\uff0c\u9009\u62e9\u201c\u5c5e\u6027\u201d\uff0c\u53ef\u4ee5\u5bf9\u9879\u76ee\u8fdb\u884c\u8fdb\u4e00\u6b65\u914d\u7f6e\uff0c\u5982\u8bbe\u7f6e\u542f\u52a8\u6587\u4ef6\u3001\u6dfb\u52a0\u4f9d\u8d56\u5305\u7b49\u3002<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u8c03\u8bd5\u548c\u8fd0\u884cPython\u4ee3\u7801<\/p>\n<\/p>\n<p><p>\u5728VS2015\u4e2d\u8c03\u8bd5\u548c\u8fd0\u884cPython\u4ee3\u7801\u975e\u5e38\u65b9\u4fbf\u3002\u53ef\u4ee5\u4f7f\u7528\u65ad\u70b9\u3001\u9010\u884c\u6267\u884c\u3001\u89c2\u5bdf\u53d8\u91cf\u7b49\u8c03\u8bd5\u529f\u80fd\uff0c\u5e2e\u52a9\u5feb\u901f\u5b9a\u4f4d\u548c\u89e3\u51b3\u95ee\u9898\u3002\u5177\u4f53\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u5728\u4ee3\u7801\u7f16\u8f91\u7a97\u53e3\u4e2d\uff0c\u70b9\u51fb\u884c\u53f7\u5de6\u4fa7\u7684\u7070\u8272\u533a\u57df\uff0c\u6dfb\u52a0\u65ad\u70b9\u3002<\/li>\n<li>\u70b9\u51fb\u5de5\u5177\u680f\u4e0a\u7684\u201c\u8c03\u8bd5\u201d\u6309\u94ae\uff0c\u6216\u6309F5\u952e\uff0c\u542f\u52a8\u8c03\u8bd5\u3002<\/li>\n<li>\u5728\u8c03\u8bd5\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u201c\u9010\u8bed\u53e5\u6267\u884c\u201d\u3001\u201c\u9010\u8fc7\u7a0b\u6267\u884c\u201d\u7b49\u6309\u94ae\uff0c\u9010\u6b65\u6267\u884c\u4ee3\u7801\uff0c\u5e76\u89c2\u5bdf\u53d8\u91cf\u7684\u503c\u3002<\/li>\n<\/ol>\n<p><p>\u516d\u3001\u7ba1\u7406Python\u5305<\/p>\n<\/p>\n<p><p>\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u80fd\u9700\u8981\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u548c\u5305\u3002\u53ef\u4ee5\u901a\u8fc7Python\u7684\u5305\u7ba1\u7406\u5de5\u5177pip\u6765\u5b89\u88c5\u548c\u7ba1\u7406\u8fd9\u4e9b\u5305\u3002\u5177\u4f53\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff0c\u8f93\u5165<code>pip install \u5305\u540d<\/code>\uff0c\u5b89\u88c5\u6240\u9700\u7684\u5305\u3002<\/li>\n<li>\u5728VS2015\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u201cPython \u73af\u5883\u201d\u7a97\u53e3\u7ba1\u7406\u5df2\u5b89\u88c5\u7684\u5305\u3002\u70b9\u51fb\u201c\u67e5\u770b\u201d\u83dc\u5355\uff0c\u9009\u62e9\u201c\u5176\u4ed6\u7a97\u53e3\u201d\uff0c\u7136\u540e\u9009\u62e9\u201cPython \u73af\u5883\u201d\u3002\u5728\u8be5\u7a97\u53e3\u4e2d\uff0c\u53ef\u4ee5\u770b\u5230\u5df2\u5b89\u88c5\u7684Python\u7248\u672c\u548c\u5305\uff0c\u53f3\u952e\u70b9\u51fb\u5305\u8282\u70b9\uff0c\u53ef\u4ee5\u8fdb\u884c\u5b89\u88c5\u3001\u5378\u8f7d\u3001\u66f4\u65b0\u7b49\u64cd\u4f5c\u3002<\/li>\n<\/ol>\n<p><p>\u4e03\u3001\u4f7f\u7528\u865a\u62df\u73af\u5883<\/p>\n<\/p>\n<p><p>\u4e3a\u4e86\u907f\u514d\u5305\u7248\u672c\u51b2\u7a81\u548c\u4f9d\u8d56\u95ee\u9898\uff0c\u5efa\u8bae\u4f7f\u7528\u865a\u62df\u73af\u5883\u3002\u865a\u62df\u73af\u5883\u5141\u8bb8\u4f60\u4e3a\u6bcf\u4e2a\u9879\u76ee\u521b\u5efa\u4e00\u4e2a\u72ec\u7acb\u7684Python\u73af\u5883\uff0c\u4e92\u4e0d\u5f71\u54cd\u3002\u5177\u4f53\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff0c\u5bfc\u822a\u5230\u9879\u76ee\u76ee\u5f55\uff0c\u8f93\u5165<code>python -m venv \u73af\u5883\u540d<\/code>\uff0c\u521b\u5efa\u865a\u62df\u73af\u5883\u3002<\/li>\n<li>\u6fc0\u6d3b\u865a\u62df\u73af\u5883\uff1a\u5728Windows\u4e0b\uff0c\u8f93\u5165<code>\u73af\u5883\u540d\\Scripts\\activate<\/code>\uff1b\u5728Linux\u548cMac\u4e0b\uff0c\u8f93\u5165<code>source \u73af\u5883\u540d\/bin\/activate<\/code>\u3002<\/li>\n<li>\u5b89\u88c5\u9879\u76ee\u6240\u9700\u7684\u5305\uff1a\u5728\u865a\u62df\u73af\u5883\u6fc0\u6d3b\u72b6\u6001\u4e0b\uff0c\u4f7f\u7528pip\u5b89\u88c5\u5305\u3002<\/li>\n<li>\u5728VS2015\u4e2d\u914d\u7f6e\u865a\u62df\u73af\u5883\uff1a\u6253\u5f00\u201c\u9009\u9879\u201d\u7a97\u53e3\uff0c\u9009\u62e9\u201cPython Tools\u201d-&gt;\u201c\u73af\u5883\u201d\uff0c\u70b9\u51fb\u201c+\u201d\u6309\u94ae\uff0c\u6dfb\u52a0\u865a\u62df\u73af\u5883\u7684Python\u89e3\u91ca\u5668\u3002<\/li>\n<\/ol>\n<p><p>\u516b\u3001\u96c6\u6210\u5f00\u53d1\u5de5\u5177\u548c\u6269\u5c55<\/p>\n<\/p>\n<p><p>VS2015\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u6269\u5c55\u548c\u96c6\u6210\u5de5\u5177\uff0c\u53ef\u4ee5\u8fdb\u4e00\u6b65\u63d0\u5347Python\u5f00\u53d1\u6548\u7387\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u63a8\u8350\u7684\u6269\u5c55\u548c\u5de5\u5177\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>ReSharper<\/strong>\uff1a\u4e00\u4e2a\u5f3a\u5927\u7684\u4ee3\u7801\u5206\u6790\u548c\u91cd\u6784\u5de5\u5177\uff0c\u652f\u6301Python\u8bed\u8a00\uff0c\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u8d28\u91cf\u548c\u5f00\u53d1\u6548\u7387\u3002<\/li>\n<li><strong>Git<\/strong>\uff1a\u7248\u672c\u63a7\u5236\u5de5\u5177\uff0c\u53ef\u4ee5\u5728VS2015\u4e2d\u96c6\u6210Git\uff0c\u65b9\u4fbf\u4ee3\u7801\u7ba1\u7406\u548c\u534f\u4f5c\u5f00\u53d1\u3002<\/li>\n<li><strong>Docker<\/strong>\uff1a\u5bb9\u5668\u5316\u5de5\u5177\uff0c\u53ef\u4ee5\u5728VS2015\u4e2d\u96c6\u6210Docker\uff0c\u65b9\u4fbf\u5f00\u53d1\u3001\u6d4b\u8bd5\u548c\u90e8\u7f72\u3002<\/li>\n<\/ol>\n<p><p>\u4e5d\u3001\u81ea\u52a8\u5316\u6d4b\u8bd5\u548c\u6301\u7eed\u96c6\u6210<\/p>\n<\/p>\n<p><p>\u81ea\u52a8\u5316\u6d4b\u8bd5\u548c\u6301\u7eed\u96c6\u6210\u662f\u73b0\u4ee3\u8f6f\u4ef6\u5f00\u53d1\u7684\u91cd\u8981\u73af\u8282\u3002VS2015\u652f\u6301\u591a\u79cd\u6d4b\u8bd5\u6846\u67b6\u548cCI\u5de5\u5177\uff0c\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5b9e\u73b0\u81ea\u52a8\u5316\u6d4b\u8bd5\u548c\u6301\u7eed\u96c6\u6210\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u6d4b\u8bd5\u6846\u67b6<\/strong>\uff1aVS2015\u652f\u6301unittest\u3001pytest\u7b49\u591a\u79cdPython\u6d4b\u8bd5\u6846\u67b6\uff0c\u53ef\u4ee5\u5728\u201c\u6d4b\u8bd5\u201d\u83dc\u5355\u4e2d\u521b\u5efa\u548c\u8fd0\u884c\u6d4b\u8bd5\u3002<\/li>\n<li><strong>\u6301\u7eed\u96c6\u6210\u5de5\u5177<\/strong>\uff1a\u53ef\u4ee5\u4f7f\u7528Jenkins\u3001Travis CI\u7b49CI\u5de5\u5177\uff0c\u914d\u7f6e\u81ea\u52a8\u5316\u6784\u5efa\u3001\u6d4b\u8bd5\u548c\u90e8\u7f72\u6d41\u7a0b\u3002<\/li>\n<\/ol>\n<p><p>\u5341\u3001\u6027\u80fd\u4f18\u5316\u548c\u4ee3\u7801\u5206\u6790<\/p>\n<\/p>\n<p><p>\u6027\u80fd\u4f18\u5316\u548c\u4ee3\u7801\u5206\u6790\u662f\u63d0\u5347Python\u5e94\u7528\u6027\u80fd\u7684\u91cd\u8981\u624b\u6bb5\u3002VS2015\u63d0\u4f9b\u4e86\u4e00\u4e9b\u5185\u7f6e\u5de5\u5177\u548c\u6269\u5c55\uff0c\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5206\u6790\u548c\u4f18\u5316Python\u4ee3\u7801\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u6027\u80fd\u5206\u6790\u5668<\/strong>\uff1aVS2015\u5185\u7f6e\u4e86\u6027\u80fd\u5206\u6790\u5668\uff0c\u53ef\u4ee5\u5728\u201c\u8c03\u8bd5\u201d\u83dc\u5355\u4e2d\u9009\u62e9\u201c\u6027\u80fd\u5206\u6790\u201d-&gt;\u201c\u542f\u52a8\u6027\u80fd\u5206\u6790\u201d\uff0c\u5bf9\u4ee3\u7801\u8fdb\u884c\u6027\u80fd\u5206\u6790\u3002<\/li>\n<li><strong>\u4ee3\u7801\u5206\u6790\u5de5\u5177<\/strong>\uff1a\u53ef\u4ee5\u4f7f\u7528Pylint\u3001Flake8\u7b49\u4ee3\u7801\u5206\u6790\u5de5\u5177\uff0c\u68c0\u67e5\u4ee3\u7801\u8d28\u91cf\u548c\u89c4\u8303\u6027\u3002\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528\u8fd9\u4e9b\u5de5\u5177\uff0c\u4e5f\u53ef\u4ee5\u5728VS2015\u4e2d\u96c6\u6210\u3002<\/li>\n<\/ol>\n<p><p>\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u914d\u7f6eVS2015\u7684Python\u73af\u5883\u9700\u8981\u8fdb\u884c\u591a\u4e2a\u6b65\u9aa4\uff0c\u5305\u62ec\u5b89\u88c5Python\u3001\u5b89\u88c5PTVS\u3001\u914d\u7f6ePython\u89e3\u91ca\u5668\u3001\u521b\u5efa\u548c\u914d\u7f6ePython\u9879\u76ee\u3001\u8c03\u8bd5\u548c\u8fd0\u884cPython\u4ee3\u7801\u3001\u7ba1\u7406Python\u5305\u3001\u4f7f\u7528\u865a\u62df\u73af\u5883\u3001\u96c6\u6210\u5f00\u53d1\u5de5\u5177\u548c\u6269\u5c55\u3001\u81ea\u52a8\u5316\u6d4b\u8bd5\u548c\u6301\u7eed\u96c6\u6210\u3001\u6027\u80fd\u4f18\u5316\u548c\u4ee3\u7801\u5206\u6790\u3002\u901a\u8fc7\u8fd9\u4e9b\u6b65\u9aa4\uff0c\u53ef\u4ee5\u642d\u5efa\u4e00\u4e2a\u9ad8\u6548\u3001\u7075\u6d3b\u7684Python\u5f00\u53d1\u73af\u5883\uff0c\u63d0\u5347\u5f00\u53d1\u6548\u7387\u548c\u4ee3\u7801\u8d28\u91cf\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728VS2015\u4e2d\u5b89\u88c5\u548c\u914d\u7f6ePython\uff1f<\/strong><br \/>\u5728Visual Studio 2015\u4e2d\u5b89\u88c5Python\u73af\u5883\u975e\u5e38\u7b80\u5355\u3002\u60a8\u9700\u8981\u5148\u4e0b\u8f7d\u5e76\u5b89\u88c5Python\u7684\u6700\u65b0\u7248\u672c\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6253\u5f00VS2015\uff0c\u8fdb\u5165\u201c\u5de5\u5177\u201d\u83dc\u5355\uff0c\u9009\u62e9\u201c\u9009\u9879\u201d\uff0c\u7136\u540e\u5728\u201cPython\u5de5\u5177\u201d\u4e2d\u8fdb\u884c\u76f8\u5e94\u7684\u914d\u7f6e\u3002\u5728\u8fd9\u91cc\uff0c\u60a8\u53ef\u4ee5\u8bbe\u7f6ePython\u89e3\u91ca\u5668\u7684\u8def\u5f84\u4ee5\u53ca\u5176\u4ed6\u76f8\u5173\u7684\u73af\u5883\u53d8\u91cf\uff0c\u4ee5\u786e\u4fddVS2015\u80fd\u591f\u6b63\u786e\u8bc6\u522bPython\u4ee3\u7801\u3002<\/p>\n<p><strong>VS2015\u652f\u6301\u54ea\u4e9b\u7248\u672c\u7684Python\uff1f<\/strong><br \/>Visual Studio 2015\u652f\u6301\u591a\u79cdPython\u7248\u672c\uff0c\u5305\u62ecPython 2.7\u548cPython 3.x\u7cfb\u5217\u3002\u4e3a\u4e86\u786e\u4fdd\u517c\u5bb9\u6027\uff0c\u5efa\u8bae\u60a8\u4f7f\u7528\u6700\u65b0\u7684Python 3.x\u7248\u672c\uff0c\u56e0\u4e3a\u5b83\u63d0\u4f9b\u4e86\u66f4\u597d\u7684\u529f\u80fd\u548c\u6027\u80fd\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u67d0\u4e9b\u8f83\u65e7\u7684\u5e93\u53ef\u80fd\u53ea\u652f\u6301Python 2.x\uff0c\u56e0\u6b64\u5728\u9009\u62e9Python\u7248\u672c\u65f6\u9700\u8981\u8003\u8651\u60a8\u5c06\u8981\u4f7f\u7528\u7684\u9879\u76ee\u9700\u6c42\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728VS2015\u4e2d\u521b\u5efa\u548c\u7ba1\u7406Python\u9879\u76ee\uff1f<\/strong><br \/>\u5728VS2015\u4e2d\u521b\u5efaPython\u9879\u76ee\u975e\u5e38\u7b80\u5355\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u201c\u6587\u4ef6\u201d\u83dc\u5355\u9009\u62e9\u201c\u65b0\u5efa\u201d\u7136\u540e\u70b9\u51fb\u201c\u9879\u76ee\u201d\uff0c\u63a5\u7740\u5728\u5f39\u51fa\u7684\u7a97\u53e3\u4e2d\u9009\u62e9\u201cPython\u201d\u7c7b\u522b\u3002\u8fd9\u91cc\u4f1a\u6709\u591a\u4e2a\u9879\u76ee\u6a21\u677f\u53ef\u4f9b\u9009\u62e9\uff0c\u5982\u63a7\u5236\u53f0\u5e94\u7528\u7a0b\u5e8f\u3001Web\u5e94\u7528\u7a0b\u5e8f\u7b49\u3002\u521b\u5efa\u9879\u76ee\u540e\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u89e3\u51b3\u65b9\u6848\u8d44\u6e90\u7ba1\u7406\u5668\u6765\u7ba1\u7406\u6587\u4ef6\u548c\u4f9d\u8d56\u9879\uff0c\u65b9\u4fbf\u8fdb\u884c\u9879\u76ee\u7684\u5f00\u53d1\u548c\u8c03\u8bd5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u914d\u7f6eVS2015\u7684Python\u73af\u5883\u4e3b\u8981\u5305\u62ec\u4ee5\u4e0b\u51e0\u4e2a\u6b65\u9aa4\uff1a\u5b89\u88c5Python\u3001\u5b89\u88c5Python Tools for [&hellip;]","protected":false},"author":3,"featured_media":1082795,"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\/1082785"}],"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=1082785"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1082785\/revisions"}],"predecessor-version":[{"id":1082798,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1082785\/revisions\/1082798"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1082795"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1082785"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1082785"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1082785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}