{"id":1381,"date":"2023-01-02T20:16:06","date_gmt":"2023-01-02T12:16:06","guid":{"rendered":"https:\/\/www.dataisfun.cn\/?p=1381"},"modified":"2023-01-02T20:16:06","modified_gmt":"2023-01-02T12:16:06","slug":"python%e5%88%9b%e5%bb%bagui%e7%a8%8b%e5%ba%8f%e5%b9%b6%e6%89%93%e5%8c%85%e4%b8%baexe%e6%96%87%e4%bb%b6","status":"publish","type":"post","link":"https:\/\/www.dataisfun.cn\/?p=1381","title":{"rendered":"Python\u521b\u5efaGUI\u7a0b\u5e8f\u5e76\u6253\u5305\u4e3aexe\u6587\u4ef6"},"content":{"rendered":"<p><font size=2>\u65e5\u5e38\u5de5\u4f5c\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u4f1a\u7528Python\u5f00\u53d1\u4e00\u4e9b\u7b80\u5355\u8f7b\u4fbf\u7684\u7a0b\u5e8f\u6765\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\uff0c\u4f46Python\u4ee3\u7801\u53ea\u80fd\u5728\u5b89\u88c5\u4e86Python\u73af\u5883\u7684\u7535\u8111\u4e0a\u8fd0\u884c\uff0c\u5982\u679c\u5176\u4ed6\u5c0f\u4f19\u4f34\u6ca1\u6709\u5b89\u88c5Python\uff0c\u90a3\u5c31\u65e0\u6cd5\u4f7f\u7528\u6211\u4eec\u5f00\u53d1\u7684\u7a0b\u5e8f\u4e86\u3002\u8fd9\u79cd\u60c5\u51b5\u8be5\u600e\u4e48\u529e\u5462\uff0c\u6211\u4eec\u5df2\u7ecf\u77e5\u9053\u7b54\u6848\u4e86\uff1a\u5c06Python\u4ee3\u7801\u6253\u5305\u4e3aexe\u6587\u4ef6\uff0c\u5c31\u53ef\u4ee5\u5206\u4eab\u7ed9\u4efb\u4f55\u4eba\u4f7f\u7528\u4e86\u3002<\/p>\n<p>\u672c\u6587\u5c31\u4ee5\u5b9e\u4f8b\u603b\u7ed3\u4e0bPython\u521b\u5efaGUI\u7a0b\u5e8f\u5e76\u6253\u5305\u6210exe\u6587\u4ef6\u7684\u8fc7\u7a0b\uff1a<\/p>\n<h3>1. \u5f00\u53d1\u76ee\u6807<\/h3>\n<p>\u521b\u5efa\u4e00\u4e2a\u7528\u4e8e\u5408\u5e76\u6587\u4ef6\u7684GUI\u7a0b\u5e8f\uff0c\u5e76\u5c06\u5176\u6253\u5305\u6210exe\u6587\u4ef6\uff0c\u7a0b\u5e8f\u547d\u540d\u4e3aEasyConcat.<\/p>\n<h3>2. \u9009\u7528\u7b2c\u4e09\u65b9\u5305<\/h3>\n<p>\u521b\u5efaGUI\u7a97\u53e3\uff0c\u6211\u4eec\u9009\u7528tkinter\u548cttkbootstrap\u6765\u5b9e\u73b0\u3002\u6253\u5305\u6210exe\u6587\u4ef6\uff0c\u6211\u4eec\u9009\u7528Pyinstaller\u6765\u5b9e\u73b0\u3002<\/p>\n<h3>3. \u4ee3\u7801\u5f00\u53d1<\/h3>\n<p>\u6700\u7ec8\u7684.py\u6e90\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-python line-numbers\"># \u5bfc\u5165\u5de5\u5177\u5305\nfrom tkinter.filedialog import askdirectory\nfrom ttkbootstrap import Window\nfrom ttkbootstrap import Button\nfrom ttkbootstrap.dialogs.dialogs import Messagebox, Querybox\nfrom pathlib import Path\nimport pandas as pd\n\n\n# \u5408\u5e76Excel\ndef concat_excel():\n    directory = askdirectory(title=\"\u9009\u62e9\u76ee\u5f55\")\n\n    files = [pd.read_excel(file) for file in Path(directory).glob('*.xlsx') if \"\u5408\u5e76\u7ed3\u679c\" not in str(file)]\n    df = pd.concat(files)\n\n    out_excel = \"%s\\\u5408\u5e76\u7ed3\u679c.xlsx\" % directory\n    df.to_excel(out_excel, index=False, header=True)\n\n    Messagebox.ok(message=\"\u5408\u5e76\u6210\u529f\uff01\", title=\"\")\n\n\n# \u521b\u5efa\u7a97\u53e3\nroot = Window(title=\"EasyConcat\", themename=\"superhero\", size=(800, 450))\nroot.place_window_center()  # \u7a97\u53e3\u5c45\u4e2d\nroot.position_center()  # \u7a97\u53e3\u5c45\u4e2d\nroot.wm_attributes('-topmost', 1)  # \u7a97\u53e3\u7f6e\u4e8e\u6700\u524d\u7aef\n\n# \u6dfb\u52a0\u70b9\u51fb\u6309\u94ae1\nbutton1 = Button(root, text='\u5408\u5e76EXCEL', command=concat_excel)\nbutton1.place(x=300, y=50, width=200, height=80)\n\n# \u663e\u793a\u7a97\u53e3\nroot.mainloop()\n<\/code><\/pre>\n<p>\u4ee5\u4e0a\u7684.py\u6e90\u7801\uff0c\u5728\u5b89\u88c5\u4e86Python\u7684\u7535\u8111\u4e0a\u5df2\u7ecf\u53ef\u4ee5\u6b63\u5e38\u8fd0\u884c\u4e86\uff0c\u73b0\u5728\u6211\u4eec\u9700\u8981\u66f4\u8fdb\u4e00\u6b65\uff0c\u5c06\u5176\u6253\u5305\u6210exe\u6587\u4ef6\uff0c\u4ee5\u4fbf\u5206\u4eab\u7ed9\u5176\u4ed6\u5c0f\u4f19\u4f34\u4f7f\u7528\u3002<\/p>\n<p>\u6211\u4eec\u9009\u7528Pyinstaller\u6765\u5b9e\u73b0\uff0c\u7531\u4e8e\u6211\u4eec\u65e5\u5e38\u4f7f\u7528\u7684Python\u73af\u5883\u5df2\u7ecf\u88ab\u6211\u4eec\u5b89\u88c5\u4e86\u5f88\u591a\u5305\uff0c\u76f4\u63a5\u5728\u6b64Python\u73af\u5883\u4e0b\u6253\u5305\u7684\u8bdd\uff0c\u6700\u7ec8\u7684exe\u6587\u4ef6\u4f1a\u975e\u5e38\u5927\uff0c\u800c\u5b9e\u9645\u6211\u4eec\u53ea\u9700\u8981\u6253\u5305\u8fd9\u4e2a\u7a0b\u5e8f\u6240\u7528\u5230\u7684\u5305\u5373\u53ef\uff0c\u56e0\u6b64\u6211\u4eec\u5148\u521b\u5efa\u65b0\u7684\u865a\u62df\u73af\u5883\uff0c\u5728\u6b64\u73af\u5883\u4e0b\u53ea\u5b89\u88c5\u7528\u5230\u7684\u5305\uff0c\u7136\u540e\u518d\u6253\u5305\u3002\u5177\u4f53\u7684\u64cd\u4f5c\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-python line-numbers\"># \u7b2c1\u6b65\uff1a\u6253\u5f00Anaconda Prompt\n\n# \u7b2c2\u6b65\uff1a\u521b\u5efa\u4e00\u4e2a\u4e34\u65f6\u7684\u865a\u62df\u73af\u5883\nconda create -n tmp python=3.9\n\n# \u7b2c3\u6b65\uff1a\u6fc0\u6d3b\u521a\u521a\u521b\u5efa\u7684\u865a\u62df\u73af\u5883\nconda activate tmp\n\n# \u7b2c4\u6b65\uff1a\u5728\u521a\u521a\u521b\u5efa\u7684\u865a\u62df\u73af\u5883\u4e0b\u5b89\u88c5\u6211\u4eec\u7528\u5230\u7684\u7b2c\u4e09\u65b9\u5305\npip install pandas\npip install ttkbootstrap\npip install openpyxl\npip install pyinstaller\n\n# \u7b2c5\u6b65\uff1a\u8fdb\u5165\u5230\u8981\u6253\u5305\u7684.py\u4ee3\u7801\u6587\u4ef6\u6240\u5728\u7684\u76ee\u5f55\ncd xxxxxx\n\n# \u7b2c6\u6b65\uff1a\u4f7f\u7528Pyinstaller\u5c06\u51c6\u5907\u597d\u7684.py\u4ee3\u7801\u548c.ico\u56fe\u6807\u6253\u5305\nPyinstaller -F -w -i EasyConcat.ico EasyConcat.py\n<\/code><\/pre>\n<p>\u6700\u7ec8\u6211\u4eec\u5c06.py\u6587\u4ef6\u6253\u5305\u6210\u4e86.exe\u6587\u4ef6\u3002<\/p>\n<h3>4. \u6210\u679c\u5c55\u793a<\/h3>\n<p>\u53cc\u51fbexe\u6587\u4ef6\uff0c\u7a0b\u5e8f\u754c\u9762\u5982\u4e0b\uff0c3\u4e2a\u6309\u94ae\u5206\u522b\u7528\u4e8e\u5408\u5e76\u4e0d\u540c\u7c7b\u578b\u7684\u6587\u4ef6\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sheng-storage.oss-cn-shanghai.aliyuncs.com\/img\/EasyConcat.png\" width = \"400\" height = \"225\" align=\"center\" \/><br \/>\n&nbsp;<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fPython\u521b\u5efaGUI\u7a0b\u5e8f\u5e76\u6253\u5305\u4e3aexe\u6587\u4ef6\u7684\u5b8c\u6574\u8fc7\u7a0b\uff0c\u5982\u679c\u6709\u7591\u95ee\uff0c\u6b22\u8fce\u7559\u8a00\u4ea4\u6d41\uff0c\u6211\u770b\u5230\u540e\u4f1a\u53ca\u65f6\u56de\u590d\u3002<br \/>\n&nbsp;<\/p>\n<hr \/>\n<p><font color=\"#8497B0\">\u539f\u521b\u6587\u7ae0\uff0c\u8f6c\u8f7d\u8bf7\u52a1\u5fc5\u6ce8\u660e\u51fa\u5904\u5e76\u7559\u4e0b\u539f\u6587\u94fe\u63a5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u65e5\u5e38\u5de5\u4f5c\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u4f1a\u7528Python\u5f00\u53d1\u4e00\u4e9b\u7b80\u5355\u8f7b\u4fbf\u7684\u7a0b\u5e8f\u6765\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\uff0c\u4f46Python\u4ee3\u7801\u53ea\u80fd\u5728\u5b89&hellip; <a href=\"https:\/\/www.dataisfun.cn\/?p=1381\" class=\"more-link read-more\" rel=\"bookmark\">\u7ee7\u7eed\u9605\u8bfb <span class=\"screen-reader-text\">Python\u521b\u5efaGUI\u7a0b\u5e8f\u5e76\u6253\u5305\u4e3aexe\u6587\u4ef6<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[28],"class_list":["post-1381","post","type-post","status-publish","format-standard","hentry","category-python","tag-python","h-entry","h-as-article"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.11 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python\u521b\u5efaGUI\u7a0b\u5e8f\u5e76\u6253\u5305\u4e3aexe\u6587\u4ef6 - \u6570\u636e\u597d\u73a9<\/title>\n<meta name=\"description\" content=\"\u65e5\u5e38\u5de5\u4f5c\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u4f1a\u7528Python\u5f00\u53d1\u4e00\u4e9b\u7b80\u5355\u8f7b\u4fbf\u7684\u7a0b\u5e8f\u6765\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\uff0c\u4f46Python\u4ee3\u7801\u53ea\u80fd\u5728\u5b89\u88c5\u4e86Python\u73af\u5883\u7684\u7535\u8111\u4e0a\u8fd0\u884c\uff0c\u5982\u679c\u5176\u4ed6\u5c0f\u4f19\u4f34\u6ca1\u6709\u5b89\u88c5Python\uff0c\u90a3\u5c31\u65e0\u6cd5\u4f7f\u7528\u6211\u4eec\u5f00\u53d1\u7684\u7a0b\u5e8f\u4e86\u3002\u672c\u6587\u5c31\u4ee5\u5b9e\u4f8b\u603b\u7ed3\u4e0b Python\u521b\u5efaGUI\u7a0b\u5e8f\u5e76\u6253\u5305\u4e3aexe\u6587\u4ef6 \u7684\u8fc7\u7a0b\uff1a\" \/>\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.dataisfun.cn\/?p=1381\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python\u521b\u5efaGUI\u7a0b\u5e8f\u5e76\u6253\u5305\u4e3aexe\u6587\u4ef6 - \u6570\u636e\u597d\u73a9\" \/>\n<meta property=\"og:description\" content=\"\u65e5\u5e38\u5de5\u4f5c\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u4f1a\u7528Python\u5f00\u53d1\u4e00\u4e9b\u7b80\u5355\u8f7b\u4fbf\u7684\u7a0b\u5e8f\u6765\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\uff0c\u4f46Python\u4ee3\u7801\u53ea\u80fd\u5728\u5b89\u88c5\u4e86Python\u73af\u5883\u7684\u7535\u8111\u4e0a\u8fd0\u884c\uff0c\u5982\u679c\u5176\u4ed6\u5c0f\u4f19\u4f34\u6ca1\u6709\u5b89\u88c5Python\uff0c\u90a3\u5c31\u65e0\u6cd5\u4f7f\u7528\u6211\u4eec\u5f00\u53d1\u7684\u7a0b\u5e8f\u4e86\u3002\u672c\u6587\u5c31\u4ee5\u5b9e\u4f8b\u603b\u7ed3\u4e0b Python\u521b\u5efaGUI\u7a0b\u5e8f\u5e76\u6253\u5305\u4e3aexe\u6587\u4ef6 \u7684\u8fc7\u7a0b\uff1a\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dataisfun.cn\/?p=1381\" \/>\n<meta property=\"og:site_name\" content=\"\u6570\u636e\u597d\u73a9\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-02T12:16:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sheng-storage.oss-cn-shanghai.aliyuncs.com\/img\/EasyConcat.png\" \/>\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.dataisfun.cn\/?p=1381\",\"url\":\"https:\/\/www.dataisfun.cn\/?p=1381\",\"name\":\"Python\u521b\u5efaGUI\u7a0b\u5e8f\u5e76\u6253\u5305\u4e3aexe\u6587\u4ef6 - \u6570\u636e\u597d\u73a9\",\"isPartOf\":{\"@id\":\"https:\/\/www.dataisfun.cn\/#website\"},\"datePublished\":\"2023-01-02T12:16:06+00:00\",\"dateModified\":\"2023-01-02T12:16:06+00:00\",\"author\":{\"@id\":\"https:\/\/www.dataisfun.cn\/#\/schema\/person\/026bc03694bbf1608ccc639fb31c3293\"},\"description\":\"\u65e5\u5e38\u5de5\u4f5c\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u4f1a\u7528Python\u5f00\u53d1\u4e00\u4e9b\u7b80\u5355\u8f7b\u4fbf\u7684\u7a0b\u5e8f\u6765\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\uff0c\u4f46Python\u4ee3\u7801\u53ea\u80fd\u5728\u5b89\u88c5\u4e86Python\u73af\u5883\u7684\u7535\u8111\u4e0a\u8fd0\u884c\uff0c\u5982\u679c\u5176\u4ed6\u5c0f\u4f19\u4f34\u6ca1\u6709\u5b89\u88c5Python\uff0c\u90a3\u5c31\u65e0\u6cd5\u4f7f\u7528\u6211\u4eec\u5f00\u53d1\u7684\u7a0b\u5e8f\u4e86\u3002\u672c\u6587\u5c31\u4ee5\u5b9e\u4f8b\u603b\u7ed3\u4e0b Python\u521b\u5efaGUI\u7a0b\u5e8f\u5e76\u6253\u5305\u4e3aexe\u6587\u4ef6 \u7684\u8fc7\u7a0b\uff1a\",\"breadcrumb\":{\"@id\":\"https:\/\/www.dataisfun.cn\/?p=1381#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dataisfun.cn\/?p=1381\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dataisfun.cn\/?p=1381#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.dataisfun.cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\u521b\u5efaGUI\u7a0b\u5e8f\u5e76\u6253\u5305\u4e3aexe\u6587\u4ef6\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dataisfun.cn\/#website\",\"url\":\"https:\/\/www.dataisfun.cn\/\",\"name\":\"\u6570\u636e\u597d\u73a9\",\"description\":\"\u6570\u4e2d\u81ea\u6709\u4e7e\u5764\uff0c\u4e8e\u4e50\u8da3\u4e2d\u53d1\u73b0\u4ef7\u503c\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dataisfun.cn\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dataisfun.cn\/#\/schema\/person\/026bc03694bbf1608ccc639fb31c3293\",\"name\":\"admin\",\"sameAs\":[\"http:\/\/www.dataisfun.cn\"],\"url\":\"https:\/\/www.dataisfun.cn\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python\u521b\u5efaGUI\u7a0b\u5e8f\u5e76\u6253\u5305\u4e3aexe\u6587\u4ef6 - \u6570\u636e\u597d\u73a9","description":"\u65e5\u5e38\u5de5\u4f5c\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u4f1a\u7528Python\u5f00\u53d1\u4e00\u4e9b\u7b80\u5355\u8f7b\u4fbf\u7684\u7a0b\u5e8f\u6765\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\uff0c\u4f46Python\u4ee3\u7801\u53ea\u80fd\u5728\u5b89\u88c5\u4e86Python\u73af\u5883\u7684\u7535\u8111\u4e0a\u8fd0\u884c\uff0c\u5982\u679c\u5176\u4ed6\u5c0f\u4f19\u4f34\u6ca1\u6709\u5b89\u88c5Python\uff0c\u90a3\u5c31\u65e0\u6cd5\u4f7f\u7528\u6211\u4eec\u5f00\u53d1\u7684\u7a0b\u5e8f\u4e86\u3002\u672c\u6587\u5c31\u4ee5\u5b9e\u4f8b\u603b\u7ed3\u4e0b Python\u521b\u5efaGUI\u7a0b\u5e8f\u5e76\u6253\u5305\u4e3aexe\u6587\u4ef6 \u7684\u8fc7\u7a0b\uff1a","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.dataisfun.cn\/?p=1381","og_locale":"zh_CN","og_type":"article","og_title":"Python\u521b\u5efaGUI\u7a0b\u5e8f\u5e76\u6253\u5305\u4e3aexe\u6587\u4ef6 - \u6570\u636e\u597d\u73a9","og_description":"\u65e5\u5e38\u5de5\u4f5c\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u4f1a\u7528Python\u5f00\u53d1\u4e00\u4e9b\u7b80\u5355\u8f7b\u4fbf\u7684\u7a0b\u5e8f\u6765\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\uff0c\u4f46Python\u4ee3\u7801\u53ea\u80fd\u5728\u5b89\u88c5\u4e86Python\u73af\u5883\u7684\u7535\u8111\u4e0a\u8fd0\u884c\uff0c\u5982\u679c\u5176\u4ed6\u5c0f\u4f19\u4f34\u6ca1\u6709\u5b89\u88c5Python\uff0c\u90a3\u5c31\u65e0\u6cd5\u4f7f\u7528\u6211\u4eec\u5f00\u53d1\u7684\u7a0b\u5e8f\u4e86\u3002\u672c\u6587\u5c31\u4ee5\u5b9e\u4f8b\u603b\u7ed3\u4e0b Python\u521b\u5efaGUI\u7a0b\u5e8f\u5e76\u6253\u5305\u4e3aexe\u6587\u4ef6 \u7684\u8fc7\u7a0b\uff1a","og_url":"https:\/\/www.dataisfun.cn\/?p=1381","og_site_name":"\u6570\u636e\u597d\u73a9","article_published_time":"2023-01-02T12:16:06+00:00","og_image":[{"url":"https:\/\/sheng-storage.oss-cn-shanghai.aliyuncs.com\/img\/EasyConcat.png"}],"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.dataisfun.cn\/?p=1381","url":"https:\/\/www.dataisfun.cn\/?p=1381","name":"Python\u521b\u5efaGUI\u7a0b\u5e8f\u5e76\u6253\u5305\u4e3aexe\u6587\u4ef6 - \u6570\u636e\u597d\u73a9","isPartOf":{"@id":"https:\/\/www.dataisfun.cn\/#website"},"datePublished":"2023-01-02T12:16:06+00:00","dateModified":"2023-01-02T12:16:06+00:00","author":{"@id":"https:\/\/www.dataisfun.cn\/#\/schema\/person\/026bc03694bbf1608ccc639fb31c3293"},"description":"\u65e5\u5e38\u5de5\u4f5c\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u4f1a\u7528Python\u5f00\u53d1\u4e00\u4e9b\u7b80\u5355\u8f7b\u4fbf\u7684\u7a0b\u5e8f\u6765\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\uff0c\u4f46Python\u4ee3\u7801\u53ea\u80fd\u5728\u5b89\u88c5\u4e86Python\u73af\u5883\u7684\u7535\u8111\u4e0a\u8fd0\u884c\uff0c\u5982\u679c\u5176\u4ed6\u5c0f\u4f19\u4f34\u6ca1\u6709\u5b89\u88c5Python\uff0c\u90a3\u5c31\u65e0\u6cd5\u4f7f\u7528\u6211\u4eec\u5f00\u53d1\u7684\u7a0b\u5e8f\u4e86\u3002\u672c\u6587\u5c31\u4ee5\u5b9e\u4f8b\u603b\u7ed3\u4e0b Python\u521b\u5efaGUI\u7a0b\u5e8f\u5e76\u6253\u5305\u4e3aexe\u6587\u4ef6 \u7684\u8fc7\u7a0b\uff1a","breadcrumb":{"@id":"https:\/\/www.dataisfun.cn\/?p=1381#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dataisfun.cn\/?p=1381"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dataisfun.cn\/?p=1381#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.dataisfun.cn\/"},{"@type":"ListItem","position":2,"name":"Python\u521b\u5efaGUI\u7a0b\u5e8f\u5e76\u6253\u5305\u4e3aexe\u6587\u4ef6"}]},{"@type":"WebSite","@id":"https:\/\/www.dataisfun.cn\/#website","url":"https:\/\/www.dataisfun.cn\/","name":"\u6570\u636e\u597d\u73a9","description":"\u6570\u4e2d\u81ea\u6709\u4e7e\u5764\uff0c\u4e8e\u4e50\u8da3\u4e2d\u53d1\u73b0\u4ef7\u503c","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dataisfun.cn\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.dataisfun.cn\/#\/schema\/person\/026bc03694bbf1608ccc639fb31c3293","name":"admin","sameAs":["http:\/\/www.dataisfun.cn"],"url":"https:\/\/www.dataisfun.cn\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=\/wp\/v2\/posts\/1381","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1381"}],"version-history":[{"count":17,"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=\/wp\/v2\/posts\/1381\/revisions"}],"predecessor-version":[{"id":1398,"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=\/wp\/v2\/posts\/1381\/revisions\/1398"}],"wp:attachment":[{"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1381"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1381"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}