{"id":960180,"date":"2024-12-27T03:47:25","date_gmt":"2024-12-26T19:47:25","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/960180.html"},"modified":"2024-12-27T03:47:26","modified_gmt":"2024-12-26T19:47:26","slug":"python%e6%ba%90%e4%bb%a3%e7%a0%81%e5%a6%82%e4%bd%95%e5%af%bc%e5%87%ba","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/960180.html","title":{"rendered":"python\u6e90\u4ee3\u7801\u5982\u4f55\u5bfc\u51fa"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25102750\/de1d0f4b-4a45-4170-a4f7-c16145152b5b.webp\" alt=\"python\u6e90\u4ee3\u7801\u5982\u4f55\u5bfc\u51fa\" \/><\/p>\n<p><p> \u5f00\u5934\u6bb5\u843d\uff1a<br \/><strong>Python\u6e90\u4ee3\u7801\u5bfc\u51fa\u7684\u65b9\u6cd5\u6709\u591a\u79cd\u9009\u62e9\u3001\u5305\u62ec\u76f4\u63a5\u590d\u5236\u7c98\u8d34\u3001\u901a\u8fc7\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u5bfc\u51fa\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177\u3001\u4ee5\u53ca\u7248\u672c\u63a7\u5236\u7cfb\u7edf\u5bfc\u51fa\u7b49<\/strong>\u3002\u5176\u4e2d\uff0c\u4f7f\u7528IDE\u5bfc\u51fa\u662f\u6700\u5e38\u89c1\u548c\u4fbf\u6377\u7684\u65b9\u5f0f\u4e4b\u4e00\u3002\u5927\u591a\u6570\u73b0\u4ee3IDE\u90fd\u652f\u6301\u5c06\u9879\u76ee\u6216\u7279\u5b9a\u6587\u4ef6\u5bfc\u51fa\u4e3a\u53ef\u6267\u884c\u6587\u4ef6\u6216\u5176\u4ed6\u683c\u5f0f\u7684\u9009\u9879\u3002\u901a\u8fc7\u4f7f\u7528IDE\uff0c\u4e0d\u4ec5\u53ef\u4ee5\u8f7b\u677e\u5bfc\u51fa\u6e90\u4ee3\u7801\uff0c\u8fd8\u53ef\u4ee5\u501f\u52a9\u5176\u5185\u7f6e\u7684\u529f\u80fd\u8fdb\u884c\u4ee3\u7801\u68c0\u67e5\u548c\u4f18\u5316\uff0c\u63d0\u9ad8\u4ee3\u7801\u8d28\u91cf\u3002\u6b64\u5916\uff0cIDE\u901a\u5e38\u63d0\u4f9b\u76f4\u89c2\u7684\u754c\u9762\u548c\u4e30\u5bcc\u7684\u63d2\u4ef6\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u6709\u6548\u7387\u5730\u7ba1\u7406\u548c\u5206\u4eab\u4ee3\u7801\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5404\u79cd\u5bfc\u51fa\u65b9\u6cd5\u53ca\u5176\u4f18\u7f3a\u70b9\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u76f4\u63a5\u590d\u5236\u7c98\u8d34<\/p>\n<\/p>\n<p><p>\u76f4\u63a5\u590d\u5236\u7c98\u8d34\u662f\u6700\u7b80\u5355\u7684\u65b9\u6cd5\u4e4b\u4e00\u3002\u53ea\u9700\u6253\u5f00Python\u6587\u4ef6\uff0c\u9009\u62e9\u4ee3\u7801\u90e8\u5206\uff0c\u7136\u540e\u5c06\u5176\u590d\u5236\u5230\u76ee\u6807\u4f4d\u7f6e\u5373\u53ef\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u5c0f\u578b\u9879\u76ee\u6216\u5355\u4e2a\u6587\u4ef6\u7684\u5bfc\u51fa\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f18\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u7b80\u5355\u5feb\u6377\uff0c\u65e0\u9700\u989d\u5916\u5de5\u5177\u3002<\/li>\n<li>\u9002\u5408\u5feb\u901f\u5171\u4eab\u4ee3\u7801\u7247\u6bb5\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u7f3a\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u5bf9\u4e8e\u5927\u578b\u9879\u76ee\u6548\u7387\u4f4e\u4e0b\u3002<\/li>\n<li>\u53ef\u80fd\u5bfc\u81f4\u683c\u5f0f\u4e22\u5931\uff0c\u5c24\u5176\u662f\u5728\u590d\u5236\u5230\u4e0d\u540c\u7f16\u8f91\u5668\u65f6\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u4f7f\u7528\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u5bfc\u51fa<\/p>\n<\/p>\n<p><p>IDE\u5982PyCharm\u3001VSCode\u3001Eclipse\u7b49\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u5bfc\u51fa\u529f\u80fd\uff0c\u53ef\u5e2e\u52a9\u5f00\u53d1\u8005\u5c06Python\u4ee3\u7801\u5bfc\u51fa\u4e3a\u4e0d\u540c\u683c\u5f0f\u6216\u76f4\u63a5\u751f\u6210\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>PyCharm\u5bfc\u51fa\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u5728PyCharm\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u201cFile\u201d\u83dc\u5355\u627e\u5230\u201cExport\u201d\u9009\u9879\uff0c\u9009\u62e9\u5bfc\u51fa\u9879\u76ee\u6216\u6587\u4ef6\u3002<\/li>\n<li>\u53ef\u4ee5\u5bfc\u51fa\u4e3a.zip\u6216\u5176\u4ed6\u5f52\u6863\u683c\u5f0f\uff0c\u4ee5\u4fbf\u4e8e\u5206\u4eab\u548c\u5b58\u50a8\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>VSCode\u5bfc\u51fa\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>VSCode\u652f\u6301\u901a\u8fc7\u63d2\u4ef6\u6269\u5c55\u5bfc\u51fa\u529f\u80fd\u3002<\/li>\n<li>\u53ef\u4ee5\u5c06\u4ee3\u7801\u6253\u5305\u4e3aDocker\u955c\u50cf\u3001JAR\u6587\u4ef6\u7b49\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u4f18\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u63d0\u4f9b\u591a\u79cd\u5bfc\u51fa\u683c\u5f0f\uff0c\u6ee1\u8db3\u4e0d\u540c\u9700\u6c42\u3002<\/li>\n<li>\u5185\u7f6e\u4ee3\u7801\u68c0\u67e5\u548c\u4f18\u5316\u529f\u80fd\uff0c\u63d0\u9ad8\u4ee3\u7801\u8d28\u91cf\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u7f3a\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u9700\u8981\u5b89\u88c5\u548c\u914d\u7f6eIDE\u3002<\/li>\n<li>\u5bf9\u4e8e\u521d\u5b66\u8005\u53ef\u80fd\u6709\u4e00\u5b9a\u7684\u5b66\u4e60\u66f2\u7ebf\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177<\/p>\n<\/p>\n<p><p>\u547d\u4ee4\u884c\u5de5\u5177\u5982<code>zip<\/code>\u3001<code>tar<\/code>\u7b49\u53ef\u4ee5\u5e2e\u52a9\u5c06Python\u9879\u76ee\u6253\u5305\uff0c\u5e76\u5bfc\u51fa\u4e3a\u538b\u7f29\u6587\u4ef6\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u5408Linux\u548cMac\u7528\u6237\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528zip\u547d\u4ee4\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u5728\u7ec8\u7aef\u4e2d\uff0c\u4f7f\u7528\u547d\u4ee4<code>zip -r project.zip \/path\/to\/project<\/code>\u5c06\u9879\u76ee\u76ee\u5f55\u6253\u5305\u4e3azip\u6587\u4ef6\u3002<\/li>\n<li>\u53ef\u4ee5\u6dfb\u52a0<code>-e<\/code>\u9009\u9879\u8fdb\u884c\u52a0\u5bc6\uff0c\u4fdd\u62a4\u4ee3\u7801\u5b89\u5168\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528tar\u547d\u4ee4\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u4f7f\u7528\u547d\u4ee4<code>tar -cvf project.tar \/path\/to\/project<\/code>\u5c06\u9879\u76ee\u5bfc\u51fa\u4e3atar\u6587\u4ef6\u3002<\/li>\n<li>\u652f\u6301gzip\u538b\u7f29\uff0c\u901a\u8fc7\u6dfb\u52a0<code>-z<\/code>\u9009\u9879\u5b9e\u73b0\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u4f18\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u65e0\u9700\u989d\u5916\u5b89\u88c5\u8f6f\u4ef6\uff0c\u4f7f\u7528\u7cfb\u7edf\u81ea\u5e26\u5de5\u5177\u5373\u53ef\u3002<\/li>\n<li>\u5bf9\u4e8e\u547d\u4ee4\u884c\u719f\u6089\u7684\u7528\u6237\uff0c\u975e\u5e38\u9ad8\u6548\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u7f3a\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u9700\u8981\u4e00\u5b9a\u7684\u547d\u4ee4\u884c\u64cd\u4f5c\u77e5\u8bc6\u3002<\/li>\n<li>\u4e0d\u652f\u6301\u8de8\u5e73\u53f0\u7684\u53ef\u6267\u884c\u6587\u4ef6\u751f\u6210\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u4f7f\u7528\u7248\u672c\u63a7\u5236\u7cfb\u7edf\uff08VCS\uff09\u5bfc\u51fa<\/p>\n<\/p>\n<p><p>\u7248\u672c\u63a7\u5236\u7cfb\u7edf\u5982Git\u3001SVN\u7b49\u4e0d\u4ec5\u7528\u4e8e\u4ee3\u7801\u7ba1\u7406\uff0c\u8fd8\u652f\u6301\u5bfc\u51fa\u529f\u80fd\u3002\u53ef\u4ee5\u901a\u8fc7\u514b\u9686\u3001\u4e0b\u8f7d\u7b49\u65b9\u5f0f\u83b7\u53d6\u4ee3\u7801\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Git\u5bfc\u51fa\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u4f7f\u7528<code>git clone<\/code>\u547d\u4ee4\u5c06\u4ee3\u7801\u5e93\u514b\u9686\u5230\u672c\u5730\u3002<\/li>\n<li>\u53ef\u4ee5\u4f7f\u7528<code>git archive<\/code>\u547d\u4ee4\u6253\u5305\u4ee3\u7801\u4e3azip\u6216tar\u683c\u5f0f\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>SVN\u5bfc\u51fa\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u4f7f\u7528<code>svn export<\/code>\u547d\u4ee4\u5bfc\u51fa\u9879\u76ee\uff0c\u4e0d\u5305\u542b\u7248\u672c\u4fe1\u606f\u3002<\/li>\n<li>\u9002\u7528\u4e8e\u9700\u8981\u6e05\u7406\u7248\u672c\u5386\u53f2\u7684\u573a\u5408\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u4f18\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u80fd\u591f\u4fdd\u6301\u4ee3\u7801\u7684\u7248\u672c\u5386\u53f2\u548c\u53d8\u66f4\u8bb0\u5f55\u3002<\/li>\n<li>\u4fbf\u4e8e\u56e2\u961f\u534f\u4f5c\u548c\u4ee3\u7801\u5171\u4eab\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u7f3a\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u9700\u8981\u5b66\u4e60\u548c\u914d\u7f6e\u7248\u672c\u63a7\u5236\u7cfb\u7edf\u3002<\/li>\n<li>\u521d\u671f\u5b66\u4e60\u6210\u672c\u8f83\u9ad8\uff0c\u5c24\u5176\u5bf9\u4e8e\u5c0f\u578b\u9879\u76ee\u4e0d\u592a\u5212\u7b97\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u4f7f\u7528\u5728\u7ebf\u5e73\u53f0<\/p>\n<\/p>\n<p><p>\u4e00\u4e9b\u5728\u7ebf\u5e73\u53f0\u5982GitHub\u3001GitLab\u3001Bitbucket\u7b49\u652f\u6301\u4ee3\u7801\u7684\u6258\u7ba1\u548c\u5bfc\u51fa\u3002\u8fd9\u4e9b\u5e73\u53f0\u63d0\u4f9b\u4e86\u4fbf\u6377\u7684\u4e0b\u8f7d\u529f\u80fd\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>GitHub\u5bfc\u51fa\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u5728GitHub\u9879\u76ee\u9875\u9762\uff0c\u70b9\u51fb\u201cCode\u201d\u6309\u94ae\uff0c\u9009\u62e9\u201cDownload ZIP\u201d\u5373\u53ef\u4e0b\u8f7d\u9879\u76ee\u3002<\/li>\n<li>\u53ef\u4ee5\u901a\u8fc7API\u5b9e\u73b0\u81ea\u52a8\u5316\u4e0b\u8f7d\u548c\u5bfc\u51fa\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>GitLab\u5bfc\u51fa\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u63d0\u4f9b\u7c7b\u4f3cGitHub\u7684\u4e0b\u8f7d\u529f\u80fd\uff0c\u652f\u6301\u591a\u79cd\u683c\u5f0f\u3002<\/li>\n<li>\u652f\u6301<a href=\"https:\/\/docs.pingcode.com\/blog\/devops\/52691.html\" target=\"_blank\">CI\/CD<\/a>\u96c6\u6210\uff0c\u4fbf\u4e8e\u81ea\u52a8\u5316\u90e8\u7f72\u548c\u6d4b\u8bd5\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u4f18\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u63d0\u4f9b\u7248\u672c\u63a7\u5236\u3001\u534f\u4f5c\u5de5\u5177\u3001\u95ee\u9898\u8ddf\u8e2a\u7b49\u529f\u80fd\u3002<\/li>\n<li>\u4fbf\u4e8e\u516c\u5f00\u9879\u76ee\uff0c\u589e\u52a0\u9879\u76ee\u66dd\u5149\u5ea6\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u7f3a\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u9700\u8981\u6ce8\u518c\u8d26\u6237\u548c\u914d\u7f6e\u9879\u76ee\u3002<\/li>\n<li>\u53ef\u80fd\u9762\u4e34\u9690\u79c1\u548c\u5b89\u5168\u6027\u95ee\u9898\uff0c\u5c24\u5176\u662f\u5bf9\u4e8e\u79c1\u6709\u9879\u76ee\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><p>\u516d\u3001\u901a\u8fc7\u811a\u672c\u81ea\u52a8\u5316\u5bfc\u51fa<\/p>\n<\/p>\n<p><p>\u53ef\u4ee5\u7f16\u5199Python\u811a\u672c\uff0c\u5b9e\u73b0\u81ea\u52a8\u5316\u7684\u5bfc\u51fa\u548c\u6253\u5305\u529f\u80fd\u3002\u811a\u672c\u53ef\u4ee5\u7ed3\u5408\u6587\u4ef6\u64cd\u4f5c\u3001\u538b\u7f29\u5e93\u7b49\u5b9e\u73b0\u590d\u6742\u7684\u5bfc\u51fa\u9700\u6c42\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u7f16\u5199\u811a\u672c\u793a\u4f8b\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u4f7f\u7528<code>shutil<\/code>\u5e93\u5b9e\u73b0\u6587\u4ef6\u590d\u5236\u548c\u538b\u7f29\u3002<\/li>\n<li>\u4f7f\u7528<code>os<\/code>\u5e93\u904d\u5386\u9879\u76ee\u76ee\u5f55\uff0c\u5b9e\u73b0\u6587\u4ef6\u7b5b\u9009\u548c\u5904\u7406\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u4f18\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u9ad8\u5ea6\u81ea\u5b9a\u4e49\uff0c\u6ee1\u8db3\u7279\u6b8a\u9700\u6c42\u3002<\/li>\n<li>\u53ef\u7ed3\u5408\u5176\u4ed6\u5de5\u5177\uff0c\u5b9e\u73b0\u590d\u6742\u7684\u5bfc\u51fa\u6d41\u7a0b\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u7f3a\u70b9\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li>\u9700\u8981\u7f16\u5199\u548c\u7ef4\u62a4\u811a\u672c\uff0c\u589e\u52a0\u5f00\u53d1\u5de5\u4f5c\u91cf\u3002<\/li>\n<li>\u5bf9\u4e8e\u7b80\u5355\u9879\u76ee\uff0c\u53ef\u80fd\u663e\u5f97\u8fc7\u4e8e\u590d\u6742\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><p>\u603b\u7ed3\uff1aPython\u6e90\u4ee3\u7801\u5bfc\u51fa\u7684\u65b9\u6cd5\u591a\u79cd\u591a\u6837\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53d6\u51b3\u4e8e\u9879\u76ee\u89c4\u6a21\u3001\u56e2\u961f\u9700\u6c42\u548c\u4e2a\u4eba\u4e60\u60ef\u3002\u5bf9\u4e8e\u5c0f\u578b\u9879\u76ee\uff0c\u76f4\u63a5\u590d\u5236\u7c98\u8d34\u6216\u547d\u4ee4\u884c\u5de5\u5177\u662f\u7b80\u4fbf\u7684\u9009\u62e9\uff1b\u5bf9\u4e8e\u5927\u578b\u9879\u76ee\u548c\u56e2\u961f\u534f\u4f5c\uff0c\u4f7f\u7528IDE\u6216\u7248\u672c\u63a7\u5236\u7cfb\u7edf\u80fd\u591f\u66f4\u597d\u5730\u7ba1\u7406\u548c\u5206\u4eab\u4ee3\u7801\u3002\u65e0\u8bba\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u90fd\u5e94\u6ce8\u610f\u4ee3\u7801\u7684\u5b89\u5168\u6027\u548c\u9690\u79c1\u4fdd\u62a4\uff0c\u786e\u4fdd\u4ee3\u7801\u5728\u5bfc\u51fa\u8fc7\u7a0b\u4e2d\u4e0d\u4f1a\u4e22\u5931\u91cd\u8981\u4fe1\u606f\u6216\u66b4\u9732\u654f\u611f\u6570\u636e\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5c06Python\u6e90\u4ee3\u7801\u5bfc\u51fa\u4e3a\u4e0d\u540c\u683c\u5f0f\u7684\u6587\u4ef6\uff1f<\/strong><br \/>\u60a8\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u5c06Python\u6e90\u4ee3\u7801\u5bfc\u51fa\u4e3a\u4e0d\u540c\u683c\u5f0f\u7684\u6587\u4ef6\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u6216IDE\uff0c\u60a8\u53ef\u4ee5\u5c06\u4ee3\u7801\u4fdd\u5b58\u4e3a<code>.py<\/code>\u6587\u4ef6\u3002\u6b64\u5916\uff0c\u60a8\u4e5f\u53ef\u4ee5\u4f7f\u7528Jupyter Notebook\uff0c\u5c06\u4ee3\u7801\u5bfc\u51fa\u4e3aHTML\u6216PDF\u683c\u5f0f\uff0c\u65b9\u4fbf\u5206\u4eab\u548c\u5c55\u793a\u3002\u5bf9\u4e8e\u5927\u89c4\u6a21\u9879\u76ee\uff0c\u4f7f\u7528\u7248\u672c\u63a7\u5236\u7cfb\u7edf\uff08\u5982Git\uff09\u4e5f\u662f\u4e00\u4e2a\u6709\u6548\u7684\u5bfc\u51fa\u548c\u7ba1\u7406\u4ee3\u7801\u7684\u65b9\u6cd5\u3002<\/p>\n<p><strong>\u5728\u5bfc\u51faPython\u6e90\u4ee3\u7801\u65f6\uff0c\u6709\u54ea\u4e9b\u6ce8\u610f\u4e8b\u9879\uff1f<\/strong><br \/>\u5728\u5bfc\u51faPython\u6e90\u4ee3\u7801\u65f6\uff0c\u9700\u8981\u786e\u4fdd\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u3002\u6ce8\u91ca\u548c\u6587\u6863\u5b57\u7b26\u4e32\u5e94\u6e05\u6670\u660e\u4e86\uff0c\u4ee5\u4fbf\u4ed6\u4eba\u7406\u89e3\u4ee3\u7801\u7684\u529f\u80fd\u3002\u6b64\u5916\uff0c\u786e\u4fdd\u6240\u6709\u4f9d\u8d56\u9879\u548c\u5e93\u5df2\u7ecf\u5b89\u88c5\uff0c\u5e76\u5728\u5bfc\u51fa\u65f6\u9644\u4e0a\u76f8\u5173\u7684requirements.txt\u6587\u4ef6\uff0c\u65b9\u4fbf\u5176\u4ed6\u4eba\u91cd\u73b0\u60a8\u7684\u73af\u5883\u3002<\/p>\n<p><strong>\u5982\u4f55\u901a\u8fc7\u547d\u4ee4\u884c\u5bfc\u51faPython\u6e90\u4ee3\u7801\uff1f<\/strong><br \/>\u60a8\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177\u901a\u8fc7\u7b80\u5355\u7684\u547d\u4ee4\u5bfc\u51faPython\u6e90\u4ee3\u7801\u3002\u4f7f\u7528<code>cp<\/code>\uff08\u5728Linux\u548cMac\u4e0a\uff09\u6216<code>copy<\/code>\uff08\u5728Windows\u4e0a\uff09\u547d\u4ee4\uff0c\u53ef\u4ee5\u5feb\u901f\u590d\u5236\u6e90\u4ee3\u7801\u6587\u4ef6\u5230\u6307\u5b9a\u76ee\u5f55\u3002\u5bf9\u4e8e\u9700\u8981\u5c06\u4ee3\u7801\u6253\u5305\u6210\u538b\u7f29\u6587\u4ef6\u7684\u60c5\u51b5\uff0c\u53ef\u4ee5\u4f7f\u7528<code>zip<\/code>\u6216<code>tar<\/code>\u547d\u4ee4\uff0c\u5c06\u6574\u4e2a\u9879\u76ee\u6587\u4ef6\u5939\u5bfc\u51fa\u4e3a\u538b\u7f29\u5305\uff0c\u4fbf\u4e8e\u5b58\u50a8\u548c\u4f20\u8f93\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5f00\u5934\u6bb5\u843d\uff1aPython\u6e90\u4ee3\u7801\u5bfc\u51fa\u7684\u65b9\u6cd5\u6709\u591a\u79cd\u9009\u62e9\u3001\u5305\u62ec\u76f4\u63a5\u590d\u5236\u7c98\u8d34\u3001\u901a\u8fc7\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u5bfc\u51fa\u3001\u4f7f\u7528\u547d\u4ee4\u884c [&hellip;]","protected":false},"author":3,"featured_media":960187,"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\/960180"}],"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=960180"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/960180\/revisions"}],"predecessor-version":[{"id":960190,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/960180\/revisions\/960190"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/960187"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=960180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=960180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=960180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}