﻿{"id":7854,"date":"2021-05-19T08:37:01","date_gmt":"2021-05-19T00:37:01","guid":{"rendered":"https:\/\/www.linuxmi.com\/?p=7854"},"modified":"2021-05-19T08:37:01","modified_gmt":"2021-05-19T00:37:01","slug":"pyzo-python-ide","status":"publish","type":"post","link":"https:\/\/www.linuxmi.com\/pyzo-python-ide.html","title":{"rendered":"Pyzo \u2013 \u9002\u7528\u4e8e\u79d1\u5b66Python\u7684\u4ea4\u4e92\u5f0f\u7f16\u8f91\u5668"},"content":{"rendered":"<p>Pyzo\u662f\u4e00\u4e2a\u514d\u8d39\u7684\u3001\u5f00\u6e90\u7684\u3001\u8de8\u5e73\u53f0\u7684Python IDE\uff0c\u5b83\u4e13\u6ce8\u4e8e\u5185\u7701(Introspection)\u548c\u4ea4\u4e92\uff0c\u8fd9\u5c31\u662f\u4e3a\u4ec0\u4e48\u5b83\u975e\u5e38\u9002\u5408\u79d1\u5b66\u8ba1\u7b97\u3002\u5176\u53ef\u884c\u6027\u8bbe\u8ba1\u4ee5\u7b80\u6d01\u548c\u9ad8\u6548\u4e3a\u76ee\u6807\uff0c\u7531Shell\u548c\u7f16\u8f91\u5668\u4e24\u90e8\u5206\u7ec4\u6210\u3002<\/p>\n<p>\u5185\u7701(Introspection)\u53ef\u4ee5\u8bf4\u662fPython\u4e2d\u7684\u9ed1\u79d1\u6280\u3002\u5bf9\u4e8e\u7f16\u7a0b\u8bed\u8a00\u6765\u8bf4\uff0c\u662f\u975e\u5e38\u91cd\u8981\u7684\u7279\u6027\uff0c\u5bf9Python\u540c\u6837\u5982\u6b64\u3002\u5982\u679c\u7075\u6d3b\u8fd0\u8425\uff0c\u53ef\u4ee5\u5927\u5927\u63d0\u9ad8\u6211\u4eec\u5bf9\u4ee3\u7801\u7684\u638c\u63a7\u80fd\u529b\u3002<\/p>\n<p><em>\u5185\u7701\uff0c\u6709\u65f6\u4e5f\u53eb\u7c7b\u578b\u5185\u7701\uff0c\u662f\u5728\u8fd0\u884c\u65f6\u8fdb\u884c\u7684\u4e00\u79cd\u5bf9\u8c61\u68c0\u6d4b\u673a\u5236\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u5185\u7701\u6765\u83b7\u53d6\u4e00\u4e2a\u5bf9\u8c61\u7684\u6240\u6709\u4fe1\u606f\uff0c\u6bd4\u5982\u8fd9\u4e2a\u5bf9\u8c61\u7684\u7c7b\u578b\uff0c\u5176\u4e2d\u5305\u542b\u54ea\u4e9b\u5c5e\u6027\u7b49\u7b49\u3002<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7861\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/05\/ubuntu-20.04.2-2021-05-18-12-32-46.png\" alt=\"\" width=\"3840\" height=\"2400\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7862\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/05\/ubuntu-20.04.2-2021-05-18-12-37-02.png\" alt=\"\" width=\"1920\" height=\"1200\" \/><\/p>\n<p>\u5b83\u4f7f\u7528\u4e00\u7ec4\u53ef\u63d2\u5165\u7684\u5de5\u5177\uff0c\u4ee5\u591a\u79cd\u65b9\u5f0f\u5e2e\u52a9\u7a0b\u5e8f\u5458\u3002\u8fd9\u4e9b\u53ef\u63d2\u5165\u7684\u5de5\u5177\u5305\u62ec\u9879\u76ee\u7ba1\u7406\u3001\u5de5\u4f5c\u7a7a\u95f4\u3001\u6e90\u4ee3\u7801\u7ed3\u6784\u548c\u4ea4\u4e92\u5f0f\u5e2e\u52a9\u3002\u6b64\u5916\uff0cPyzo\u5b8c\u5168\u662f\u7528Python 3\u7f16\u5199\u7684\uff0c\u5e76\u4f7f\u7528Qt GUI\u5de5\u5177\u5305\u3002<\/p>\n<p><a href=\"https:\/\/pyzo.org\/about_pyzo.html\" target=\"_blank\" rel=\"nofollow noopener\">Pyzo<\/a>\u7684\u4f7f\u547d\u662f\u901a\u8fc7\u4f7f\u7528\u6700\u6d41\u884c\u7684Python\u7f16\u7a0b\u8bed\u8a00\u4e3a\u4eba\u4eec\u63d0\u4f9b\u76f4\u63a5\u8bbf\u95ee\u4ee5\u6570\u636e\u4e3a\u4e2d\u5fc3\u7684\u7f16\u7a0b\u7684\u5de5\u5177\u548c\u6280\u80fd\u7684\u80fd\u529b\uff0c\u8be5\u8bed\u8a00\u975e\u5e38\u9002\u5408\u5404\u79cd\u5404\u6837\u7684\u4efb\u52a1\u3002 Python\u5728\u5b66\u4e60\uff0c\u79d1\u5b66\u548c\u6570\u636e\u5206\u6790\u4ee5\u53ca\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u65b9\u9762\u975e\u5e38\u51fa\u8272\u3002<\/p>\n<p><strong>Pyzo\u529f\u80fd<\/strong><\/p>\n<p>Pyzo IDE\u7684\u529f\u80fd\u5217\u8868\uff1a<\/p>\n<ul>\n<li>\u5141\u8bb8\u591a\u79cd\u65b9\u5f0f\u4ee5\u4ea4\u4e92\u65b9\u5f0f\u8fd0\u884c\u4ee3\u7801\u3002<\/li>\n<li>\u51e0\u79cd\u65b9\u4fbf\u7684\u5de5\u5177\u4ee5\u53ca\u521b\u5efa\u81ea\u5df1\u5de5\u5177\u7684\u6f5c\u529b\u3002<\/li>\n<li>\u7f16\u8f91\u5668\u548c\u5916\u58f3\u7a0b\u5e8f\u5747\u63d0\u4f9b\u5168\u9762\u7684Unicode\u652f\u6301\u3002<\/li>\n<li>\u5728\u4e0d\u540c\u7684Qt\u4e3b\u9898\u4e4b\u95f4\u9009\u62e9\u3002<\/li>\n<li>\u5404\u79cdshell\u53ef\u4ee5\u4e0ePython\u7248\u672c\u540c\u65f6\u4f7f\u7528\u3002<\/li>\n<li>\u652f\u6301\u4ea4\u4e92\u4f7f\u7528\u5404\u79cd\u56fe\u5f62\u5de5\u5177\u5305\uff1aPySide\uff0cPyQt4\uff0cTk\uff0cwx\uff0cfltk\uff0cGTK\u3002<\/li>\n<li>\u652f\u6301Python\uff0cCython\uff0cC\u7b49\u8bed\u6cd5\u7a81\u51fa\u663e\u793a\u3002<\/li>\n<li>todo\uff1a\u8bed\u6cd5\u65b9\u6848\u7b80\u5355\u53ef\u7f16\u8f91\u548c\u53ef\u6269\u5c55\u3002<\/li>\n<li>\u67e5\u627e\u5e76\u66ff\u6362\u4e3a\u6b63\u5219\u8868\u8fbe\u5f0f\u652f\u6301\u3002<\/li>\n<li>\u652f\u6301\u7c7b\u4f3c\u4e8eIPython\u7684\u9b54\u672f\u547d\u4ee4\u3002<\/li>\n<li>\u53ef\u4ee5\u9009\u62e9\uff0c\u590d\u5236\u5e76\u7c98\u8d34Shell\u7a0b\u5e8f\u4e2d\u7684\u6587\u672c\uff0c\u5e76\u5c06\u5176\u7c98\u8d34\u5230\u547d\u4ee4\u884c\u4e2d\u3002<\/li>\n<li>\u652f\u6301\u5728\u9000\u683cchar\u7684\u5e2e\u52a9\u4e0b\u5220\u9664\u8f83\u65e9\u7684\u6253\u5370\u6587\u672c\u3002<\/li>\n<li>\u4f7f\u7528\u201cpip\u201d\u6216\u201cconda\u201d\u547d\u4ee4\u7ba1\u7406\u60a8\u7684\u5305\u3002<\/li>\n<li>\u652f\u6301\u81ea\u52a8\u7f29\u8fdb\u3002<\/li>\n<li>\u652f\u6301\u6ce8\u91ca\u548c\u53d6\u6d88\u6ce8\u91ca\u9009\u5b9a\u7684\u884c\u3002<\/li>\n<li>\u6587\u4ef6\u6d4f\u89c8\u5668\uff1a\u6d4f\u89c8\u6587\u4ef6\u5e76\u641c\u7d22\u6587\u4ef6\u5185\u90e8\u3002<\/li>\n<li>\uff08\u53ef\u9009\uff09\u4f7f\u7528\u9009\u9879\u5361\uff0c\u6216\u5c06\u9009\u9879\u5361\u63d2\u5165\u4e3a\u7a7a\u683c\u3002<\/li>\n<li>\u652f\u6301\u81ea\u52a8\u8865\u5168\u5f53\u524d\u6587\u4ef6\u4e2d\u6dfb\u52a0\u7684\u7c7b\uff0c\u51fd\u6570\u548c\u7c7b\u5c5e\u6027\u3002<\/li>\n<\/ul>\n<p><strong>\u5728Linux\u4e2d\u5b89\u88c5Pyzo Python IDE<\/strong><\/p>\n<p>Pyzo\u5728Python 3.5\u4e0a\u8fd0\u884c\uff0c\u5e76\u4e14\u9700\u8981PySide2\u6216PyQt5\u4f9d\u8d56\u5173\u7cfb\uff0c\u5e76\u4e14\u53ef\u4ee5\u4f7f\u7528\u6240\u793a\u9ed8\u8ba4\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668\u5c06\u8fd9\u4e9b\u8f6f\u4ef6\u5305\u8f7b\u677e\u5b89\u88c5\u5728\u5927\u591a\u6570\u73b0\u4ee3Linux\u53d1\u884c\u7248\u4e0a\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ <span style=\"color: #ff0000;\">sudo apt install python3-pip python3-pyqt5<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7858\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/05\/2021-05-18-09-06-07\u5c4f\u5e55\u622a\u56fe.png\" alt=\"\" width=\"800\" height=\"433\" \/><\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ <span style=\"color: #ff0000;\">sudo dnf install python3-pip python3-pyqt5<\/span><\/p>\n<p>\u5728\u5b89\u88c5\u4f9d\u8d56\u540e\uff0c\u5c31\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5\u5b89\u88c5Pyzo\uff1a<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ <span style=\"color: #ff0000;\">sudo python3 -m pip install pyzo &#8211;upgrade<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7859\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/05\/2021-05-18-09-07-07\u5c4f\u5e55\u622a\u56fe.png\" alt=\"\" width=\"800\" height=\"286\" \/><\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ <span style=\"color: #ff0000;\">pyzo<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7860\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/05\/ubuntu-20.04.2-2021-05-18-12-31-52.png\" alt=\"\" width=\"3840\" height=\"2400\" \/><\/p>\n<p>Pyzo\u4e5f\u53ef\u4f5c\u4e3aFlatpak\u5305\u63d0\u4f9b:<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ <span style=\"color: #ff0000;\">flatpak install flathub org.pyzo.pyzo<\/span><\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ <span style=\"color: #ff0000;\">flatpak run org.pyzo.pyzo<\/span><\/p>\n<p>Pyzo Python IDE\u9644\u5e26\u4e86\u8bb8\u591a\u652f\u6301\u52a8\u6001\u7f16\u8f91\uff0c\u4ea4\u4e92\u548c\u6807\u51c6\u5de5\u5177\u7684\u529f\u80fd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pyzo\u662f\u4e00\u4e2a\u514d\u8d39\u7684\u3001\u5f00\u6e90\u7684\u3001\u8de8\u5e73\u53f0\u7684Python IDE\uff0c\u5b83\u4e13\u6ce8\u4e8e\u5185\u7701(Introspection &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4,2],"tags":[44,704],"class_list":["post-7854","post","type-post","status-publish","format-standard","hentry","category-python","category-zixun","tag-python","tag-pyzo"],"aioseo_notices":[],"views":2819,"_links":{"self":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/7854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/comments?post=7854"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/7854\/revisions"}],"predecessor-version":[{"id":7864,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/7854\/revisions\/7864"}],"wp:attachment":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/media?parent=7854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/categories?post=7854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/tags?post=7854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}