{"id":37883,"date":"2025-05-18T10:56:00","date_gmt":"2025-05-18T02:56:00","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/37883.html"},"modified":"2025-05-18T10:56:00","modified_gmt":"2025-05-18T02:56:00","slug":"%e5%9c%a8pycharm%e4%b8%ad%e6%89%93%e5%8c%85python%e9%a1%b9%e7%9b%ae%e5%b9%b6%e5%b0%86%e5%85%b6%e8%bf%90%e8%a1%8c%e5%88%b0%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e7%9a%84%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/37883.html","title":{"rendered":"\u5728PyCharm\u4e2d\u6253\u5305Python\u9879\u76ee\u5e76\u5c06\u5176\u8fd0\u884c\u5230\u670d\u52a1\u5668\u4e0a\u7684\u65b9\u6cd5"},"content":{"rendered":"<h2>\u5728PyCharm\u4e2d\u6253\u5305Python\u9879\u76ee\u5e76\u5c06\u5176\u8fd0\u884c\u5230\u670d\u52a1\u5668\u4e0a\u7684\u65b9\u6cd5<\/h2>\n<p>\u5728PyCharm\u4e2d\u6253\u5305Python\u9879\u76ee\u5e76\u5c06\u5176\u8fd0\u884c\u5230\u670d\u52a1\u5668\u4e0a\u7684\u8fc7\u7a0b&#xff0c;\u53ef\u4ee5\u5206\u89e3\u4e3a\u51e0\u4e2a\u5173\u952e\u6b65\u9aa4&#xff1a;\u521b\u5efa\u9879\u76ee\u3001\u8bbe\u7f6e\u9879\u76ee\u4f9d\u8d56\u3001\u6253\u5305\u9879\u76ee\u3001\u914d\u7f6e\u670d\u52a1\u5668\u73af\u5883\u3001\u4e0a\u4f20\u53ef\u6267\u884c\u6587\u4ef6\u5230\u670d\u52a1\u5668\u4ee5\u53ca\u8fd0\u884c\u9879\u76ee\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u8be6\u7ec6\u7684\u6307\u5357&#xff0c;\u5305\u62ec\u5b8c\u6574\u7684\u4ee3\u7801\u793a\u4f8b&#xff0c;\u8fd9\u4e9b\u4ee3\u7801\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884c\u3002<\/p>\n<h3>\u4e00\u3001\u521b\u5efa\u5e76\u8bbe\u7f6ePython\u9879\u76ee<\/h3>\n<li>\u6253\u5f00PyCharm\u5e76\u521b\u5efa\u65b0\u9879\u76ee&#xff1a;\n<ul>\n<li>\u6253\u5f00PyCharm&#xff0c;\u70b9\u51fb\u201cFile\u201d\u83dc\u5355&#xff0c;\u9009\u62e9\u201cNew Project\u201d\u3002<\/li>\n<li>\u8bbe\u7f6e\u9879\u76ee\u540d\u79f0\u548c\u8def\u5f84&#xff0c;\u786e\u4fdd\u52fe\u9009\u201cCreate virtual environment\u201d\u4ee5\u4f7f\u7528\u865a\u62df\u73af\u5883\u3002<\/li>\n<li>\u70b9\u51fb\u201cOK\u201d\u5b8c\u6210\u9879\u76ee\u521b\u5efa\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u8bbe\u7f6e\u9879\u76ee\u4f9d\u8d56&#xff1a;\n<ul>\n<li>\u5728PyCharm\u4e2d&#xff0c;\u70b9\u51fb\u201cFile\u201d\u83dc\u5355&#xff0c;\u9009\u62e9\u201cSettings\u201d\u3002<\/li>\n<li>\u5728\u5de6\u4fa7\u9762\u677f\u9009\u62e9\u201cProject: [\u9879\u76ee\u540d\u79f0]\u201d&#xff0c;\u7136\u540e\u70b9\u51fb\u201cPython Interpreter\u201d\u9009\u9879\u5361\u3002<\/li>\n<li>\u5728\u53f3\u4fa7\u9762\u677f\u4e2d&#xff0c;\u5982\u679c\u9879\u76ee\u4f7f\u7528\u865a\u62df\u73af\u5883&#xff0c;\u5207\u6362\u5230\u865a\u62df\u73af\u5883&#xff0c;\u5e76\u70b9\u51fb\u201c&#043;\u201d\u6309\u94ae\u6dfb\u52a0\u6240\u9700\u7684\u7b2c\u4e09\u65b9\u5e93&#xff08;\u4f8b\u5982&#xff0c;flask&#xff09;\u3002<\/li>\n<\/ul>\n<\/li>\n<h3>\u4e8c\u3001\u7f16\u5199\u9879\u76ee\u4ee3\u7801<\/h3>\n<p>\u5728\u9879\u76ee\u7ed3\u6784\u4e2d\u6dfb\u52a0Python\u6587\u4ef6&#xff0c;\u4f8b\u5982main.py&#xff0c;\u5e76\u7f16\u5199\u4ee3\u7801\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684Flask Web\u5e94\u7528\u793a\u4f8b&#xff1a;<\/p>\n<p><span class=\"token comment\"># main.py<\/span><br \/>\n<span class=\"token keyword\">from<\/span> flask <span class=\"token keyword\">import<\/span> Flask<\/p>\n<p>app <span class=\"token operator\">&#061;<\/span> Flask<span class=\"token punctuation\">(<\/span>__name__<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token decorator annotation punctuation\">&#064;app<span class=\"token punctuation\">.<\/span>route<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;\/&#039;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token keyword\">def<\/span> <span class=\"token function\">hello_world<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> <span class=\"token string\">&#039;Hello, World!&#039;<\/span><\/p>\n<p><span class=\"token keyword\">if<\/span> __name__ <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token string\">&#039;__main__&#039;<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    app<span class=\"token punctuation\">.<\/span>run<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<h3>\u4e09\u3001\u6253\u5305\u9879\u76ee<\/h3>\n<li>\n<p>\u5b89\u88c5PyInstaller&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u6253\u5f00PyCharm\u7684\u7ec8\u7aef&#xff08;Terminal&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5PyInstaller&#xff1a;<\/p>\n<p> bash\u590d\u5236\u4ee3\u7801<\/p>\n<p>pip <span class=\"token function\">install<\/span> pyinstaller\n <\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u914d\u7f6ePyInstaller&#xff1a;<\/p>\n<ul>\n<li>\u5728PyCharm\u4e2d&#xff0c;\u901a\u5e38\u4e0d\u9700\u8981\u989d\u5916\u914d\u7f6ePyInstaller&#xff0c;\u9664\u975e\u6709\u7279\u5b9a\u7684\u9700\u6c42\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u6253\u5305\u9879\u76ee&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u5728\u7ec8\u7aef\u4e2d&#xff0c;\u5bfc\u822a\u5230\u9879\u76ee\u76ee\u5f55\u3002<\/p>\n<\/li>\n<li>\n<p>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6253\u5305\u9879\u76ee&#xff1a;<\/p>\n<p> bash\u590d\u5236\u4ee3\u7801<\/p>\n<p>pyinstaller &#8211;onefile main.py\n <\/li>\n<li>\n<p>\u8fd9\u5c06\u751f\u6210\u4e00\u4e2adist\u76ee\u5f55&#xff0c;\u5176\u4e2d\u5305\u542b\u6253\u5305\u540e\u7684\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<h3>\u56db\u3001\u914d\u7f6e\u670d\u52a1\u5668\u73af\u5883<\/h3>\n<li>\n<p>\u9009\u62e9\u5e76\u8fde\u63a5\u5230\u670d\u52a1\u5668&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u786e\u4fdd\u670d\u52a1\u5668\u5df2\u7ecf\u5b89\u88c5\u4e86Python\u73af\u5883\u3002<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528SSH\u8fde\u63a5\u5230\u670d\u52a1\u5668&#xff0c;\u5e76\u68c0\u67e5Python\u7248\u672c&#xff1a;<\/p>\n<p> <span class=\"token function\">ssh<\/span> username&#064;your_server_ip<br \/>\npython &#8211;version\n <\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u5b89\u88c5\u4f9d\u8d56&#xff08;\u5982\u679c\u9700\u8981&#xff09;&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u5982\u679c\u9879\u76ee\u4f7f\u7528\u4e86\u7b2c\u4e09\u65b9\u5e93&#xff0c;\u9700\u8981\u5728\u670d\u52a1\u5668\u4e0a\u5b89\u88c5\u8fd9\u4e9b\u5e93\u3002\u4f8b\u5982&#xff0c;\u5982\u679c\u4f7f\u7528\u4e86Flask&#xff1a;<\/p>\n<p> bash\u590d\u5236\u4ee3\u7801<\/p>\n<p>pip <span class=\"token function\">install<\/span> flask\n <\/li>\n<\/ul>\n<\/li>\n<h3>\u4e94\u3001\u4e0a\u4f20\u53ef\u6267\u884c\u6587\u4ef6\u5230\u670d\u52a1\u5668<\/h3>\n<p>\u4f7f\u7528scp\u547d\u4ee4\u5c06\u6253\u5305\u540e\u7684\u53ef\u6267\u884c\u6587\u4ef6\u4e0a\u4f20\u5230\u670d\u52a1\u5668&#xff1a;<\/p>\n<p>bash\u590d\u5236\u4ee3\u7801<\/p>\n<p><span class=\"token function\">scp<\/span> dist\/main username&#064;your_server_ip:\/path\/to\/destination<\/p>\n<h3>\u516d\u3001\u5728\u670d\u52a1\u5668\u4e0a\u8fd0\u884c\u9879\u76ee<\/h3>\n<li>\n<p>\u767b\u5f55\u5230\u670d\u52a1\u5668&#xff1a;<\/p>\n<p> bash\u590d\u5236\u4ee3\u7801<\/p>\n<p><span class=\"token function\">ssh<\/span> username&#064;your_server_ip\n <\/li>\n<li>\n<p>\u5bfc\u822a\u5230\u53ef\u6267\u884c\u6587\u4ef6\u6240\u5728\u7684\u76ee\u5f55&#xff1a;<\/p>\n<p> bash\u590d\u5236\u4ee3\u7801<\/p>\n<p><span class=\"token builtin class-name\">cd<\/span> \/path\/to\/destination\n <\/li>\n<li>\n<p>\u8fd0\u884c\u53ef\u6267\u884c\u6587\u4ef6&#xff1a;<\/p>\n<p> bash\u590d\u5236\u4ee3\u7801<\/p>\n<p>.\/main\n <\/li>\n<h3>\u4e03\u3001\u6ce8\u610f\u4e8b\u9879<\/h3>\n<ul>\n<li>\n<p>\u5982\u679c\u6211\u4eec\u7684Flask\u5e94\u7528\u9700\u8981\u8fd0\u884c\u5728\u7279\u5b9a\u7aef\u53e3&#xff0c;\u786e\u4fdd\u670d\u52a1\u5668\u7684\u9632\u706b\u5899\u5df2\u7ecf\u5f00\u653e\u4e86\u76f8\u5e94\u7aef\u53e3\u3002<\/p>\n<\/li>\n<li>\n<p>\u5982\u679c\u60f3\u8ba9\u5e94\u7528\u5728\u540e\u53f0\u8fd0\u884c&#xff0c;\u53ef\u4ee5\u4f7f\u7528<\/p>\n<p> nohup<\/p>\n<p>\u547d\u4ee4&#xff1a;<\/p>\n<p> bash\u590d\u5236\u4ee3\u7801<\/p>\n<p><span class=\"token function\">nohup<\/span> .\/main <span class=\"token operator\">&amp;<\/span>\n <\/li>\n<li>\n<p>\u5982\u679c\u6211\u4eec\u7684\u9879\u76ee\u9700\u8981\u4e0e\u6570\u636e\u5e93\u4ea4\u4e92&#xff0c;\u9700\u8981\u5728\u670d\u52a1\u5668\u4e0a\u5b89\u88c5\u76f8\u5e94\u7684\u6570\u636e\u5e93\u9a71\u52a8\u7a0b\u5e8f\u5e76\u914d\u7f6e\u8fde\u63a5\u4fe1\u606f\u3002<\/p>\n<\/li>\n<\/ul>\n<h3>\u516b\u3001\u603b\u7ed3<\/h3>\n<p>\u901a\u8fc7\u4e0a\u8ff0\u6b65\u9aa4&#xff0c;\u6211\u4eec\u80fd\u591f\u6210\u529f\u5730\u5c06PyCharm\u4e2d\u7684Python\u9879\u76ee\u6253\u5305\u5e76\u8fd0\u884c\u5230\u670d\u52a1\u5668\u4e0a\u3002\u8fd9\u4e00\u8fc7\u7a0b\u4e0d\u4ec5\u5e2e\u52a9\u6211\u4eec\u5b66\u4e60\u4e86\u4e00\u4e9b\u57fa\u672c\u7684\u547d\u4ee4\u548c\u5de5\u5177\u7684\u4f7f\u7528&#xff0c;\u8fd8\u5f3a\u5316\u4e86\u5bf9\u9879\u76ee\u90e8\u7f72\u6d41\u7a0b\u7684\u7406\u89e3\u3002\u6253\u5305\u548c\u90e8\u7f72\u662f\u8f6f\u4ef6\u5f00\u53d1\u4e2d\u4e0d\u53ef\u6216\u7f3a\u7684\u4e00\u90e8\u5206&#xff0c;\u638c\u63e1\u8fd9\u4e9b\u6280\u80fd\u540e&#xff0c;\u6211\u4eec\u5c06\u80fd\u591f\u66f4\u4e13\u4e1a\u5730\u8fdb\u884c\u7a0b\u5e8f\u5f00\u53d1\u548c\u7ba1\u7406\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb775\u6b21\uff0c\u70b9\u8d5e8\u6b21\uff0c\u6536\u85cf13\u6b21\u3002\u5728PyCharm\u4e2d\u6253\u5305Python\u9879\u76ee\u5e76\u5c06\u5176\u8fd0\u884c\u5230\u670d\u52a1\u5668\u4e0a\u7684\u8fc7\u7a0b\uff0c\u53ef\u4ee5\u5206\u89e3\u4e3a\u51e0\u4e2a\u5173\u952e\u6b65\u9aa4\uff1a\u521b\u5efa\u9879\u76ee\u3001\u8bbe\u7f6e\u9879\u76ee\u4f9d\u8d56\u3001\u6253\u5305\u9879\u76ee\u3001\u914d\u7f6e\u670d\u52a1\u5668\u73af\u5883\u3001\u4e0a\u4f20\u53ef\u6267\u884c\u6587\u4ef6\u5230\u670d\u52a1\u5668\u4ee5\u53ca\u8fd0\u884c\u9879\u76ee\u3002\u672c\u6587\u7ed9\u51fa\u4e86\u4e00\u4e2a\u8be6\u7ec6\u7684\u6307\u5357\uff0c\u5305\u62ec\u5b8c\u6574\u7684\u4ee3\u7801\u793a\u4f8b\uff0c\u8fd9\u4e9b\u4ee3\u7801\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884c\u3002_pycharm \u865a\u62df\u73af\u5883\u628apython\u7a0b\u5e8f\u6253\u5305<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[82,81,43],"topic":[],"class_list":["post-37883","post","type-post","status-publish","format-standard","hentry","category-server","tag-pycharm","tag-python","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728PyCharm\u4e2d\u6253\u5305Python\u9879\u76ee\u5e76\u5c06\u5176\u8fd0\u884c\u5230\u670d\u52a1\u5668\u4e0a\u7684\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/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:\/\/www.wsisp.com\/helps\/37883.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728PyCharm\u4e2d\u6253\u5305Python\u9879\u76ee\u5e76\u5c06\u5176\u8fd0\u884c\u5230\u670d\u52a1\u5668\u4e0a\u7684\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb775\u6b21\uff0c\u70b9\u8d5e8\u6b21\uff0c\u6536\u85cf13\u6b21\u3002\u5728PyCharm\u4e2d\u6253\u5305Python\u9879\u76ee\u5e76\u5c06\u5176\u8fd0\u884c\u5230\u670d\u52a1\u5668\u4e0a\u7684\u8fc7\u7a0b\uff0c\u53ef\u4ee5\u5206\u89e3\u4e3a\u51e0\u4e2a\u5173\u952e\u6b65\u9aa4\uff1a\u521b\u5efa\u9879\u76ee\u3001\u8bbe\u7f6e\u9879\u76ee\u4f9d\u8d56\u3001\u6253\u5305\u9879\u76ee\u3001\u914d\u7f6e\u670d\u52a1\u5668\u73af\u5883\u3001\u4e0a\u4f20\u53ef\u6267\u884c\u6587\u4ef6\u5230\u670d\u52a1\u5668\u4ee5\u53ca\u8fd0\u884c\u9879\u76ee\u3002\u672c\u6587\u7ed9\u51fa\u4e86\u4e00\u4e2a\u8be6\u7ec6\u7684\u6307\u5357\uff0c\u5305\u62ec\u5b8c\u6574\u7684\u4ee3\u7801\u793a\u4f8b\uff0c\u8fd9\u4e9b\u4ee3\u7801\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884c\u3002_pycharm \u865a\u62df\u73af\u5883\u628apython\u7a0b\u5e8f\u6253\u5305\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/37883.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-18T02:56:00+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/37883.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/37883.html\",\"name\":\"\u5728PyCharm\u4e2d\u6253\u5305Python\u9879\u76ee\u5e76\u5c06\u5176\u8fd0\u884c\u5230\u670d\u52a1\u5668\u4e0a\u7684\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-18T02:56:00+00:00\",\"dateModified\":\"2025-05-18T02:56:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/37883.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/37883.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/37883.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728PyCharm\u4e2d\u6253\u5305Python\u9879\u76ee\u5e76\u5c06\u5176\u8fd0\u884c\u5230\u670d\u52a1\u5668\u4e0a\u7684\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5728PyCharm\u4e2d\u6253\u5305Python\u9879\u76ee\u5e76\u5c06\u5176\u8fd0\u884c\u5230\u670d\u52a1\u5668\u4e0a\u7684\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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:\/\/www.wsisp.com\/helps\/37883.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5728PyCharm\u4e2d\u6253\u5305Python\u9879\u76ee\u5e76\u5c06\u5176\u8fd0\u884c\u5230\u670d\u52a1\u5668\u4e0a\u7684\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb775\u6b21\uff0c\u70b9\u8d5e8\u6b21\uff0c\u6536\u85cf13\u6b21\u3002\u5728PyCharm\u4e2d\u6253\u5305Python\u9879\u76ee\u5e76\u5c06\u5176\u8fd0\u884c\u5230\u670d\u52a1\u5668\u4e0a\u7684\u8fc7\u7a0b\uff0c\u53ef\u4ee5\u5206\u89e3\u4e3a\u51e0\u4e2a\u5173\u952e\u6b65\u9aa4\uff1a\u521b\u5efa\u9879\u76ee\u3001\u8bbe\u7f6e\u9879\u76ee\u4f9d\u8d56\u3001\u6253\u5305\u9879\u76ee\u3001\u914d\u7f6e\u670d\u52a1\u5668\u73af\u5883\u3001\u4e0a\u4f20\u53ef\u6267\u884c\u6587\u4ef6\u5230\u670d\u52a1\u5668\u4ee5\u53ca\u8fd0\u884c\u9879\u76ee\u3002\u672c\u6587\u7ed9\u51fa\u4e86\u4e00\u4e2a\u8be6\u7ec6\u7684\u6307\u5357\uff0c\u5305\u62ec\u5b8c\u6574\u7684\u4ee3\u7801\u793a\u4f8b\uff0c\u8fd9\u4e9b\u4ee3\u7801\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884c\u3002_pycharm \u865a\u62df\u73af\u5883\u628apython\u7a0b\u5e8f\u6253\u5305","og_url":"https:\/\/www.wsisp.com\/helps\/37883.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-18T02:56:00+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/37883.html","url":"https:\/\/www.wsisp.com\/helps\/37883.html","name":"\u5728PyCharm\u4e2d\u6253\u5305Python\u9879\u76ee\u5e76\u5c06\u5176\u8fd0\u884c\u5230\u670d\u52a1\u5668\u4e0a\u7684\u65b9\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-18T02:56:00+00:00","dateModified":"2025-05-18T02:56:00+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/37883.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/37883.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/37883.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5728PyCharm\u4e2d\u6253\u5305Python\u9879\u76ee\u5e76\u5c06\u5176\u8fd0\u884c\u5230\u670d\u52a1\u5668\u4e0a\u7684\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/37883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=37883"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/37883\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=37883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=37883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=37883"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=37883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}