{"id":88183,"date":"2020-02-08T05:58:15","date_gmt":"2020-02-07T21:58:15","guid":{"rendered":"http:\/\/4563.org\/?p=88183"},"modified":"2020-02-08T05:58:15","modified_gmt":"2020-02-07T21:58:15","slug":"%e6%9c%89%e4%ba%ba%e5%9c%a8%e7%94%a8%e5%9f%ba%e4%ba%8e-python2-7-%e7%9a%84-moinmoinwiki-%e5%90%97%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=88183","title":{"rendered":"\u6709\u4eba\u5728\u7528\u57fa\u4e8e python2.7 \u7684 moinmoinwiki \u5417\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u6709\u4eba\u5728\u7528\u57fa\u4e8e python2.7 \u7684 moinmoinwiki \u5417\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : crella <\/span>  <span><i><\/i> 26<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u5728\u7528 dokuwiki\uff0c\u603b\u662f\u89c9\u5f97\u6709\u70b9\u4e0d\u65b9\u4fbf\uff0c\u4e8e\u662f\u4f7f\u7528 dokuwiki \u3002<\/p>\n<p>\u7528 python3.7 \u8fd0\u884c moin\/wikiserver.py \uff0c \u62a5\u9519:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/05\/20200517_5ec11382d0b03.jpg\" alt=\"\u6709\u4eba\u5728\u7528\u57fa\u4e8e python2.7 \u7684 moinmoinwiki \u5417\uff1f\" \/><\/p>\n<p>\u770b\u8fd9\u4e2a\u8bed\u6cd5\u95ee\u9898\uff0c\u5e94\u8be5\u662f\u8981\u7528 python2 \u8fd0\u884c\u800c\u4e0d\u80fd\u7528 python3 \u3002\u5728 http:\/\/www.moinmo.in\/HelpOnUpdatingPython \u91cc\u63d0\u5230 The default installation process (setup.py) installed the MoinMoin files into the site-packages directory of the current Python installation (for example \/usr\/lib\/python2.4\/site-packages).<\/p>\n<p>\u9694\u58c1 dokuwiki \u7528 php7\uff0c\u9875\u9762\u9876\u90e8\u6709\u62a5\u9519\u8bef\u4fe1\u606f\uff0c\u597d\u50cf\u9664\u4e86\u5076\u5c14\u4e22\u5931\u7f16\u8f91\u5de5\u5177\u680f\u7684\u56fe\u6807\u4e4b\u5916\u6ca1\u6709\u5927\u7684 bug \u3002\u6700\u65b0\u7248\u672c\u662f 2018 \u5e74\u53d1\u5e03\u7684\u3002\u800c moinmoinwiki \u4e5f\u662f 2018 \u5e74\u53d1\u5e03\u3002\u770b\u7f51\u4e0a\u597d\u50cf\u6ca1\u4ec0\u4e48\u4eba\u63a8\u8350\u7528 python2.X \u4e86\uff0c\u597d\u5947\u6211\u8fd8\u5e94\u8be5\u8f6c\u7528 moinmoinwiki \u5417\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>3<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1134955\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : julyclyde <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u8fd9\u4e2a\u8bed\u6cd5\u8c8c\u4f3c 2.6 \u7684\uff1f<\/p>\n<p>https:\/\/docs.python.org\/2\/tutorial\/errors.html#handling-exceptions                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1134956\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : julyclyde <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             except ValueError, e: was the syntax used for what is normally written as except ValueError as e: in modern Python (described below). The old syntax is still supported for backwards compatibility                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1134957\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : crella <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u66f4\u65b0\u4e00\u4e0b\uff1a<\/p>\n<p>1 \u3001\u201c\u5728\u7528 dokuwiki\uff0c\u603b\u662f\u89c9\u5f97\u6709\u70b9\u4e0d\u65b9\u4fbf\uff0c\u4e8e\u662f\u4f7f\u7528 dokuwiki \u3002\u201d\u6539\u4e3a\uff1a\u4e8e\u662f\u8bd5\u7528 moinwiki \u3002<\/p>\n<p>2 \u3001dokuwiki \u8fd0\u884c\u5728 php7.3 \u4e0a\uff0c\u76ee\u524d\u6ca1\u53d1\u73b0\u4efb\u4f55\u95ee\u9898\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u4eba\u5728\u7528\u57fa\u4e8e python2.7 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/88183"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=88183"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/88183\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=88183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=88183"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=88183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}