{"id":1085846,"date":"2025-01-08T13:20:06","date_gmt":"2025-01-08T05:20:06","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1085846.html"},"modified":"2025-01-08T13:20:08","modified_gmt":"2025-01-08T05:20:08","slug":"%e5%a6%82%e4%bd%95%e5%b0%86python%e5%b0%81%e8%a3%85%e6%88%90%e5%b0%8f%e7%a8%8b%e5%ba%8f-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1085846.html","title":{"rendered":"\u5982\u4f55\u5c06python\u5c01\u88c5\u6210\u5c0f\u7a0b\u5e8f"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24195537\/ff2c5fea-af40-4ade-b5ee-9faaccbde9f7.webp\" alt=\"\u5982\u4f55\u5c06python\u5c01\u88c5\u6210\u5c0f\u7a0b\u5e8f\" \/><\/p>\n<p><p> <strong>\u8981\u5c06Python\u5c01\u88c5\u6210\u5c0f\u7a0b\u5e8f\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e9b\u5de5\u5177\u548c\u6846\u67b6\uff0c\u5982Flask\u3001Django\u3001PyQt\u3001PyInstaller\u7b49\u3002\u8fd9\u4e9b\u5de5\u5177\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5c06Python\u4ee3\u7801\u8f6c\u6362\u6210\u53ef\u6267\u884c\u6587\u4ef6\u3001Web\u5e94\u7528\u6216\u684c\u9762\u5e94\u7528\u3002<\/strong> \u5176\u4e2d\uff0cFlask\u548cDjango\u9002\u7528\u4e8eWeb\u5e94\u7528\u5f00\u53d1\uff0cPyQt\u9002\u7528\u4e8e\u684c\u9762\u5e94\u7528\u5f00\u53d1\uff0c\u800cPyInstaller\u5219\u53ef\u4ee5\u5c06Python\u811a\u672c\u6253\u5305\u6210\u72ec\u7acb\u7684\u53ef\u6267\u884c\u6587\u4ef6\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u8fd9\u4e9b\u5de5\u5177\u5c06Python\u5c01\u88c5\u6210\u5c0f\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528Flask\u5c01\u88c5\u6210Web\u5e94\u7528<\/h3>\n<\/p>\n<p><h4>1. \u5b89\u88c5Flask<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u786e\u4fdd\u4f60\u5df2\u7ecf\u5b89\u88c5\u4e86Python\u548cpip\u3002\u7136\u540e\u4f7f\u7528pip\u5b89\u88c5Flask\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install Flask<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u521b\u5efaFlask\u9879\u76ee<\/h4>\n<\/p>\n<p><p>\u5728\u4f60\u7684\u5de5\u4f5c\u76ee\u5f55\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6587\u4ef6\u5939\uff0c\u5e76\u5728\u5176\u4e2d\u521b\u5efa\u4e00\u4e2aPython\u6587\u4ef6\uff08\u4f8b\u5982app.py\uff09\u3002\u5728\u8fd9\u4e2a\u6587\u4ef6\u4e2d\uff0c\u7f16\u5199\u4f60\u7684Flask\u5e94\u7528\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from flask import Flask, render_template<\/p>\n<p>app = Flask(__name__)<\/p>\n<p>@app.route(&#39;\/&#39;)<\/p>\n<p>def home():<\/p>\n<p>    return render_template(&#39;index.html&#39;)<\/p>\n<p>if __name__ == &#39;__m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n__&#39;:<\/p>\n<p>    app.run(debug=True)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u521b\u5efaHTML\u6a21\u677f<\/h4>\n<\/p>\n<p><p>\u5728\u4f60\u7684\u9879\u76ee\u6587\u4ef6\u5939\u4e2d\u521b\u5efa\u4e00\u4e2a\u540d\u4e3atemplates\u7684\u6587\u4ef6\u5939\uff0c\u5e76\u5728\u5176\u4e2d\u521b\u5efa\u4e00\u4e2aHTML\u6587\u4ef6\uff08\u4f8b\u5982index.html\uff09\u3002\u5728\u8fd9\u4e2a\u6587\u4ef6\u4e2d\u7f16\u5199\u4f60\u7684HTML\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-html\">&lt;!DOCTYPE html&gt;<\/p>\n<p>&lt;html lang=&quot;en&quot;&gt;<\/p>\n<p>&lt;head&gt;<\/p>\n<p>    &lt;meta charset=&quot;UTF-8&quot;&gt;<\/p>\n<p>    &lt;title&gt;Flask App&lt;\/title&gt;<\/p>\n<p>&lt;\/head&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>    &lt;h1&gt;Hello, Flask!&lt;\/h1&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>4. \u8fd0\u884cFlask\u5e94\u7528<\/h4>\n<\/p>\n<p><p>\u56de\u5230\u4f60\u7684\u9879\u76ee\u6587\u4ef6\u5939\uff0c\u5728\u7ec8\u7aef\u4e2d\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python app.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f60\u7684Flask\u5e94\u7528\u73b0\u5728\u5e94\u8be5\u5728\u672c\u5730\u670d\u52a1\u5668\u4e0a\u8fd0\u884c\uff0c\u4f60\u53ef\u4ee5\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee<a href=\"http:\/\/127.0.0.1:5000%E6%9F%A5%E7%9C%8B%E3%80%82\">http:\/\/127.0.0.1:5000\u67e5\u770b\u3002<\/a><\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528Django\u5c01\u88c5\u6210Web\u5e94\u7528<\/h3>\n<\/p>\n<p><h4>1. \u5b89\u88c5Django<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528pip\u5b89\u88c5Django\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install Django<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u521b\u5efaDjango\u9879\u76ee<\/h4>\n<\/p>\n<p><p>\u5728\u4f60\u7684\u5de5\u4f5c\u76ee\u5f55\u4e2d\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u4ee5\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Django\u9879\u76ee\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">django-admin startproject myproject<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fdb\u5165\u9879\u76ee\u6587\u4ef6\u5939\u5e76\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u4ee5\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5e94\u7528\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">cd myproject<\/p>\n<p>python manage.py startapp myapp<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u914d\u7f6eDjango\u9879\u76ee<\/h4>\n<\/p>\n<p><p>\u5728settings.py\u6587\u4ef6\u4e2d\uff0c\u5c06\u4f60\u7684\u5e94\u7528\u6dfb\u52a0\u5230INSTALLED_APPS\u5217\u8868\u4e2d\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">INSTALLED_APPS = [<\/p>\n<p>    ...<\/p>\n<p>    &#39;myapp&#39;,<\/p>\n<p>]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728urls.py\u6587\u4ef6\u4e2d\uff0c\u6dfb\u52a0\u4f60\u7684\u5e94\u7528\u7684URL\u914d\u7f6e\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from django.contrib import admin<\/p>\n<p>from django.urls import path<\/p>\n<p>from myapp import views<\/p>\n<p>urlpatterns = [<\/p>\n<p>    path(&#39;admin\/&#39;, admin.site.urls),<\/p>\n<p>    path(&#39;&#39;, views.home, name=&#39;home&#39;),<\/p>\n<p>]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>4. \u7f16\u5199\u89c6\u56fe\u548c\u6a21\u677f<\/h4>\n<\/p>\n<p><p>\u5728views.py\u6587\u4ef6\u4e2d\uff0c\u7f16\u5199\u4f60\u7684\u89c6\u56fe\u51fd\u6570\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from django.shortcuts import render<\/p>\n<p>def home(request):<\/p>\n<p>    return render(request, &#39;index.html&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4f60\u7684\u5e94\u7528\u6587\u4ef6\u5939\u4e2d\u521b\u5efa\u4e00\u4e2atemplates\u6587\u4ef6\u5939\uff0c\u5e76\u5728\u5176\u4e2d\u521b\u5efa\u4e00\u4e2aHTML\u6587\u4ef6\uff08\u4f8b\u5982index.html\uff09\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-html\">&lt;!DOCTYPE html&gt;<\/p>\n<p>&lt;html lang=&quot;en&quot;&gt;<\/p>\n<p>&lt;head&gt;<\/p>\n<p>    &lt;meta charset=&quot;UTF-8&quot;&gt;<\/p>\n<p>    &lt;title&gt;Django App&lt;\/title&gt;<\/p>\n<p>&lt;\/head&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>    &lt;h1&gt;Hello, Django!&lt;\/h1&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>5. \u8fd0\u884cDjango\u9879\u76ee<\/h4>\n<\/p>\n<p><p>\u5728\u7ec8\u7aef\u4e2d\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u4ee5\u542f\u52a8Django\u5f00\u53d1\u670d\u52a1\u5668\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python manage.py runserver<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f60\u7684Django\u5e94\u7528\u73b0\u5728\u5e94\u8be5\u5728\u672c\u5730\u670d\u52a1\u5668\u4e0a\u8fd0\u884c\uff0c\u4f60\u53ef\u4ee5\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee<a href=\"http:\/\/127.0.0.1:8000%E6%9F%A5%E7%9C%8B%E3%80%82\">http:\/\/127.0.0.1:8000\u67e5\u770b\u3002<\/a><\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528PyQt\u5c01\u88c5\u6210\u684c\u9762\u5e94\u7528<\/h3>\n<\/p>\n<p><h4>1. \u5b89\u88c5PyQt<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528pip\u5b89\u88c5PyQt5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install PyQt5<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u521b\u5efaPyQt\u9879\u76ee<\/h4>\n<\/p>\n<p><p>\u5728\u4f60\u7684\u5de5\u4f5c\u76ee\u5f55\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u6587\u4ef6\uff08\u4f8b\u5982app.py\uff09\u3002\u5728\u8fd9\u4e2a\u6587\u4ef6\u4e2d\u7f16\u5199\u4f60\u7684PyQt\u5e94\u7528\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sys<\/p>\n<p>from PyQt5.QtWidgets import QApplication, QMainWindow, QLabel<\/p>\n<p>class MainWindow(QMainWindow):<\/p>\n<p>    def __init__(self):<\/p>\n<p>        super().__init__()<\/p>\n<p>        self.setWindowTitle(&#39;PyQt App&#39;)<\/p>\n<p>        self.setGeometry(100, 100, 400, 300)<\/p>\n<p>        label = QLabel(&#39;Hello, PyQt!&#39;, self)<\/p>\n<p>        label.move(100, 100)<\/p>\n<p>if __name__ == &#39;__main__&#39;:<\/p>\n<p>    app = QApplication(sys.argv)<\/p>\n<p>    window = MainWindow()<\/p>\n<p>    window.show()<\/p>\n<p>    sys.exit(app.exec_())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u8fd0\u884cPyQt\u5e94\u7528<\/h4>\n<\/p>\n<p><p>\u5728\u7ec8\u7aef\u4e2d\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python app.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f60\u7684PyQt\u5e94\u7528\u73b0\u5728\u5e94\u8be5\u8fd0\u884c\uff0c\u5e76\u663e\u793a\u4e00\u4e2a\u5e26\u6709\u201cHello, PyQt!\u201d\u6807\u7b7e\u7684\u7a97\u53e3\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528PyInstaller\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6<\/h3>\n<\/p>\n<p><h4>1. \u5b89\u88c5PyInstaller<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528pip\u5b89\u88c5PyInstaller\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pyinstaller<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u6253\u5305Python\u811a\u672c<\/h4>\n<\/p>\n<p><p>\u5728\u7ec8\u7aef\u4e2d\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u4ee5\u6253\u5305\u4f60\u7684Python\u811a\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyinstaller --onefile app.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u521b\u5efa\u4e00\u4e2adist\u6587\u4ef6\u5939\uff0c\u5176\u4e2d\u5305\u542b\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\uff08\u4f8b\u5982app.exe\uff09\u3002\u4f60\u53ef\u4ee5\u5c06\u8fd9\u4e2a\u6587\u4ef6\u5206\u53d1\u7ed9\u5176\u4ed6\u4eba\uff0c\u4ed6\u4eec\u65e0\u9700\u5b89\u88c5Python\u5373\u53ef\u8fd0\u884c\u4f60\u7684\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><h3>\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u4f7f\u7528Flask\u3001Django\u3001PyQt\u548cPyInstaller\u7b49\u5de5\u5177\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u5730\u5c06Python\u5c01\u88c5\u6210Web\u5e94\u7528\u6216\u684c\u9762\u5e94\u7528\uff0c\u5e76\u5c06\u5176\u6253\u5305\u6210\u72ec\u7acb\u7684\u53ef\u6267\u884c\u6587\u4ef6\u3002\u6bcf\u79cd\u5de5\u5177\u90fd\u6709\u5176\u72ec\u7279\u7684\u4f18\u52bf\u548c\u9002\u7528\u573a\u666f\uff0c\u9009\u62e9\u9002\u5408\u4f60\u9879\u76ee\u9700\u6c42\u7684\u5de5\u5177\u662f\u5173\u952e\u3002\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u80fd\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7406\u89e3\u5982\u4f55\u5c06Python\u5c01\u88c5\u6210\u5c0f\u7a0b\u5e8f\uff0c\u5e76\u6210\u529f\u5e94\u7528\u5230\u4f60\u7684\u9879\u76ee\u4e2d\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5c06Python\u4ee3\u7801\u8f6c\u6362\u4e3a\u53ef\u6267\u884c\u7684\u5c0f\u7a0b\u5e8f\uff1f<\/strong><br \/>\u5c06Python\u4ee3\u7801\u8f6c\u6362\u4e3a\u53ef\u6267\u884c\u7684\u5c0f\u7a0b\u5e8f\u7684\u8fc7\u7a0b\u901a\u5e38\u6d89\u53ca\u4f7f\u7528\u6253\u5305\u5de5\u5177\u3002\u5e38\u7528\u7684\u5de5\u5177\u6709PyInstaller\u3001cx_Freeze\u548cPyOxidizer\u7b49\u3002\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\u540e\uff0c\u60a8\u9700\u8981\u5728\u547d\u4ee4\u884c\u4e2d\u8fd0\u884c\u7279\u5b9a\u7684\u547d\u4ee4\uff0c\u5c06\u60a8\u7684Python\u811a\u672c\u6253\u5305\u6210\u53ef\u5728\u76ee\u6807\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u8fd0\u884c\u7684\u72ec\u7acb\u7a0b\u5e8f\u3002\u786e\u4fdd\u5728\u6253\u5305\u4e4b\u524d\u5b89\u88c5\u6240\u6709\u5fc5\u8981\u7684\u4f9d\u8d56\uff0c\u5e76\u6d4b\u8bd5\u60a8\u7684\u7a0b\u5e8f\u4ee5\u786e\u4fdd\u5176\u529f\u80fd\u6b63\u5e38\u3002<\/p>\n<p><strong>\u5728\u5c06Python\u5c01\u88c5\u6210\u5c0f\u7a0b\u5e8f\u65f6\u9700\u8981\u6ce8\u610f\u54ea\u4e9b\u4f9d\u8d56\u95ee\u9898\uff1f<\/strong><br \/>\u5728\u5c01\u88c5Python\u7a0b\u5e8f\u65f6\uff0c\u5904\u7406\u4f9d\u8d56\u5173\u7cfb\u81f3\u5173\u91cd\u8981\u3002\u786e\u4fdd\u5728\u6253\u5305\u524d\u5df2\u5b89\u88c5\u6240\u6709\u5fc5\u8981\u7684\u7b2c\u4e09\u65b9\u5e93\uff0c\u5e76\u5728\u5c01\u88c5\u8fc7\u7a0b\u4e2d\u5305\u542b\u5b83\u4eec\u3002\u5927\u591a\u6570\u6253\u5305\u5de5\u5177\u4f1a\u81ea\u52a8\u68c0\u6d4b\u5e76\u5305\u542b\u4f9d\u8d56\uff0c\u4f46\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u53ef\u80fd\u9700\u8981\u624b\u52a8\u6dfb\u52a0\u7279\u5b9a\u5e93\u3002\u6b64\u5916\uff0c\u786e\u4fdd\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u6d4b\u8bd5\u60a8\u7684\u5c0f\u7a0b\u5e8f\uff0c\u4ee5\u9a8c\u8bc1\u6240\u6709\u4f9d\u8d56\u9879\u5728\u76ee\u6807\u73af\u5883\u4e2d\u5747\u80fd\u6b63\u5e38\u5de5\u4f5c\u3002<\/p>\n<p><strong>\u5982\u4f55\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\u5c06Python\u5c01\u88c5\u6210\u5c0f\u7a0b\u5e8f\uff1f<\/strong><br \/>\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\u901a\u5e38\u53d6\u51b3\u4e8e\u60a8\u7684\u9700\u6c42\u548c\u76ee\u6807\u5e73\u53f0\u3002\u5982\u679c\u60a8\u9700\u8981\u8de8\u5e73\u53f0\u652f\u6301\uff0cPyInstaller\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\uff0c\u56e0\u4e3a\u5b83\u652f\u6301Windows\u3001macOS\u548cLinux\u3002\u5982\u679c\u60a8\u9700\u8981\u521b\u5efa\u8f83\u5c0f\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0cPyOxidizer\u53ef\u80fd\u66f4\u5408\u9002\u3002\u8003\u8651\u5230\u5f00\u53d1\u7684\u590d\u6742\u6027\u548c\u6587\u6863\u652f\u6301\uff0ccx_Freeze\u4e5f\u662f\u4e00\u4e2a\u5e38\u7528\u7684\u5de5\u5177\u3002\u5efa\u8bae\u6839\u636e\u9879\u76ee\u7684\u5177\u4f53\u8981\u6c42\uff0c\u9605\u8bfb\u76f8\u5173\u6587\u6863\u5e76\u8fdb\u884c\u4e00\u4e9b\u8bd5\u9a8c\uff0c\u4ee5\u627e\u5230\u6700\u5408\u9002\u7684\u5de5\u5177\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5c06Python\u5c01\u88c5\u6210\u5c0f\u7a0b\u5e8f\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e9b\u5de5\u5177\u548c\u6846\u67b6\uff0c\u5982Flask\u3001Django\u3001PyQt\u3001PyInstal [&hellip;]","protected":false},"author":3,"featured_media":1085852,"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\/1085846"}],"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=1085846"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1085846\/revisions"}],"predecessor-version":[{"id":1085853,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1085846\/revisions\/1085853"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1085852"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1085846"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1085846"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1085846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}