{"id":959113,"date":"2024-12-27T03:37:52","date_gmt":"2024-12-26T19:37:52","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/959113.html"},"modified":"2024-12-27T03:37:55","modified_gmt":"2024-12-26T19:37:55","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8notepad-%e8%bf%90%e8%a1%8cpython","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/959113.html","title":{"rendered":"\u5982\u4f55\u5728notepad \u8fd0\u884cpython"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25102023\/05472e09-f253-454c-8536-982cc907171a.webp\" alt=\"\u5982\u4f55\u5728notepad \u8fd0\u884cpython\" \/><\/p>\n<p><p> <strong>\u8981\u5728Notepad\u4e2d\u8fd0\u884cPython\uff0c\u4f60\u9700\u8981\uff1a\u5b89\u88c5Python\u3001\u7f16\u5199Python\u4ee3\u7801\u3001\u4fdd\u5b58\u4e3a.py\u6587\u4ef6\u3001\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8fd0\u884c\u3002<\/strong>\u5176\u4e2d\uff0c<strong>\u5b89\u88c5Python<\/strong>\u662f\u6700\u5173\u952e\u7684\u4e00\u6b65\uff0c\u56e0\u4e3aPython\u89e3\u91ca\u5668\u662f\u8fd0\u884cPython\u4ee3\u7801\u7684\u57fa\u7840\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u6bcf\u4e2a\u6b65\u9aa4\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u5b89\u88c5PYTHON<\/p>\n<\/p>\n<p><p>\u8981\u5728Notepad\u4e2d\u8fd0\u884cPython\uff0c\u9996\u5148\u9700\u8981\u5b89\u88c5Python\u89e3\u91ca\u5668\u3002Python\u662f\u4e00\u79cd\u5e7f\u6cdb\u4f7f\u7528\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u5176\u89e3\u91ca\u5668\u53ef\u4ee5\u5728\u591a\u79cd\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u8fd0\u884c\uff0c\u5305\u62ecWindows\u3001Mac OS\u548cLinux\u3002\u5b89\u88c5Python\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4e0b\u8f7dPython\u5b89\u88c5\u5305<\/strong>\uff1a\u8bbf\u95eePython\u7684\u5b98\u65b9\u7f51\u7ad9\uff08<a href=\"https:\/\/www.python.org\/%EF%BC%89%EF%BC%8C%E5%9C%A8%E4%B8%8B%E8%BD%BD%E9%A1%B5%E9%9D%A2%E4%B8%AD%E9%80%89%E6%8B%A9%E9%80%82%E5%90%88%E4%BD%A0%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E7%9A%84%E6%9C%80%E6%96%B0%E7%89%88%E6%9C%AC%E3%80%82%E9%80%9A%E5%B8%B8%EF%BC%8CWindows%E7%94%A8%E6%88%B7%E4%BC%9A%E9%80%89%E6%8B%A9Windows\">https:\/\/www.python.org\/\uff09\uff0c\u5728\u4e0b\u8f7d\u9875\u9762\u4e2d\u9009\u62e9\u9002\u5408\u4f60\u64cd\u4f5c\u7cfb\u7edf\u7684\u6700\u65b0\u7248\u672c\u3002\u901a\u5e38\uff0cWindows\u7528\u6237\u4f1a\u9009\u62e9Windows<\/a> installer\uff0864-bit\uff09\u6216\uff0832-bit\uff09\uff0c\u5177\u4f53\u9009\u62e9\u53d6\u51b3\u4e8e\u4f60\u7684\u7cfb\u7edf\u67b6\u6784\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f<\/strong>\uff1a\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u53cc\u51fb\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\u3002\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u8bf7\u786e\u4fdd\u9009\u4e2d\u201cAdd Python to PATH\u201d\u9009\u9879\uff0c\u8fd9\u5c06\u81ea\u52a8\u5c06Python\u89e3\u91ca\u5668\u6dfb\u52a0\u5230\u7cfb\u7edf\u8def\u5f84\u4e2d\uff0c\u4f7f\u5176\u53ef\u4ee5\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u76f4\u63a5\u8fd0\u884c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b8c\u6210\u5b89\u88c5<\/strong>\uff1a\u6309\u7167\u5b89\u88c5\u5411\u5bfc\u7684\u6307\u793a\u8fdb\u884c\u5b89\u88c5\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u63d0\u793a\u7b26\u8f93\u5165<code>python --version<\/code>\u547d\u4ee4\u6765\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f\u3002\u5982\u679c\u8fd4\u56dePython\u7248\u672c\u53f7\uff0c\u5219\u8bf4\u660e\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u7f16\u5199PYTHON\u4ee3\u7801<\/p>\n<\/p>\n<p><p>\u5728Notepad\u4e2d\u7f16\u5199Python\u4ee3\u7801\u975e\u5e38\u7b80\u5355\u3002Notepad\u662fWindows\u64cd\u4f5c\u7cfb\u7edf\u81ea\u5e26\u7684\u6587\u672c\u7f16\u8f91\u5668\uff0c\u867d\u7136\u529f\u80fd\u6bd4\u8f83\u57fa\u7840\uff0c\u4f46\u7f16\u5199\u7b80\u5355\u7684Python\u4ee3\u7801\u8db3\u591f\u4e86\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6253\u5f00Notepad<\/strong>\uff1a\u5728Windows\u641c\u7d22\u680f\u4e2d\u8f93\u5165\u201cNotepad\u201d\uff0c\u7136\u540e\u70b9\u51fb\u6253\u5f00\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7f16\u5199\u4ee3\u7801<\/strong>\uff1a\u5728Notepad\u4e2d\u8f93\u5165\u4f60\u7684Python\u4ee3\u7801\u3002\u4f8b\u5982\uff0c\u4f60\u53ef\u4ee5\u8f93\u5165\u4ee5\u4e0b\u7b80\u5355\u7684Python\u4ee3\u7801\u6765\u6253\u5370\u201cHello, World!\u201d\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">print(&quot;Hello, World!&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4fdd\u5b58\u6587\u4ef6<\/strong>\uff1a\u70b9\u51fb\u201c\u6587\u4ef6\u201d\u83dc\u5355\uff0c\u7136\u540e\u9009\u62e9\u201c\u53e6\u5b58\u4e3a\u201d\u3002\u5728\u201c\u4fdd\u5b58\u7c7b\u578b\u201d\u4e2d\u9009\u62e9\u201c\u6240\u6709\u6587\u4ef6\u201d\uff0c\u5e76\u5c06\u6587\u4ef6\u540d\u8bbe\u7f6e\u4e3a<code>example.py<\/code>\u3002\u786e\u4fdd\u6587\u4ef6\u6269\u5c55\u540d\u4e3a<code>.py<\/code>\uff0c\u56e0\u4e3a\u8fd9\u662fPython\u811a\u672c\u7684\u6269\u5c55\u540d\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8fd0\u884cPYTHON\u4ee3\u7801<\/p>\n<\/p>\n<p><p>\u4e00\u65e6\u4f60\u7f16\u5199\u5e76\u4fdd\u5b58\u4e86Python\u4ee3\u7801\uff0c\u5c31\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u63d0\u793a\u7b26\u6765\u8fd0\u884c\u5b83\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26<\/strong>\uff1a\u5728Windows\u641c\u7d22\u680f\u4e2d\u8f93\u5165\u201ccmd\u201d\uff0c\u7136\u540e\u70b9\u51fb\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5bfc\u822a\u5230\u6587\u4ef6\u6240\u5728\u76ee\u5f55<\/strong>\uff1a\u4f7f\u7528<code>cd<\/code>\u547d\u4ee4\u5bfc\u822a\u5230\u4f60\u4fdd\u5b58Python\u6587\u4ef6\u7684\u76ee\u5f55\u3002\u4f8b\u5982\uff0c\u5982\u679c\u6587\u4ef6\u4fdd\u5b58\u5728\u684c\u9762\u4e0a\uff0c\u53ef\u4ee5\u8f93\u5165\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">cd Desktop<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884cPython\u6587\u4ef6<\/strong>\uff1a\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8f93\u5165<code>python example.py<\/code>\uff0c\u7136\u540e\u6309\u56de\u8f66\u952e\u3002\u5982\u679cPython\u5b89\u88c5\u6b63\u786e\u5e76\u4e14\u4f60\u7684\u6587\u4ef6\u8def\u5f84\u6b63\u786e\uff0c\u4f60\u5c06\u770b\u5230\u7a0b\u5e8f\u7684\u8f93\u51fa\uff0c\u4f8b\u5982\u201cHello, World!\u201d\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u8c03\u8bd5\u5e38\u89c1\u9519\u8bef<\/p>\n<\/p>\n<p><p>\u5728\u8fd0\u884cPython\u4ee3\u7801\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u5e38\u89c1\u7684\u9519\u8bef\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u53ef\u80fd\u7684\u95ee\u9898\u53ca\u5176\u89e3\u51b3\u65b9\u6848\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Python\u672a\u5b89\u88c5\u6216\u672a\u6dfb\u52a0\u5230PATH<\/strong>\uff1a\u5982\u679c\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8f93\u5165<code>python<\/code>\u547d\u4ee4\u65f6\u51fa\u73b0\u201c\u672a\u627e\u5230\u201d\u6216\u7c7b\u4f3c\u9519\u8bef\uff0c\u53ef\u80fd\u662f\u56e0\u4e3aPython\u672a\u6b63\u786e\u5b89\u88c5\uff0c\u6216\u8005\u672a\u6dfb\u52a0\u5230\u7cfb\u7edf\u8def\u5f84\u4e2d\u3002\u8bf7\u91cd\u65b0\u5b89\u88c5Python\uff0c\u5e76\u786e\u4fdd\u9009\u62e9\u201cAdd Python to PATH\u201d\u9009\u9879\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4ee3\u7801\u8bed\u6cd5\u9519\u8bef<\/strong>\uff1a\u5982\u679cPython\u811a\u672c\u4e2d\u6709\u8bed\u6cd5\u9519\u8bef\uff0c\u89e3\u91ca\u5668\u4f1a\u5728\u8fd0\u884c\u65f6\u663e\u793a\u9519\u8bef\u4fe1\u606f\u3002\u68c0\u67e5\u4ee3\u7801\u8bed\u6cd5\uff0c\u4f8b\u5982\u7f3a\u5c11\u62ec\u53f7\u3001\u7f29\u8fdb\u9519\u8bef\u7b49\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6587\u4ef6\u8def\u5f84\u9519\u8bef<\/strong>\uff1a\u786e\u4fdd\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u7684\u5f53\u524d\u76ee\u5f55\u662fPython\u6587\u4ef6\u6240\u5728\u7684\u76ee\u5f55\u3002\u5982\u679c\u6587\u4ef6\u8def\u5f84\u9519\u8bef\uff0c\u547d\u4ee4\u63d0\u793a\u7b26\u5c06\u65e0\u6cd5\u627e\u5230Python\u6587\u4ef6\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u4f7f\u7528NOTEPAD++\u63d0\u9ad8\u6548\u7387<\/p>\n<\/p>\n<p><p>\u867d\u7136Notepad\u53ef\u4ee5\u7528\u4e8e\u7f16\u5199Python\u4ee3\u7801\uff0c\u4f46\u5b83\u7f3a\u4e4f\u4e00\u4e9b\u9ad8\u7ea7\u529f\u80fd\uff0c\u5982\u8bed\u6cd5\u9ad8\u4eae\u3001\u81ea\u52a8\u8865\u5168\u548c\u8c03\u8bd5\u5de5\u5177\u3002Notepad++\u662f\u4e00\u6b3e\u514d\u8d39\u7684\u6587\u672c\u7f16\u8f91\u5668\uff0c\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u5e76\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u63d2\u4ef6\uff0c\u53ef\u4ee5\u5927\u5927\u63d0\u9ad8\u7f16\u5199\u4ee3\u7801\u7684\u6548\u7387\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4e0b\u8f7d\u5e76\u5b89\u88c5Notepad++<\/strong>\uff1a\u8bbf\u95eeNotepad++\u7684\u5b98\u65b9\u7f51\u7ad9\uff08<a href=\"https:\/\/notepad-plus-plus.org\/%EF%BC%89%EF%BC%8C%E4%B8%8B%E8%BD%BD%E9%80%82%E5%90%88%E4%BD%A0%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E7%9A%84%E5%AE%89%E8%A3%85%E5%8C%85%E5%B9%B6%E5%AE%89%E8%A3%85%E3%80%82\">https:\/\/notepad-plus-plus.org\/\uff09\uff0c\u4e0b\u8f7d\u9002\u5408\u4f60\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b89\u88c5\u5305\u5e76\u5b89\u88c5\u3002<\/a><\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7f16\u5199Python\u4ee3\u7801<\/strong>\uff1a\u6253\u5f00Notepad++\uff0c\u5728\u5176\u4e2d\u7f16\u5199Python\u4ee3\u7801\u3002Notepad++\u5c06\u81ea\u52a8\u8bc6\u522bPython\u8bed\u6cd5\uff0c\u5e76\u63d0\u4f9b\u8bed\u6cd5\u9ad8\u4eae\u529f\u80fd\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884cPython\u4ee3\u7801<\/strong>\uff1a\u867d\u7136Notepad++\u672c\u8eab\u4e0d\u76f4\u63a5\u63d0\u4f9b\u8fd0\u884cPython\u4ee3\u7801\u7684\u529f\u80fd\uff0c\u4f46\u53ef\u4ee5\u901a\u8fc7\u63d2\u4ef6\u6269\u5c55\u6765\u5b9e\u73b0\u3002\u4f8b\u5982\uff0c\u5b89\u88c5NPPExec\u63d2\u4ef6\uff0c\u53ef\u4ee5\u5728Notepad++\u4e2d\u76f4\u63a5\u8fd0\u884cPython\u811a\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u516d\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u6b65\u9aa4\uff0c\u4f60\u53ef\u4ee5\u5728Notepad\u4e2d\u7f16\u5199\u548c\u8fd0\u884cPython\u4ee3\u7801\u3002\u867d\u7136Notepad\u529f\u80fd\u76f8\u5bf9\u7b80\u5355\uff0c\u4f46\u5bf9\u4e8e\u521d\u5b66\u8005\u548c\u7b80\u5355\u7684Python\u9879\u76ee\u6765\u8bf4\u5df2\u7ecf\u8db3\u591f\u3002\u5982\u679c\u9700\u8981\u66f4\u591a\u9ad8\u7ea7\u529f\u80fd\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528Notepad++\u6216\u5176\u4ed6IDE\uff0c\u5982PyCharm\u6216Visual Studio Code\u3002\u91cd\u8981\u7684\u662f\uff0c\u719f\u6089Python\u7684\u57fa\u672c\u6982\u5ff5\u548c\u547d\u4ee4\u884c\u7684\u4f7f\u7528\uff0c\u8fd9\u5c06\u6709\u52a9\u4e8e\u4f60\u5728\u7f16\u7a0b\u9053\u8def\u4e0a\u8d70\u5f97\u66f4\u8fdc\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Notepad\u4e2d\u7f16\u5199Python\u4ee3\u7801\u5e76\u8fd0\u884c\uff1f<\/strong><br \/>\u5728Notepad\u4e2d\u7f16\u5199Python\u4ee3\u7801\u76f8\u5bf9\u7b80\u5355\u3002\u9996\u5148\uff0c\u6253\u5f00Notepad\u5e76\u8f93\u5165\u60a8\u7684Python\u4ee3\u7801\u3002\u786e\u4fdd\u5c06\u6587\u4ef6\u4fdd\u5b58\u4e3a\u201c.py\u201d\u683c\u5f0f\uff0c\u4f8b\u5982\u201cscript.py\u201d\u3002\u63a5\u4e0b\u6765\uff0c\u60a8\u9700\u8981\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff0c\u5bfc\u822a\u5230\u4fdd\u5b58\u6587\u4ef6\u7684\u4f4d\u7f6e\uff0c\u8f93\u5165<code>python script.py<\/code>\u547d\u4ee4\u6765\u8fd0\u884c\u60a8\u7684\u4ee3\u7801\u3002\u8bf7\u786e\u4fdd\u60a8\u7684\u8ba1\u7b97\u673a\u4e0a\u5df2\u7ecf\u5b89\u88c5Python\uff0c\u5e76\u4e14\u5728\u73af\u5883\u53d8\u91cf\u4e2d\u914d\u7f6e\u4e86Python\u8def\u5f84\uff0c\u4ee5\u4fbf\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u53ef\u4ee5\u76f4\u63a5\u8c03\u7528\u3002<\/p>\n<p><strong>Notepad\u4e0e\u5176\u4ed6\u4ee3\u7801\u7f16\u8f91\u5668\u76f8\u6bd4\uff0c\u9002\u5408\u7f16\u5199Python\u4ee3\u7801\u5417\uff1f<\/strong><br \/>Notepad\u4f5c\u4e3a\u57fa\u7840\u6587\u672c\u7f16\u8f91\u5668\uff0c\u529f\u80fd\u76f8\u5bf9\u7b80\u5355\uff0c\u7f3a\u4e4f\u8bed\u6cd5\u9ad8\u4eae\u3001\u4ee3\u7801\u8865\u5168\u7b49\u9ad8\u7ea7\u529f\u80fd\uff0c\u8fd9\u53ef\u80fd\u4f1a\u5f71\u54cd\u7f16\u5199\u548c\u8c03\u8bd5Python\u4ee3\u7801\u7684\u6548\u7387\u3002\u867d\u7136\u53ef\u4ee5\u4f7f\u7528Notepad\u6765\u7f16\u5199\u4ee3\u7801\uff0c\u4f46\u5f88\u591a\u5f00\u53d1\u8005\u66f4\u503e\u5411\u4e8e\u4f7f\u7528\u4e13\u95e8\u7684\u4ee3\u7801\u7f16\u8f91\u5668\u6216\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\uff0c\u5982Visual Studio Code\u6216PyCharm\uff0c\u8fd9\u4e9b\u5de5\u5177\u63d0\u4f9b\u4e86\u66f4\u597d\u7684\u7528\u6237\u4f53\u9a8c\u548c\u529f\u80fd\u652f\u6301\u3002<\/p>\n<p><strong>\u5728Notepad\u4e2d\u7f16\u5199Python\u4ee3\u7801\u65f6\uff0c\u6709\u54ea\u4e9b\u5e38\u89c1\u7684\u9519\u8bef\u9700\u8981\u907f\u514d\uff1f<\/strong><br \/>\u5728Notepad\u4e2d\u7f16\u5199Python\u4ee3\u7801\u65f6\uff0c\u5e38\u89c1\u7684\u9519\u8bef\u5305\u62ec\u672a\u6b63\u786e\u4f7f\u7528\u7f29\u8fdb\u3001\u6587\u4ef6\u4fdd\u5b58\u4e3a\u6587\u672c\u683c\u5f0f\u800c\u975ePython\u683c\u5f0f\u3001\u4ee5\u53ca\u5728\u4ee3\u7801\u4e2d\u9057\u6f0f\u5fc5\u8981\u7684\u5192\u53f7\u6216\u62ec\u53f7\u3002\u786e\u4fdd\u4ee3\u7801\u7f29\u8fdb\u4e00\u81f4\uff0c\u5e76\u4e14\u5728\u4fdd\u5b58\u6587\u4ef6\u65f6\u9009\u62e9\u6b63\u786e\u7684\u7f16\u7801\u683c\u5f0f\uff08\u901a\u5e38\u4e3aUTF-8\uff09\u3002\u6b64\u5916\uff0c\u4f7f\u7528Python\u7684\u7248\u672c\u517c\u5bb9\u6027\u4e5f\u5f88\u91cd\u8981\uff0c\u786e\u4fdd\u60a8\u7684\u4ee3\u7801\u7b26\u5408\u6240\u4f7f\u7528Python\u7248\u672c\u7684\u8bed\u6cd5\u89c4\u5219\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5728Notepad\u4e2d\u8fd0\u884cPython\uff0c\u4f60\u9700\u8981\uff1a\u5b89\u88c5Python\u3001\u7f16\u5199Python\u4ee3\u7801\u3001\u4fdd\u5b58\u4e3a.py\u6587\u4ef6\u3001\u5728\u547d\u4ee4 [&hellip;]","protected":false},"author":3,"featured_media":959124,"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\/959113"}],"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=959113"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/959113\/revisions"}],"predecessor-version":[{"id":959125,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/959113\/revisions\/959125"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/959124"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=959113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=959113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=959113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}