{"id":20871,"date":"2024-11-19T14:30:08","date_gmt":"2024-11-19T06:30:08","guid":{"rendered":"https:\/\/fwq.ai\/blog\/20871\/"},"modified":"2024-11-19T14:30:08","modified_gmt":"2024-11-19T06:30:08","slug":"notepad%e6%80%8e%e4%b9%88%e8%bf%90%e8%a1%8cpython%e7%a8%8b%e5%ba%8f","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/20871\/","title":{"rendered":"notepad++\u600e\u4e48\u8fd0\u884cpython\u7a0b\u5e8f"},"content":{"rendered":"<blockquote><p>\n  \u4f7f\u7528 notepad++ \u8fd0\u884c python \u7a0b\u5e8f\u9700\u8981\u4ee5\u4e0b\u6b65\u9aa4\uff1a1. \u5b89\u88c5 python \u63d2\u4ef6\uff1b2. \u521b\u5efa python \u6587\u4ef6\uff1b3. \u8bbe\u7f6e\u8fd0\u884c\u9009\u9879\uff1b4. \u8fd0\u884c\u7a0b\u5e8f\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/08\/2024040803242147698.jpg\" class=\"aligncenter\" title=\"notepad++\u600e\u4e48\u8fd0\u884cpython\u7a0b\u5e8f\u63d2\u56fe\" alt=\"notepad++\u600e\u4e48\u8fd0\u884cpython\u7a0b\u5e8f\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u4f7f\u7528 Notepad++ \u8fd0\u884c Python \u7a0b\u5e8f<\/strong><\/p>\n<p>Notepad++ \u662f\u4e00\u6b3e\u6d41\u884c\u7684\u6587\u672c\u7f16\u8f91\u5668\uff0c\u5b83\u53ef\u4ee5\u901a\u8fc7\u63d2\u4ef6\u529f\u80fd\u8f7b\u677e\u8fd0\u884c Python \u7a0b\u5e8f\u3002<\/p>\n<p><strong>\u6b65\u9aa4\uff1a<\/strong><\/p>\n<p><strong>1. \u5b89\u88c5 Python \u63d2\u4ef6<\/strong><\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<ul>\n<li>\u6253\u5f00 Notepad++\uff0c\u8f6c\u5230\u201c\u63d2\u4ef6\u201d&gt;\u201c\u63d2\u4ef6\u7ba1\u7406\u5668\u201d&gt;\u201c\u663e\u793a\u63d2\u4ef6\u7ba1\u7406\u5668\u201d\u3002<\/li>\n<li>\u5728\u8fc7\u6ee4\u5668\u4e2d\u8f93\u5165\u201cPythonScript\u201d\u5e76\u5b89\u88c5\u63d2\u4ef6\u3002<\/li>\n<\/ul>\n<p><strong>2. \u521b\u5efa Python \u6587\u4ef6<\/strong><\/p>\n<ul>\n<li>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684 Notepad++ \u6587\u4ef6\u3002<\/li>\n<li>\u5c06\u4ee3\u7801\u7c98\u8d34\u5230\u6587\u4ef6\u4e2d\uff0c\u786e\u4fdd\u6269\u5c55\u540d\u4e3a \u201c.py\u201d\u3002<\/li>\n<\/ul>\n<p><strong>3. \u8bbe\u7f6e\u8fd0\u884c\u9009\u9879<\/strong><\/p>\n<ul>\n<li>\u8f6c\u5230\u201c\u63d2\u4ef6\u201d&gt;\u201cPython Script\u201d&gt;\u201c\u914d\u7f6e\u201d\u6253\u5f00 Python Script \u914d\u7f6e\u5bf9\u8bdd\u6846\u3002<\/li>\n<li>\u8bbe\u7f6e Python \u89e3\u91ca\u5668\u8def\u5f84\uff0c\u5e76\u9009\u62e9\u6240\u9700\u7684\u9009\u9879\u3002<\/li>\n<\/ul>\n<p><strong>4. \u8fd0\u884c\u7a0b\u5e8f<\/strong><\/p>\n<ul>\n<li>\u5355\u51fb\u83dc\u5355\u680f\u4e0a\u7684\u201c\u63d2\u4ef6\u201d&gt;\u201cPython Script\u201d&gt;\u201c\u8fd0\u884c\u201d\u3002<\/li>\n<li>\u6216\u8005\uff0c\u6309\u5feb\u6377\u952e\u201cAlt + F5\u201d\u3002<\/li>\n<\/ul>\n<p><strong>\u63d0\u793a\uff1a<\/strong><\/p>\n<ul>\n<li>\u786e\u4fdd\u60a8\u7684 Python \u89e3\u91ca\u5668\u5df2\u6b63\u786e\u5b89\u88c5\u5e76\u914d\u7f6e\u4e3a\u73af\u5883\u53d8\u91cf\u3002<\/li>\n<li>\u5982\u679c\u60a8\u9047\u5230\u9519\u8bef\uff0c\u8bf7\u68c0\u67e5 Python \u89e3\u91ca\u5668\u8def\u5f84\u548c\u914d\u7f6e\u9009\u9879\u3002<\/li>\n<li>\u60a8\u53ef\u4ee5\u4f7f\u7528 Python Shell \u63a7\u5236\u53f0\u6765\u4ea4\u4e92\u5f0f\u5730\u8fd0\u884c Python \u4ee3\u7801\u3002<\/li>\n<li>Notepad++ \u63d0\u4f9b\u4e86\u8bed\u6cd5\u9ad8\u4eae\u548c\u4ee3\u7801\u5b8c\u6210\u529f\u80fd\uff0c\u4ee5\u7b80\u5316 Python \u5f00\u53d1\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f++\u600e\u4e48\u8fd0\u884c\u7a0b\u5e8f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528 notepad++ \u8fd0\u884c python \u7a0b\u5e8f\u9700\u8981\u4ee5\u4e0b\u6b65\u9aa4\uff1a1. \u5b89\u88c5 python \u63d2\u4ef6\uff1b2. \u521b\u5efa python \u6587\u4ef6\uff1b3. \u8bbe\u7f6e\u8fd0\u884c\u9009\u9879\uff1b4. \u8fd0\u884c\u7a0b\u5e8f\u3002 \u5982\u4f55\u4f7f\u7528 Notepad++ \u8fd0\u884c Python \u7a0b\u5e8f Notepad++ \u662f\u4e00\u6b3e\u6d41\u884c\u7684\u6587\u672c\u7f16\u8f91\u5668\uff0c\u5b83\u53ef\u4ee5\u901a\u8fc7\u63d2\u4ef6\u529f\u80fd\u8f7b\u677e\u8fd0\u884c Python \u7a0b\u5e8f\u3002 \u6b65\u9aa4\uff1a 1. \u5b89\u88c5 Python \u63d2\u4ef6 \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b \u6253\u5f00 Notepad++\uff0c\u8f6c\u5230\u201c\u63d2\u4ef6\u201d&gt;\u201c\u63d2\u4ef6\u7ba1\u7406\u5668\u201d&gt;\u201c\u663e\u793a\u63d2\u4ef6\u7ba1\u7406\u5668\u201d\u3002 \u5728\u8fc7\u6ee4\u5668\u4e2d\u8f93\u5165\u201cPythonScript\u201d\u5e76\u5b89\u88c5\u63d2\u4ef6\u3002 2. \u521b\u5efa Python \u6587\u4ef6 \u521b\u5efa\u4e00\u4e2a\u65b0\u7684 Notepad++ \u6587\u4ef6\u3002 \u5c06\u4ee3\u7801\u7c98\u8d34\u5230\u6587\u4ef6\u4e2d\uff0c\u786e\u4fdd\u6269\u5c55\u540d\u4e3a \u201c.py\u201d\u3002 3. \u8bbe\u7f6e\u8fd0\u884c\u9009\u9879 \u8f6c\u5230\u201c\u63d2\u4ef6\u201d&gt;\u201cPython Script\u201d&gt;\u201c\u914d\u7f6e\u201d\u6253\u5f00 Python Script \u914d\u7f6e\u5bf9\u8bdd\u6846\u3002 \u8bbe\u7f6e Python \u89e3\u91ca\u5668\u8def\u5f84\uff0c\u5e76\u9009\u62e9\u6240\u9700\u7684\u9009\u9879\u3002 4. \u8fd0\u884c\u7a0b\u5e8f \u5355\u51fb\u83dc\u5355\u680f\u4e0a\u7684\u201c\u63d2\u4ef6\u201d&gt;\u201cPython Script\u201d&gt;\u201c\u8fd0\u884c\u201d\u3002 \u6216\u8005\uff0c\u6309\u5feb\u6377\u952e\u201cAlt [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-20871","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=20871"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20871\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=20871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=20871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=20871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}