{"id":260953,"date":"2023-02-04T09:17:48","date_gmt":"2023-02-04T01:17:48","guid":{"rendered":"https:\/\/gulass.cn\/?p=260953"},"modified":"2023-01-07T17:19:00","modified_gmt":"2023-01-07T09:19:00","slug":"python-based-file-management","status":"publish","type":"post","link":"https:\/\/gulass.cn\/python-based-file-management.html","title":{"rendered":"\u57fa\u4e8ePython\u7684\u6587\u4ef6\u7ba1\u7406"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nDragonfly Navigator \u662f\u7528 Python \u548c Qt \u7f16\u5199\u7684\u901a\u7528\u6587\u4ef6\u7ba1\u7406\u5668\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

Dragonfly Navigator \u662f\u7528 Python \u548c Qt \u7f16\u5199\u7684\u901a\u7528\u6587\u4ef6\u7ba1\u7406\u5668\u3002\u5b83\u6613\u4e8e\u5b89\u88c5\u548c\u4f7f\u7528\uff0c\u5e76\u4e14\u662f Python \u53ef\u4ee5\u505a\u4ec0\u4e48\u7684\u4e00\u4e2a\u5f88\u597d\u7684\u4f8b\u5b50\u3002<\/p>\n

Python \u662f\u4e00\u79cd\u6d41\u884c\u7684\u8bed\u8a00\u6709\u51e0\u4e2a\u539f\u56e0\uff0c\u4f46\u6211\u8ba4\u4e3a\u5b83\u7684\u4e3b\u8981\u4f18\u52bf\u4e4b\u4e00\u662f\u5b83\u5bf9\u521d\u7ea7\u7a0b\u5e8f\u5458\u548c\u6709\u7ecf\u9a8c\u7684\u7f16\u7801\u4eba\u5458\u540c\u6837\u6709\u7528\u3002\u4f60\u53ef\u4ee5\u4ece\u4e00\u95e8\u8bed\u8a00\u4e2d\u83b7\u5f97\u4e00\u4e9b\u4ee4\u4eba\u5174\u594b\u7684\u4e1c\u897f\uff0c\u4ece \u200b\u200b\u7ed8\u5236\u57fa\u672c\u51e0\u4f55\u5f62\u72b6\u200b\u200b \u5230 \u200b\u200b\u6293\u53d6\u7f51\u9875\u200b\u200b \u518d\u5230\u7f16\u5199\u50f5\u5c38\u542f\u793a\u5f55 \u200b\u200b\u6e38\u620f\u200b\u200b\uff0c\u6216\u8005\u7f16\u5199\u4f60\u6bcf\u5929\u90fd\u53ef\u4ee5\u4f7f\u7528\u7684\u684c\u9762\u5e94\u7528\u3002\u8fd9\u5c31\u662f Dragonfly Navigator\uff1a\u4e00\u4e2a\u4eba\u4eba\u90fd\u53ef\u4ee5\u4f7f\u7528\u7684\u684c\u9762\u7a0b\u5e8f\u3002<\/p>\n

\u5b89\u88c5 Dragonfly Navigator<\/strong><\/div>\n

\u8981\u5b89\u88c5 Dragonfly Navigator\uff0c\u9996\u5148\u4ece \u200b\u200bGit \u4ed3\u5e93\u200b\u200b \u4e0b\u8f7d\u6e90\u4ee3\u7801\u3002\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662f Debian Linux \u6216\u7c7b\u4f3c\u8f6f\u4ef6\uff0c\u8bf7\u4e0b\u8f7d \u200b\u200b.deb\u200b\u200b \u6587\u4ef6\u3002\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662f Fedora\u3001CentOS\u3001Mageia\u3001OpenMandriva \u6216\u7c7b\u4f3c\u8f6f\u4ef6\uff0c\u8bf7\u4e0b\u8f7d \u200b\u200b.tar.gz\u200b\u200b \u6587\u4ef6\u3002<\/p>\n

Dragonfly Navigator \u53ea\u6709\u5f88\u5c11\u7684\u4f9d\u8d56\u3002\u56e0\u4e3a\u4f60\u4e0d\u662f\u901a\u8fc7\u5305\u7ba1\u7406\u5668\u5b89\u88c5\u5b83\uff0c\u6240\u4ee5\u7531\u4f60\u6765\u89e3\u51b3\u8fd9\u4e9b\u95ee\u9898\u3002\u5b83\u53ea\u6709\u4e24\u4e2a\u4f9d\u8d56\uff0c\u6240\u4ee5\u4f7f\u7528\u4f60\u7684\u5305\u7ba1\u7406\u5668\uff08\u200b\u200bdnf\u200b\u200b \u6216 \u200b\u200bapt\u200b\u200b\uff09\u627e\u5230\u5e76\u5b89\u88c5\u5b83\u4eec\uff1a<\/p>\n

    PyQt5\uff0c\u4e5f\u79f0\u4e3a\u200b\u200bpython-qt5\u200b\u200b<\/ol>\n
      Python PIL\uff0c\u4e5f\u79f0\u4e3a\u200b\u200bpillow<\/ol>\n
      \u542f\u52a8 Dragonfly Navigator<\/strong><\/div>\n

      \u8981\u542f\u52a8 Dragonfly Navigator\uff0c\u8bf7\u5b89\u88c5 \u200b\u200b.deb\u200b\u200b \u6587\u4ef6\uff08\u5728\u57fa\u4e8e Debian \u7684\u7cfb\u7edf\u4e0a\uff09\u6216\u89e3\u538b\u7f29 \u200b\u200b.tar.gz\u200b\u200b \u6587\u4ef6\uff1a<\/p>\n

      \r\n$ tar xvf dragonfly*gz\r\n<\/pre>\n

      \u5728\u57fa\u4e8e Debian \u7684\u7cfb\u7edf\u4e0a\uff0cDragonfly Navigator \u51fa\u73b0\u5728\u4f60\u7684\u5e94\u7528\u83dc\u5355\u4e2d\u3002\u5728\u5176\u4ed6\u7cfb\u7edf\u4e0a\uff0c\u4f60\u5fc5\u987b\u624b\u52a8\u542f\u52a8\u5b83\uff0c\u9664\u975e\u4f60 \u200b\u200b\u624b\u52a8\u5b89\u88c5\u200b\u200b\u3002<\/p>\n

      \u73b0\u5728\uff0c\u6211\u6ca1\u6709\u5b89\u88c5\u5b83\uff0c\u6240\u4ee5\u6211\u624b\u52a8\u542f\u52a8\u5b83\uff1a<\/p>\n

      \r\n$ cd dragonfly$ .\/dragonfly\r\n<\/pre>\n

      \"\"<\/p>\n

      \u53cc\u9762\u677f<\/strong><\/span><\/div>\n

      Dragonfly Navigator \u662f\u4e00\u4e2a\u53cc\u9762\u677f\u6587\u4ef6\u7ba1\u7406\u5668\uff0c\u8fd9\u610f\u5473\u7740\u5b83\u603b\u662f\u5411\u4f60\u663e\u793a\u4e24\u4e2a\u76ee\u5f55\u3002\u5728\u542f\u52a8\u65f6\uff0c\u8fd9\u4e24\u4e2a\u76ee\u5f55\u6070\u597d\u662f\u4f60\u7684\u4e3b\u76ee\u5f55\u3002\u4f60\u53ef\u4ee5\u5728\u4efb\u4e00\u9762\u677f\u4e2d\u6d4f\u89c8\u6587\u4ef6\u548c\u6587\u4ef6\u5939\u3002\u5b83\u4eec\u7684\u529f\u80fd\u5b8c\u5168\u76f8\u540c\uff0c\u53ea\u6709\u5f53\u4f60\u5f00\u59cb\u590d\u5236\u6216\u79fb\u52a8\u6587\u4ef6\u65f6\u4f60\u201c\u4f4d\u4e8e\u201d\u54ea\u4e2a\u9762\u677f\u4e2d\u624d\u91cd\u8981\u3002<\/p>\n

      \u6253\u5f00\u76ee\u5f55<\/strong><\/span><\/div>\n

      \u8981\u6253\u5f00\u76ee\u5f55\uff0c\u8bf7\u53cc\u51fb\u5b83\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u8be5\u76ee\u5f55\u5728\u540c\u4e00\u9762\u677f\u4e2d\u6253\u5f00\u3002\u4f46\u662f\uff0c\u5982\u679c\u4f60\u60f3\u4f7f\u7528\u53cc\u9762\u677f\u5e03\u5c40\uff0c\u8bf7\u5728\u53cc\u51fb\u65f6\u6309\u4f4f \u200b\u200bCtrl\u200b\u200b \u952e\u4ee5\u5728\u53e6\u4e00\u4e2a\u9762\u677f\u4e2d\u663e\u793a\u5176\u5185\u5bb9\u3002<\/p>\n

      \u6253\u5f00\u6587\u4ef6<\/strong><\/span><\/div>\n

      \u8981\u6253\u5f00\u6587\u4ef6\uff0c\u8bf7\u53cc\u51fb\u6216\u53f3\u952e\u5355\u51fb\u5b83\u3002<\/p>\n

      \u662f\u7684\uff0c\u4f60\u53ef\u4ee5\u53f3\u952e\u5355\u51fb\u6587\u4ef6\u5c06\u5176\u6253\u5f00\u3002\u5982\u679c\u4f60\u4e60\u60ef\u4e8e\u53f3\u952e\u5355\u51fb\u8c03\u51fa\u4e0a\u4e0b\u6587\u83dc\u5355\uff0c\u90a3\u4e48\u8fd9\u9700\u8981\u4e00\u4e9b\u65f6\u95f4\u6765\u9002\u5e94\u3002\u4e0d\u8fc7\uff0cDragonfly Navigator \u4e2d\u6ca1\u6709\u4e0a\u4e0b\u6587\u83dc\u5355\uff0c\u4f60\u53ef\u80fd\u4f1a\u60ca\u8bb6\u5730\u53d1\u73b0\uff0c\u5f53\u4f60\u5c06\u6253\u5f00\u6587\u4ef6\u8fd9\u4e00\u975e\u5e38\u5e38\u89c1\u7684\u64cd\u4f5c\u51cf\u5c11\u5230\u53ea\u9700\u5355\u51fb\u4e00\u6b21\u65f6\uff0c\u4f60\u4f1a\u89c9\u5f97\u81ea\u5df1\u8282\u7701\u4e86\u591a\u5c11\u65f6\u95f4\u3002\u73b0\u5728\u53ef\u80fd\u770b\u8d77\u6765\u5f88\u50bb\uff0c\u4f46\u76f8\u4fe1\u6211\uff0c\u4f60\u4f1a\u9010\u6e10\u73cd\u60dc\u5b83\u7684\u3002<\/p>\n

      \u5feb\u901f\u9884\u89c8<\/strong><\/span><\/div>\n

      \u67d0\u4e9b\u6587\u4ef6\u53ef\u7528\u4e8e\u5feb\u901f\u9884\u89c8\uff0c\u56e0\u6b64\u4f60\u4e0d\u5fc5\u5728\u67d0\u4e2a\u7279\u5b9a\u5e94\u7528\u4e2d\u6253\u5f00\u5b83\u4eec\u3002\u8981\u9884\u89c8\u6587\u4ef6\uff0c\u8bf7\u5c06\u9f20\u6807\u60ac\u505c\u5728\u6587\u4ef6\u4e0a\uff0c\u7136\u540e\u6309\u952e\u76d8\u4e0a\u7684 \u200b\u200bAlt\u200b\u200b \u952e\u3002\u9884\u89c8\u51fa\u73b0\u5728\u5bf9\u9762\u7684\u9762\u677f\u4e2d\u3002<\/p>\n

      \"\"<\/p>\n

      \u590d\u5236\u548c\u79fb\u52a8\u6587\u4ef6<\/strong><\/span><\/div>\n

      \u8981\u5c06\u6587\u4ef6\u4ece\u4e00\u4e2a\u76ee\u5f55\u590d\u5236\u6216\u79fb\u52a8\u5230\u53e6\u4e00\u4e2a\u76ee\u5f55\uff08\u6216\u4ece\u4e00\u4e2a\u76ee\u5f55\u5230\u53e6\u4e00\u4e2a\u76ee\u5f55\uff09\uff0c\u6709\u51e0\u4e2a\u6b65\u9aa4\u3002<\/p>\n

        \u5728\u4e00\u4e2a\u9762\u677f\u4e2d\uff0c\u8fdb\u5165\u76ee\u6807\u76ee\u5f55\u3002\u8fd9\u662f\u4f60\u8981\u5c06\u6587\u4ef6\u590d\u5236\u5230\u7684\u4f4d\u7f6e\u3002<\/ol>\n
          \u5728\u53e6\u4e00\u4e2a\u9762\u677f\u4e2d\uff0c\u9009\u62e9\u8981\u590d\u5236\u7684\u6587\u4ef6\u3002<\/ol>\n
            \u5355\u51fb Dragonfly Navigator \u4e2d\u95f4\u6761\u4e2d\u7684 \u201c\u590d\u5236Copy\u201d \u6309\u94ae\u3002<\/ol>\n

            \u8981\u79fb\u52a8\u6587\u4ef6\uff0c\u8bf7\u6309\u7167\u76f8\u540c\u7684\u6b65\u9aa4\u64cd\u4f5c\uff0c\u4f46\u8981\u5355\u51fb \u201c\u79fb\u52a8Move\u201d \u6309\u94ae\u3002<\/p>\n

            \u5982\u679c\u4f60\u4e0d\u4e60\u60ef\u53cc\u9762\u677f\u6587\u4ef6\u7ba1\u7406\u5668\uff0c\u4e00\u5f00\u59cb\u4f1a\u89c9\u5f97\u5f88\u964c\u751f\u3002\u4f46\u662f\u4f60\u4ed4\u7ec6\u60f3\u60f3\uff0c\u5728\u4f60\u5e38\u7528\u7684\u6587\u4ef6\u7ba1\u7406\u5668\u4e2d\u590d\u5236\u4e00\u4e2a\u6587\u4ef6\u9700\u8981\u51e0\u4e2a\u6b65\u9aa4\uff08\u627e\u5230\u6587\u4ef6\uff0c\u6253\u5f00\u53e6\u4e00\u4e2a\u7a97\u53e3\uff0c\u62d6\u653e\u7b49\u7b49\uff09\u3002\u505a\u51e0\u6b21\u4e4b\u540e\uff0c\u5b83\u6210\u4e3a\u7b2c\u4e8c\u5929\u6027\u3002<\/p>\n

            \u9009\u62e9\u6587\u4ef6<\/strong><\/span><\/div>\n

            \u901a\u5e38\uff0c\u4f60\u5355\u51fb\u4e00\u4e2a\u6587\u4ef6\u6216\u6587\u4ef6\u5939\u4ee5\u4f7f\u5176\u6210\u4e3a\u4f60\u7684\u6d3b\u52a8\u9009\u62e9\u3002\u8fd9\u53ef\u80fd\u4e0e\u4f60\u5f53\u524d\u7684\u6587\u4ef6\u7ba1\u7406\u5668\u6ca1\u6709\u4ec0\u4e48\u4e0d\u540c\uff0c\u6216\u8005\u81f3\u5c11\u4e0e\u4f60\u8fc7\u53bb\u4f7f\u7528\u8fc7\u7684\u67d0\u4e9b\u6587\u4ef6\u7ba1\u7406\u5668\u6ca1\u6709\u4ec0\u4e48\u4e0d\u540c\u3002<\/p>\n

            \u8981\u9009\u62e9\u4e00\u4e2a\u8303\u56f4\u5185\u7684\u591a\u4e2a\u9879\u76ee\uff0c\u8bf7\u5355\u51fb\u4e00\u4e2a\u6587\u4ef6\uff0c\u7136\u540e\u6309\u4f4f \u200b\u200bShift\u200b\u200b \u952e\u5e76\u5355\u51fb\u53e6\u4e00\u4e2a\u6587\u4ef6\u3002\u4f60\u5355\u51fb\u7684\u4e24\u4e2a\u6587\u4ef6\u4e4b\u95f4\u7684\u6240\u6709\u9879\u76ee\u4e5f\u88ab\u9009\u4e2d\u3002<\/p>\n

            \u8981\u9009\u62e9\u591a\u4e2a\u4efb\u610f\u6587\u4ef6\uff0c\u8bf7\u6309\u4f4f \u200b\u200bCtrl\u200b\u200b \u952e\u5e76\u5355\u51fb\u8981\u9009\u62e9\u7684\u6587\u4ef6\u3002<\/p>\n

            Qt \u548c Python \u7684\u529b\u91cf<\/strong><\/div>\n

            Qt \u5de5\u5177\u5305\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u7f16\u7a0b\u7a0b\u5e8f\uff0cPython \u80fd\u591f\u7528\u5b83\u521b\u5efa\u51fa\u8272\u7684\u5e94\u7528\u3002\u6211\u5728\u672c\u6587\u4e2d\u53ea\u4ecb\u7ecd\u4e86 Dragonfly Navigator \u7684\u57fa\u7840\u77e5\u8bc6\uff0c\u6240\u4ee5\u8bf7\u4e0b\u8f7d\u5b83\uff0c\u9605\u8bfb\u6587\u6863\uff0c\u70b9\u51fb\u5e76\u63a2\u7d22\u5b83\uff0c\u4e5f\u8bb8\u4f60\u4f1a\u53d1\u73b0\u4e00\u4e2a\u6709\u8da3\u7684\u65b0\u6587\u4ef6\u7ba1\u7406\u5668\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

            Dragonfly Navigator \u662f\u7528 Python \u548c Qt \u7f16\u5199\u7684\u901a\u7528\u6587\u4ef6\u7ba1\u7406\u5668\u3002\u5b83\u6613\u4e8e\u5b89\u88c5\u548c\u4f7f\u7528\uff0c […]<\/p>\n","protected":false},"author":1329,"featured_media":260960,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-260953","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/260953","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/1329"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=260953"}],"version-history":[{"count":2,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/260953\/revisions"}],"predecessor-version":[{"id":260959,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/260953\/revisions\/260959"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media\/260960"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=260953"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=260953"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=260953"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}