{"id":431,"date":"2014-07-05T14:46:41","date_gmt":"2014-07-05T14:46:41","guid":{"rendered":"http:\/\/ixyzero.com\/blog\/?p=431"},"modified":"2014-07-05T14:46:41","modified_gmt":"2014-07-05T14:46:41","slug":"todopython%e5%ba%93%e7%9a%84%e5%ad%a6%e4%b9%a0%e8%ae%a1%e5%88%92%e4%b8%80%e4%ba%9b%e5%a5%bd%e7%94%a8%e7%9a%84%e5%ba%93","status":"publish","type":"post","link":"https:\/\/ixyzero.com\/blog\/archives\/431.html","title":{"rendered":"[todo]Python\u5e93\u7684\u5b66\u4e60\u8ba1\u5212&amp;\u4e00\u4e9b\u597d\u7528\u7684\u5e93"},"content":{"rendered":"<p>\u56e0\u4e3aPython\u63a5\u89e6\u7684\u65f6\u95f4\u8fd8\u4e0d\u7b97\u592a\u957f\uff0c\u4ee3\u7801\u4e5f\u5199\u5f97\u4e0d\u591a\uff08\u53c2\u8003\u522b\u4eba\u4ee3\u7801\u5c45\u591a\uff09\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u4e00\u65b9\u9762\u60f3\u6cd5\u4e0d\u7b97\u591a\uff0c\u53e6\u4e00\u65b9\u9762\u5bf9Python\u7684\u5e93\u7684\u4e86\u89e3\u4e5f\u4e0d\u591f\u591a&amp;\u6df1\u5165\uff0c\u6240\u4ee5\u8fd9\u65b9\u9762\u6709\u6240\u6b20\u7f3a\uff0c\u4e0d\u8fc7\uff0c\u51c6\u5907\u8d81\u7740\u8fd9\u6bb5\u4e0d\u591a\u7684\u95f2\u6687\u65f6\u5149\u591a\u5c1d\u8bd5\u4e00\u4e0bPython\uff0c\u6bd5\u7adf&#8212;\u4eba\u751f\u82e6\u77ed\u554a\uff01<\/p>\n<p style=\"color: #000000;\">\u539f\u6587\u51fa\u5904\uff1a\u00a0<a style=\"color: #0099cc;\" href=\"http:\/\/tmp.devcharm.com\/pages\/python-modules-you-should-know\" target=\"_blank\">Alberto Granzotto<\/a><\/p>\n<p style=\"color: #000000;\">\u8bd1\u6587\u51fa\u5904\uff1a\u00a0<a style=\"color: #0099cc;\" href=\"http:\/\/www.zhidaow.com\/post\/python-modules-you-should-know\" target=\"_blank\">\u5f20\u4e9a\u6960\uff08@\u5f20\u4e9a\u6960alexkh\uff09<\/a>\u3002<\/p>\n<h1 style=\"color: #333333;\">Python \u7a0b\u5e8f\u5458\u5e94\u8be5\u77e5\u9053\u7684 10 \u4e2a\u5e93<\/h1>\n<ul style=\"color: #000000;\">\n<li><a style=\"color: #0099cc;\" href=\"http:\/\/docopt.org\/\" target=\"_blank\">Docopt<\/a>\u3002\u629b\u5f03<code>optparse<\/code>\u548c<code>argparse<\/code>\u5427\uff0c\u4f7f\u7528<code>docstring<\/code>s\u6765\u6784\u5efa\u4f18\u96c5\u7684\uff0c\u53ef\u8bfb\u6027\u5f3a\u7684\uff0c\u5e76\u4e14\u590d\u6742\uff08\u5982\u679c\u4f60\u9700\u8981\u7684\u8bdd\uff09\u7684\u547d\u4ee4\u884c\u754c\u9762\u3002IMO2013\u5e74\u521b\u5efa\u7684\u6700\u597d\u7684\u5e93\u3002<\/li>\n<li><a style=\"color: #0099cc;\" href=\"http:\/\/www.python-requests.org\/en\/latest\/\" target=\"_blank\">Requests<\/a>\uff0c\u6216\u79f0\u4e3a\u4eba\u7c7b\u4f7f\u7528\u7684HTTP\uff0c\u662f\u4e00\u4e2a\u5904\u7406HTTP\u8bf7\u6c42\u66f4\u4e3apythonic \u7684\u65b9\u6cd5\uff0c\u6bd4<code>urllib2<\/code>\u66f4\u66f4\u66f4\u597d\u7528\u3002\u53e3\u7891\u53ef\u89c1\uff0c\u4ed6\u5728PyPI\u4e0a\u4e0b\u8f7d\u5df2\u7ecf\u8d85\u8fc75,000,000\u6b21 :)\u3002<\/li>\n<li><a style=\"color: #0099cc;\" href=\"http:\/\/lxml.de\/\" target=\"_blank\">lxml<\/a>\u662f<code>libxml2<\/code>\u548c<code>libxslt<\/code>\u7684\u5408\u4f53\u3002\u5982\u679c\u4f60\u8981\u5904\u7406XML\u6216HTML\uff0clxml\u662f\u6700\u597d\u7684\u9009\u62e9\u3002<\/li>\n<li><a style=\"color: #0099cc;\" href=\"http:\/\/bottlepy.org\/docs\/dev\/\" target=\"_blank\">Bottle<\/a>\u662f\u4e00\u4e2a\u5feb\u901f\uff0c\u7b80\u5355\uff0c\u8f7b\u91cf\u7ea7\u7684WSGI\u5fae\u578bweb\u6846\u67b6\u3002\u51e0\u79d2\u5185\u5c31\u80fd\u6784\u5efa\u5c0f\u578b\u7ad9\u70b9\u548cAPIs\u3002\u6240\u6709\u7684\u6846\u67b6\u53ea\u6709\u4e00\u4e2a<code>py<\/code>\u6587\u4ef6\uff0c\u4f60\u751a\u81f3\u53ef\u4ee5\u653e\u8fdb\u4efb\u610f\u76ee\u5f55\u3002<\/li>\n<li><a style=\"color: #0099cc;\" href=\"http:\/\/amoffat.github.io\/sh\/\" target=\"_blank\">sh<\/a>\u662f\u4e00\u4e2a\u6210\u719f\u7684Python\u5b50\u8fdb\u7a0b\u754c\u9762\u5de5\u5177\uff0c\u5141\u8bb8\u4f60\u50cf\u8fd0\u884c\u51fd\u6570\u4e00\u6837\u8fd0\u884c\u4efb\u4f55\u7a0b\u5e8f\u3002\u8d85\u7ea7\u597d\u7528\u3002<\/li>\n<li><a style=\"color: #0099cc;\" href=\"http:\/\/www.structlog.org\/en\/0.4.0\/\" target=\"_blank\">Structlog<\/a>\u662f\u4e00\u4e2a\u5148\u8fdb\u7684\u65e5\u5fd7\u8bb0\u5f55\u5904\u7406\u5668\u3002\u4ed6\u96c6\u6210\u4e86\u591a\u4e2a\u73b0\u5b58\u7684\u65e5\u5fd7\u8bb0\u5f55\u5de5\u5177\uff0c\u5305\u542b\u4e86Python\u6807\u51c6\u5e93\u3002\u4f60\u53ef\u4ee5\u521b\u5efa\u666e\u901a\u8bb0\u5f55\u5668\uff0c\u6309\u4f60\u6240\u60f3\u589e\u52a0\u5185\u5bb9\uff0c\u4f7f\u4f60\u7684\u65e5\u5fd7\u62e5\u6709\u6301\u4e45\u6027\u548c\u53ef\u8bfb\u6027\u3002<\/li>\n<li><a style=\"color: #0099cc;\" href=\"http:\/\/pythonhosted.org\/watchdog\/\" target=\"_blank\">Watchdog<\/a>\u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u7684Python\u5e93\u548cshell\u5de5\u5177\uff0c\u53ef\u4ee5\u76d1\u89c6\u6587\u4ef6\u7cfb\u7edf\u4e8b\u4ef6\u3002\u8d85\u7ea7\u597d\u7528\uff0c\u5e76\u4e14\u5bb9\u6613\u4e0a\u624b\u3002<\/li>\n<li><a style=\"color: #0099cc;\" href=\"http:\/\/delorean.readthedocs.org\/en\/latest\/\" target=\"_blank\">Delorean<\/a>\u53ef\u4ee5\u662f\u4f60\u7528\u975e\u5e38\u65b9\u4fbf\u7684\u65b9\u6cd5\u6765\u5904\u7406\u6570\u636e\u548c\u65f6\u95f4\u3002\u8bbe\u7f6e\u65f6\u533a\uff0c\u622a\u53d6\u5230\u79d2\uff0c\u5206\uff0c\u5c0f\u65f6\uff0c\u6216\u8005\u751a\u81f3\u4f7f\u7528\u7279\u6b8a\u65b9\u6cd5\u4ece\u4e00\u4e2a\u6570\u636e\u8fed\u4ee3\u5230\u53e6\u4e00\u4e2a\u3002\u6d4f\u89c8\u4e0b\u6587\u6863\uff0c\u91cc\u9762\u6709\u5f88\u591a\u793a\u4f8b\u3002<\/li>\n<\/ul>\n<h2 id=\"_1\" style=\"color: #000000;\">\u9644\u8d60<\/h2>\n<ul style=\"color: #000000;\">\n<li><a style=\"color: #0099cc;\" href=\"https:\/\/github.com\/berdario\/invewrapper\" target=\"_blank\">PEW<\/a>\u3002\u6211\u662f\u4e00\u4e2a\u6708\u524d\u53d1\u73b0\u8fd9\u4e2a\u9879\u76ee\uff0c\u5e76\u5df2\u559c\u6b22\u4e0a\u4e86\u3002PEW\u662f\u4e00\u5957\u7ba1\u7406\u591a\u4e2a\u865a\u62df\u73af\u5883\u7684\u5de5\u5177\uff0c\u5728bash\uff0czsh\uff0cfish\u548cpowershell\u4e0a\u5b8c\u7f8e\u8fd0\u884c\u3002\u53bb\u8bd5\u8bd5\u5427\u3002<\/li>\n<li><a style=\"color: #0099cc;\" href=\"http:\/\/python-history.blogspot.de\/2010\/06\/import-antigravity.html\" target=\"_blank\">antigravity<\/a>\u3002\u8fd0\u884c\u4e00\u4e2aPython shell(\u7248\u672c&gt;=2.7)\uff0c\u7136\u540e\u8f93\u5165<code>import antigravity<\/code>\u3002<\/li>\n<\/ul>\n<p style=\"color: #000000;\">\u7531<a style=\"color: #0099cc;\" href=\"https:\/\/twitter.com\/vrde\" target=\"_blank\">Alberto Granzotto<\/a>\u5217\u4e3e\uff0c2013\u5e7411\u670815\u65e5\uff0c\u4fdd\u5b58\u5728<code>\/culture<\/code>\u3002<\/p>\n<p style=\"color: #000000;\">&#8212;&#8212;&#8212;-<\/p>\n<p style=\"color: #000000;\">\u51c6\u5907\u6709\u65f6\u95f4\u7684\u65f6\u5019\u5c31\u6bcf\u5929\u5c1d\u8bd5\u4e00\u4e2a\u5e93\u7684\u4f7f\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u56e0\u4e3aPython\u63a5\u89e6\u7684\u65f6\u95f4\u8fd8\u4e0d\u7b97\u592a\u957f\uff0c\u4ee3\u7801\u4e5f\u5199\u5f97\u4e0d\u591a\uff08\u53c2\u8003\u522b\u4eba\u4ee3\u7801\u5c45\u591a\uff09\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u4e00\u65b9\u9762\u60f3\u6cd5\u4e0d\u7b97\u591a\uff0c\u53e6\u4e00\u65b9\u9762 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,12],"tags":[8],"class_list":["post-431","post","type-post","status-publish","format-standard","hentry","category-programing","category-tools","tag-python"],"views":1941,"_links":{"self":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/comments?post=431"}],"version-history":[{"count":0,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/431\/revisions"}],"wp:attachment":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/media?parent=431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/categories?post=431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/tags?post=431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}